Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

enum System.Reflection.FieldAttributes

Assembly: System.Runtime

Specifies flags that describe the attributes of a field.

Values

PrivateScope
Specifies that the field cannot be referenced.
Private
Specifies that the field is accessible only by the parent type.
FamANDAssem
Specifies that the field is accessible only by subtypes in this assembly.
Assembly
Specifies that the field is accessible throughout the assembly.
Family
Specifies that the field is accessible only by type and subtypes.
FamORAssem
Specifies that the field is accessible by subtypes anywhere, as well as throughout this assembly.
Public
Specifies that the field is accessible by any member for whom this scope is visible.
FieldAccessMask
Specifies the access level of a given field.
Static
Specifies that the field represents the defined type, or else it is per-instance.
InitOnly
Specifies that the field is initialized only, and can be set only in the body of a constructor.
Literal
Specifies that the field's value is a compile-time (static or early bound) constant. Any attempt to set it throws a <see cref="T:System.FieldAccessException" /> .
NotSerialized
Specifies that the field does not have to be serialized when the type is remoted.
HasFieldRVA
Specifies that the field has a relative virtual address (RVA). The RVA is the location of the method body in the current image, as an address relative to the start of the image file in which it is located.
SpecialName
Specifies a special method, with the name describing how the method is special.
RTSpecialName
Specifies that the common language runtime (metadata internal APIs) should check the name encoding.
HasFieldMarshal
Specifies that the field has marshaling information.
PinvokeImpl
Reserved for future use.
HasDefault
Specifies that the field has a default value.
ReservedMask
Reserved.