Interface IMemberOrNamedType
Base interface for IMethod, IFieldOrPropertyOrIndexer, IEvent, and INamedType.
Namespace: Metalama.Framework.Code
Assembly: Metalama.Framework.dll
Syntax
public interface IMemberOrNamedType : INamedDeclaration, IDeclaration, IDisplayable, IDiagnosticLocation, ICompilationElement, IMeasurable
Properties
Name | Description |
---|---|
Accessibility | Gets the member accessibility (or visibility), i.e. Private, Protected and so on. |
DeclaringType | Gets the type containing the current member, or |
ExecutionScope | Gets a value indicating whether the declaration executes at compile time, at run time, or both. |
IsAbstract | |
IsNew | Gets a value indicating whether the member is |
IsSealed | Gets a value indicating whether the member is |
IsStatic | Gets a value indicating whether the member is |
Methods
Name | Description |
---|---|
ToMemberInfo() | Gets a MemberInfo that represents the current member at run time. |