IFieldDefinition Interface
Provides the base requirements of a field definition.
public interface IFieldDefinition : IReflectionDefinition
Properties
DeclaringModule
Gets the reference to the module in which the field is declared.
IModuleReference DeclaringModule { get; }
Property Value
- IModuleReference:
The reference to the module in which the field is declared.
DeclaringType
Gets the declaring type.
Docstring
Gets the docstring for the field.
string Docstring { get; }
Property Value
- System.String:
The docstring for the field.
IsPublic
Gets whether the field is public.
bool IsPublic { get; }
Property Value
- System.Boolean:
true
if the field is public; otherwise,false
.
IsStatic
Gets whether the field is static.
bool IsStatic { get; }
Property Value
- System.Boolean:
true
if the field is static; otherwise,false
.
Type
Gets a ITypeDefinition indicating the field type, if known.
ITypeDefinition Type { get; }
Property Value
- ITypeDefinition:
A ITypeDefinition indicating the field type, if known.
TypeExpressionTextRange
Gets the field type expression TextRange.
TextRange TypeExpressionTextRange { get; }