Declaration
Gets the declaration to which the contract was added. When the contracted is added to a field, returns the IProperty that the field has been transformed into.
Declaration
T Declaration { get; }
Property Value
Type | Description |
---|---|
T |
IAddContractAdviceResult<T>
IAddInitializerAdviceResult
IClassIntroductionAdviceResult
IImplementInterfaceAdviceResult
IInterfaceImplementationAdviser
IInterfaceImplementationResult
IInterfaceMemberImplementationResult
IIntroductionAdviceResult<T>
INamespaceIntroductionAdviceResult
InterfaceImplementationAdviserExtensions
InterfaceImplementationOutcome
InterfaceMemberImplementationOutcome
Metalama.Framework.Code.Collections
Metalama.Framework.Code.Comparers
Metalama.Framework.Code.DeclarationBuilders
Metalama.Framework.Code.Invokers
Metalama.Framework.Code.SyntaxBuilders
Metalama.Framework.Code.Types
Metalama.Framework.CodeFixes
Metalama.Framework.Diagnostics
Metalama.Framework.Eligibility
Metalama.Framework.Serialization
Gets the declaration to which the contract was added. When the contracted is added to a field, returns the IProperty that the field has been transformed into.
T Declaration { get; }
Type | Description |
---|---|
T |