FieldRefDeclaration Properties |
The FieldRefDeclaration type exposes the following members.
Name | Description | |
---|---|---|
Attributes |
Gets the field attributes.
| |
CustomDebuggingInformation | (Inherited from Declaration.) | |
DeclaringType |
Gets the declaring IType.
(Inherited from MemberRefDeclaration.) | |
FieldType |
Gets or sets the type of the referenced field.
| |
IsConst |
Determines whether the field is constant (i.e. literal).
| |
IsOriginal |
Determines whether the current declaration existed in the source assembly.
(Inherited from MetadataDeclaration.) | |
IsReadOnly |
Determines whether the field is read-only (i.e. init only).
| |
IsStatic |
Determines whether the current member is static.
| |
MetadataToken |
Gets or sets the token of the current declaration.
(Inherited from MetadataDeclaration.) | |
Name |
Gets or sets the name of the current declaration.
(Inherited from NamedMetadataDeclaration.) | |
OriginalDeclaration |
When the declaration represents another declaration in the source assembly, this property refers to this declaration.
When using GetReflectionObject(Type[], Type[], BindingOptions), the original declaration should actually be retrieved.
(Inherited from MetadataDeclaration.) | |
OriginalName | (Inherited from NamedMetadataDeclaration.) | |
ParentMember |
Gets the parent member of the current declaration.
(Overrides MetadataDeclaration.ParentMember.) | |
ParentType |
Gets the parent type of the current declaration.
(Overrides MetadataDeclaration.ParentType.) | |
Visibility |
Gets the Visibility of the current member.
|