FieldDefinition Class |
Namespace: Mono.Cecil
public sealed class FieldDefinition : FieldReference, IMemberDefinition, ICustomAttributeProvider, IMetadataTokenProvider, IConstantProvider, IMarshalInfoProvider
The FieldDefinition type exposes the following members.
Name | Description | |
---|---|---|
FieldDefinition | Initializes a new instance of the FieldDefinition class |
Name | Description | |
---|---|---|
Attributes | ||
Constant | ||
CustomAttributes | ||
DeclaringType | ||
FieldType | (Inherited from FieldReference.) | |
FullName | (Inherited from FieldReference.) | |
HasConstant | ||
HasCustomAttributes | ||
HasDefault | ||
HasLayoutInfo | ||
HasMarshalInfo | ||
InitialValue | ||
IsAssembly | ||
IsCompilerControlled | ||
IsDefinition | (Overrides MemberReferenceIsDefinition.) | |
IsFamily | ||
IsFamilyAndAssembly | ||
IsFamilyOrAssembly | ||
IsInitOnly | ||
IsLiteral | ||
IsNotSerialized | ||
IsPInvokeImpl | ||
IsPrivate | ||
IsPublic | ||
IsRuntimeSpecialName | ||
IsSpecialName | ||
IsStatic | ||
MarshalInfo | ||
MetadataToken | (Inherited from MemberReference.) | |
Module | (Inherited from MemberReference.) | |
Name | (Inherited from MemberReference.) | |
Offset | ||
RVA |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Resolve | (Overrides FieldReferenceResolve.) | |
ToString | (Inherited from MemberReference.) |
Name | Description | |
---|---|---|
GetCategory |
Get the category name (field, method, etc).
(Defined by MemberReferenceUtil.) | |
GetCustomAttribute |
Get the custom attribute with the specified name from the ICustomAttributeProvider. If there are multiple attributes with the name, the first one is returned.
(Defined by ICustomAttributeProviderUtil.) | |
GetCustomAttributes |
Get all custom attributes with the specified name from the ICustomAttributeProvider.
(Defined by ICustomAttributeProviderUtil.) | |
GetFullName |
Get the full name of the type or member, including the namespace name.
(Defined by MemberReferenceUtil.) | |
HasCustomAttribute |
Determine if the ICustomAttributeProvider has a custom attribute.
(Defined by ICustomAttributeProviderUtil.) | |
HasDynamicType |
Determine if the member has a dynamic type.
(Defined by ICustomAttributeProviderUtil.) |