|
IKVM11
11
Java SE 11 Virtual Machine for .NET
|
Discovers the attributes of a field and provides access to field metadata. More...
Public Member Functions | |
| object? | GetRawConstantValue () |
| Returns a literal value associated with the field by a compiler. | |
| ITypeSymbol[] | GetOptionalCustomModifiers () |
| Gets an array of types that identify the optional custom modifiers of the field. | |
| ITypeSymbol[] | GetRequiredCustomModifiers () |
| Gets an array of types that identify the required custom modifiers of the property. | |
Public Member Functions inherited from IKVM.CoreLib.Symbols.ICustomAttributeSymbolProvider | |
| ImmutableArray< CustomAttributeSymbol > | GetCustomAttributes () |
| Returns an array of all of the custom attributes defined on this member, excluding named attributes, or an empty array if there are no custom attributes. | |
| ImmutableArray< CustomAttributeSymbol > | GetCustomAttributes (ITypeSymbol attributeType) |
| Returns an array of custom attributes defined on this member, identified by type, or an empty array if there are no custom attributes of that type. | |
| bool | IsDefined (ITypeSymbol attributeType) |
| Indicates whether one or more instance of attributeType is defined on this member. | |
Properties | |
| FieldAttributes | Attributes [get] |
| Gets the attributes associated with this field. | |
| ITypeSymbol | FieldType [get] |
| Gets the type of this field object. | |
| bool | IsAssembly [get] |
| Gets a value indicating whether the potential visibility of this field is described by FieldAttributes.Assembly; that is, the field is visible at most to other types in the same assembly, and is not visible to derived types outside the assembly. | |
| bool | IsFamily [get] |
| Gets a value indicating whether the visibility of this field is described by FieldAttributes.Family; that is, the field is visible only within its class and derived classes. | |
| bool | IsFamilyAndAssembly [get] |
| Gets a value indicating whether the visibility of this field is described by FieldAttributes.FamANDAssem; that is, the field can be accessed from derived classes, but only if they are in the same assembly. | |
| bool | IsFamilyOrAssembly [get] |
| Gets a value indicating whether the potential visibility of this field is described by FieldAttributes.FamORAssem; that is, the field can be accessed by derived classes wherever they are, and by classes in the same assembly. | |
| bool | IsInitOnly [get] |
| Gets a value indicating whether the field can only be set in the body of the constructor. | |
| bool | IsLiteral [get] |
| Gets a value indicating whether the value is written at compile time and cannot be changed. | |
| bool | IsNotSerialized [get] |
| Gets a value indicating whether this field has the NotSerialized attribute. | |
| bool | IsPinvokeImpl [get] |
| Gets a value indicating whether the corresponding PinvokeImpl attribute is set in FieldAttributes. | |
| bool | IsPrivate [get] |
| Gets a value indicating whether the field is private. | |
| bool | IsPublic [get] |
| Gets a value indicating whether the field is public. | |
| bool | IsSpecialName [get] |
| Gets a value indicating whether the corresponding SpecialName attribute is set in the FieldAttributes enumerator. | |
| bool | IsStatic [get] |
| Gets a value indicating whether the field is static. | |
Properties inherited from IKVM.CoreLib.Symbols.IMemberSymbol | |
| IModuleSymbol | Module [get] |
| Gets the module in which the type that declares the member represented by the current is defined. | |
| ITypeSymbol? | DeclaringType [get] |
| Gets the class that declares this member. | |
| MemberTypes | MemberType [get] |
| When overridden in a derived class, gets a value indicating the type of the member - method, constructor, event, and so on. | |
| int | MetadataToken [get] |
| Gets a value that identifies a metadata element. | |
| string | Name [get] |
| Gets the name of the current member. | |
Properties inherited from IKVM.CoreLib.Symbols.ISymbol | |
| bool | IsMissing [get] |
Returns true if the symbol is missing. | |
Discovers the attributes of a field and provides access to field metadata.
Definition at line 9 of file IFieldSymbol.cs.
| ITypeSymbol[] IKVM.CoreLib.Symbols.IFieldSymbol.GetOptionalCustomModifiers | ( | ) |
Gets an array of types that identify the optional custom modifiers of the field.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionFieldSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionFieldSymbol.
| object? IKVM.CoreLib.Symbols.IFieldSymbol.GetRawConstantValue | ( | ) |
Returns a literal value associated with the field by a compiler.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionFieldSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionFieldSymbol.
| ITypeSymbol[] IKVM.CoreLib.Symbols.IFieldSymbol.GetRequiredCustomModifiers | ( | ) |
Gets an array of types that identify the required custom modifiers of the property.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionFieldSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionFieldSymbol.
|
get |
Gets the attributes associated with this field.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionFieldSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionFieldSymbol.
Definition at line 15 of file IFieldSymbol.cs.
|
get |
Gets the type of this field object.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionFieldSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionFieldSymbol.
Definition at line 20 of file IFieldSymbol.cs.
|
get |
Gets a value indicating whether the potential visibility of this field is described by FieldAttributes.Assembly; that is, the field is visible at most to other types in the same assembly, and is not visible to derived types outside the assembly.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionFieldSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionFieldSymbol.
Definition at line 25 of file IFieldSymbol.cs.
|
get |
Gets a value indicating whether the visibility of this field is described by FieldAttributes.Family; that is, the field is visible only within its class and derived classes.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionFieldSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionFieldSymbol.
Definition at line 30 of file IFieldSymbol.cs.
|
get |
Gets a value indicating whether the visibility of this field is described by FieldAttributes.FamANDAssem; that is, the field can be accessed from derived classes, but only if they are in the same assembly.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionFieldSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionFieldSymbol.
Definition at line 35 of file IFieldSymbol.cs.
|
get |
Gets a value indicating whether the potential visibility of this field is described by FieldAttributes.FamORAssem; that is, the field can be accessed by derived classes wherever they are, and by classes in the same assembly.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionFieldSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionFieldSymbol.
Definition at line 40 of file IFieldSymbol.cs.
|
get |
Gets a value indicating whether the field can only be set in the body of the constructor.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionFieldSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionFieldSymbol.
Definition at line 45 of file IFieldSymbol.cs.
|
get |
Gets a value indicating whether the value is written at compile time and cannot be changed.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionFieldSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionFieldSymbol.
Definition at line 50 of file IFieldSymbol.cs.
|
get |
Gets a value indicating whether this field has the NotSerialized attribute.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionFieldSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionFieldSymbol.
Definition at line 55 of file IFieldSymbol.cs.
|
get |
Gets a value indicating whether the corresponding PinvokeImpl attribute is set in FieldAttributes.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionFieldSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionFieldSymbol.
Definition at line 60 of file IFieldSymbol.cs.
|
get |
Gets a value indicating whether the field is private.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionFieldSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionFieldSymbol.
Definition at line 65 of file IFieldSymbol.cs.
|
get |
Gets a value indicating whether the field is public.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionFieldSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionFieldSymbol.
Definition at line 70 of file IFieldSymbol.cs.
|
get |
Gets a value indicating whether the corresponding SpecialName attribute is set in the FieldAttributes enumerator.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionFieldSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionFieldSymbol.
Definition at line 75 of file IFieldSymbol.cs.
|
get |
Gets a value indicating whether the field is static.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionFieldSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionFieldSymbol.
Definition at line 80 of file IFieldSymbol.cs.