Open sandboxFocus

Interface IProperty

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, IEquatable<IDeclaration>, 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.

OriginalField

Gets the IField from which the current property was generated. This property returns null in compilations in which the field has already been transformed into a property. It returns non-null only if the field is being transformed into a property. The opposite side of this relationship is the OverridingProperty of the IProperty interface.

OverriddenProperty

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

Methods

Name Description
ToRef()

Extension Methods

See Also