MetalamaAPI documentationAspect APIMetalama.​Framework.​CodeIProperty
Open sandboxFocus

IProperty Interface

Represents a property.

Namespace: Metalama.Framework.Code
Assembly: Metalama.Framework.dll
Syntax
public interface IProperty : IFieldOrProperty, IFieldOrPropertyInvoker, IExpression, IPropertyOrIndexer, IFieldOrPropertyOrIndexer, IHasAccessors, IMember, IMemberOrNamedType, INamedDeclaration, IDeclaration, IDisplayable, IDiagnosticLocation, ICompilationElement, IMeasurable, IHasType

Properties

Name Description
Definition

Gets the definition of the property. If the current declaration is a property of a generic type instance, this returns the property in the generic type definition. Otherwise, it returns the current instance.

ExplicitInterfaceImplementations

Gets a list of interface properties this property explicitly implements.

OverriddenProperty

Gets the base property that is overridden by the current property.

Extension Methods

GenericExtensions.GetOriginalDefinition(IProperty)
GenericExtensions.ForTypeInstance(IProperty, INamedType)
SymbolExtensions.GetSymbol(IProperty)

See Also