Represents a field. Note that fields can be promoted to properties by aspects.
Namespace: Metalama.Framework.Code
Assembly: Metalama.Framework.dll
Syntax
public interface IField : IFieldOrProperty, IFieldOrPropertyOrIndexer, IHasAccessors, IMember, IMemberOrNamedType, INamedDeclaration, IDeclaration, IDisplayable, IDiagnosticLocation, ICompilationElement, IMeasurable, IEquatable<IDeclaration>, IFieldOrPropertyInvoker, IExpression, IHasType
Properties
Name | Description |
---|---|
ConstantValue | Gets the value of the field, if the field is a |
Definition | Gets the definition of the field. If the current declaration is a field of a generic type instance, this returns the field in the generic type definition. Otherwise, it returns the current instance. |
Methods
Name | Description |
---|---|
ToFieldInfo() | |
ToRef() |