Represents an extension block.
Namespace: Metalama.Framework.Code
Assembly: Metalama.Framework.dll
Syntax
public interface IExtensionBlock : INamedType, IType, IEquatable<IType>, IGeneric, IMemberOrNamedType, INamespaceOrNamedType, INamedDeclaration, IDeclaration, IDisplayable, IDiagnosticLocation, ICompilationElement, IMeasurable, IEquatable<IDeclaration>, IEquatable<INamedType>Properties
| Name | Description |
|---|---|
| DeclaringType | Gets the type containing the current extension block. |
| ReceiverParameter | Gets the receiver parameter, i.e. the parameter of the |
| ReceiverType | Gets the receiver type, i.e. the type "extended" by the current block, i.e. also the type of the ReceiverParameter. |
Methods
| Name | Description |
|---|---|
| ToRef() | Gets a reference that can be used to identify the current declaration across different compilation versions. |