Metalama//API Documentation/Aspect API/Metalama.​Framework.​Code/IMember
Open sandboxFocus

Interface IMember

Base interface for IMethod, IFieldOrProperty, IEvent, but not INamedType.

Namespace: Metalama.Framework.Code
Assembly: Metalama.Framework.dll
Syntax
public interface IMember : IMemberOrNamedType, INamedDeclaration, IDeclaration, IDisplayable, IDiagnosticLocation, ICompilationElement, IMeasurable

Properties

Name Description
DeclaringType

Gets the type containing the current member.

IsAsync

Gets a value indicating whether the member is async.

IsExplicitInterfaceImplementation

Gets a value indicating whether the member is an explicit implementation of an interface member.

IsOverride

Gets a value indicating whether the member is override.

IsVirtual

Gets a value indicating whether the member is virtual.

Extension Methods

GenericExtensions.GetOriginalDefinition(IMember)
MemberExtensions.IsOverridable(IMember)