|
IKVM11
11
Java SE 11 Virtual Machine for .NET
|
Public Member Functions | |||
| ReflectionFieldSymbol (ReflectionSymbolContext context, ReflectionTypeSymbol type, FieldInfo underlyingField) | |||
| Initializes a new instance. | |||
| 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.
| |||
| object? | GetRawConstantValue () | ||
Returns a literal value associated with the field by a compiler.
| |||
Public Member Functions inherited from IKVM.CoreLib.Symbols.Reflection.ReflectionMemberSymbol | |||
| ReflectionMemberSymbol (ReflectionSymbolContext context, ReflectionModuleSymbol module, ReflectionTypeSymbol? type, MemberInfo underlyingMember) | |||
| Initializes a new instance. | |||
| virtual 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.
| |||
| virtual 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.
| |||
| virtual bool | IsDefined (ITypeSymbol attributeType) | ||
Indicates whether one or more instance of attributeType is defined on this member.
| |||
Public Member Functions inherited from IKVM.CoreLib.Symbols.Reflection.ReflectionSymbol | |||
| ReflectionSymbol (ReflectionSymbolContext context) | |||
| Initializes a new instance. | |||
Public Member Functions inherited from IKVM.CoreLib.Symbols.ICustomAttributeSymbolProvider | |||
Public Member Functions inherited from IKVM.CoreLib.Symbols.IFieldSymbol | |||
Properties | |
| FieldAttributes | Attributes [get] |
| Gets the attributes associated with this field. | |
| ITypeSymbol | FieldType [get] |
| Gets the type of this field object. | |
| bool | IsSpecialName [get] |
| Gets a value indicating whether the corresponding SpecialName attribute is set in the FieldAttributes enumerator. | |
| 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 | IsStatic [get] |
| Gets a value indicating whether the field is static. | |
Properties inherited from IKVM.CoreLib.Symbols.Reflection.ReflectionMemberSymbol | |
| virtual IModuleSymbol | Module [get] |
| Gets the module in which the type that declares the member represented by the current is defined. | |
| virtual ? ITypeSymbol | DeclaringType [get] |
| Gets the class that declares this member. | |
| virtual MemberTypes | MemberType [get] |
| When overridden in a derived class, gets a value indicating the type of the member - method, constructor, event, and so on. | |
| virtual int | MetadataToken [get] |
| Gets a value that identifies a metadata element. | |
| virtual string | Name [get] |
| Gets the name of the current member. | |
Properties inherited from IKVM.CoreLib.Symbols.Reflection.ReflectionSymbol | |
| ReflectionSymbolContext | Context [get] |
| Gets the associated ReflectionSymbolContext. | |
| virtual bool | IsMissing [get] |
Returns true if the symbol is missing. | |
Properties inherited from IKVM.CoreLib.Symbols.ISymbol | |
Properties inherited from IKVM.CoreLib.Symbols.IMemberSymbol | |
Properties inherited from IKVM.CoreLib.Symbols.IFieldSymbol | |
Additional Inherited Members | |
Protected Member Functions inherited from IKVM.CoreLib.Symbols.Reflection.ReflectionSymbol | |
| virtual ReflectionMemberSymbol | ResolveMemberSymbol (MemberInfo member) |
| Resolves the symbol for the specified type. | |
Package Functions inherited from IKVM.CoreLib.Symbols.Reflection.ReflectionMemberSymbol | |
Package Functions inherited from IKVM.CoreLib.Symbols.Reflection.ReflectionSymbol | |
Definition at line 7 of file ReflectionFieldSymbol.cs.
| IKVM.CoreLib.Symbols.Reflection.ReflectionFieldSymbol.ReflectionFieldSymbol | ( | ReflectionSymbolContext | context, |
| ReflectionTypeSymbol | type, | ||
| FieldInfo | underlyingField ) |
Initializes a new instance.
| context | |
| type | |
| underlyingField |
Definition at line 18 of file ReflectionFieldSymbol.cs.
| ITypeSymbol[] IKVM.CoreLib.Symbols.Reflection.ReflectionFieldSymbol.GetOptionalCustomModifiers | ( | ) |
Gets an array of types that identify the optional custom modifiers of the field.
Implements IKVM.CoreLib.Symbols.IFieldSymbol.
Definition at line 74 of file ReflectionFieldSymbol.cs.
| object? IKVM.CoreLib.Symbols.Reflection.ReflectionFieldSymbol.GetRawConstantValue | ( | ) |
Returns a literal value associated with the field by a compiler.
Implements IKVM.CoreLib.Symbols.IFieldSymbol.
Definition at line 86 of file ReflectionFieldSymbol.cs.
| ITypeSymbol[] IKVM.CoreLib.Symbols.Reflection.ReflectionFieldSymbol.GetRequiredCustomModifiers | ( | ) |
Gets an array of types that identify the required custom modifiers of the property.
Implements IKVM.CoreLib.Symbols.IFieldSymbol.
Definition at line 80 of file ReflectionFieldSymbol.cs.
|
get |
Gets the attributes associated with this field.
Implements IKVM.CoreLib.Symbols.IFieldSymbol.
Definition at line 30 of file ReflectionFieldSymbol.cs.
|
get |
Gets the type of this field object.
Implements IKVM.CoreLib.Symbols.IFieldSymbol.
Definition at line 33 of file ReflectionFieldSymbol.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.
Implements IKVM.CoreLib.Symbols.IFieldSymbol.
Definition at line 39 of file ReflectionFieldSymbol.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.
Implements IKVM.CoreLib.Symbols.IFieldSymbol.
Definition at line 42 of file ReflectionFieldSymbol.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.
Implements IKVM.CoreLib.Symbols.IFieldSymbol.
Definition at line 45 of file ReflectionFieldSymbol.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.
Implements IKVM.CoreLib.Symbols.IFieldSymbol.
Definition at line 48 of file ReflectionFieldSymbol.cs.
|
get |
Gets a value indicating whether the field can only be set in the body of the constructor.
Implements IKVM.CoreLib.Symbols.IFieldSymbol.
Definition at line 51 of file ReflectionFieldSymbol.cs.
|
get |
Gets a value indicating whether the value is written at compile time and cannot be changed.
Implements IKVM.CoreLib.Symbols.IFieldSymbol.
Definition at line 54 of file ReflectionFieldSymbol.cs.
|
get |
Gets a value indicating whether this field has the NotSerialized attribute.
Implements IKVM.CoreLib.Symbols.IFieldSymbol.
Definition at line 58 of file ReflectionFieldSymbol.cs.
|
get |
Gets a value indicating whether the corresponding PinvokeImpl attribute is set in FieldAttributes.
Implements IKVM.CoreLib.Symbols.IFieldSymbol.
Definition at line 62 of file ReflectionFieldSymbol.cs.
|
get |
Gets a value indicating whether the field is private.
Implements IKVM.CoreLib.Symbols.IFieldSymbol.
Definition at line 65 of file ReflectionFieldSymbol.cs.
|
get |
Gets a value indicating whether the field is public.
Implements IKVM.CoreLib.Symbols.IFieldSymbol.
Definition at line 68 of file ReflectionFieldSymbol.cs.
|
get |
Gets a value indicating whether the corresponding SpecialName attribute is set in the FieldAttributes enumerator.
Implements IKVM.CoreLib.Symbols.IFieldSymbol.
Definition at line 36 of file ReflectionFieldSymbol.cs.
|
get |
Gets a value indicating whether the field is static.
Implements IKVM.CoreLib.Symbols.IFieldSymbol.
Definition at line 71 of file ReflectionFieldSymbol.cs.