|
IKVM11
11
Java SE 11 Virtual Machine for .NET
|
Public Member Functions | |
| IkvmReflectionFieldSymbol (IkvmReflectionSymbolContext context, IkvmReflectionTypeSymbol type, FieldInfo underlyingField) | |
| Initializes a new instance. | |
| ITypeSymbol[] | GetOptionalCustomModifiers () |
| Gets an array of types that identify the optional custom modifiers of the field. | |
| object? | GetRawConstantValue () |
| Returns a literal value associated with the field by a compiler. | |
| ITypeSymbol[] | GetRequiredCustomModifiers () |
| Gets an array of types that identify the required custom modifiers of the property. | |
Public Member Functions inherited from IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMemberSymbol | |
| IkvmReflectionMemberSymbol (IkvmReflectionSymbolContext context, IkvmReflectionModuleSymbol module, IkvmReflectionTypeSymbol? 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.IkvmReflection.IkvmReflectionSymbol | |
| IkvmReflectionSymbol (IkvmReflectionSymbolContext context) | |
| Initializes a new instance. | |
Public Member Functions inherited from IKVM.CoreLib.Symbols.ICustomAttributeSymbolProvider | |
Public Member Functions inherited from IKVM.CoreLib.Symbols.IFieldSymbol | |
Properties | |
| global::System.Reflection.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.IkvmReflection.IkvmReflectionMemberSymbol | |
| virtual ? ITypeSymbol | DeclaringType [get] |
| Gets the class that declares this member. | |
| virtual global::System.Reflection.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 IModuleSymbol | Module [get] |
| Gets the module in which the type that declares the member represented by the current is defined. | |
| virtual string | Name [get] |
| Gets the name of the current member. | |
| override bool | IsMissing [get] |
Returns true if the symbol is missing. | |
Properties inherited from IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionSymbol | |
| IkvmReflectionSymbolContext | Context [get] |
| Gets the associated IkvmReflectionSymbolContext. | |
| 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.IkvmReflection.IkvmReflectionSymbol | |
| virtual IkvmReflectionMemberSymbol | ResolveMemberSymbol (MemberInfo member) |
| Resolves the symbol for the specified type. | |
Package Functions inherited from IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionMemberSymbol | |
Package Functions inherited from IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionSymbol | |
Definition at line 8 of file IkvmReflectionFieldSymbol.cs.
| IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionFieldSymbol.IkvmReflectionFieldSymbol | ( | IkvmReflectionSymbolContext | context, |
| IkvmReflectionTypeSymbol | type, | ||
| FieldInfo | underlyingField ) |
Initializes a new instance.
| context | |
| type | |
| underlyingField |
Definition at line 19 of file IkvmReflectionFieldSymbol.cs.
| ITypeSymbol[] IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionFieldSymbol.GetOptionalCustomModifiers | ( | ) |
Gets an array of types that identify the optional custom modifiers of the field.
Implements IKVM.CoreLib.Symbols.IFieldSymbol.
Definition at line 57 of file IkvmReflectionFieldSymbol.cs.
| object? IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionFieldSymbol.GetRawConstantValue | ( | ) |
Returns a literal value associated with the field by a compiler.
Implements IKVM.CoreLib.Symbols.IFieldSymbol.
Definition at line 62 of file IkvmReflectionFieldSymbol.cs.
| ITypeSymbol[] IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionFieldSymbol.GetRequiredCustomModifiers | ( | ) |
Gets an array of types that identify the required custom modifiers of the property.
Implements IKVM.CoreLib.Symbols.IFieldSymbol.
Definition at line 67 of file IkvmReflectionFieldSymbol.cs.
|
get |
Gets the attributes associated with this field.
Implements IKVM.CoreLib.Symbols.IFieldSymbol.
Definition at line 27 of file IkvmReflectionFieldSymbol.cs.
|
get |
Gets the type of this field object.
Implements IKVM.CoreLib.Symbols.IFieldSymbol.
Definition at line 29 of file IkvmReflectionFieldSymbol.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 31 of file IkvmReflectionFieldSymbol.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 33 of file IkvmReflectionFieldSymbol.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 35 of file IkvmReflectionFieldSymbol.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 37 of file IkvmReflectionFieldSymbol.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 39 of file IkvmReflectionFieldSymbol.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 41 of file IkvmReflectionFieldSymbol.cs.
|
get |
Gets a value indicating whether this field has the NotSerialized attribute.
Implements IKVM.CoreLib.Symbols.IFieldSymbol.
Definition at line 44 of file IkvmReflectionFieldSymbol.cs.
|
get |
Gets a value indicating whether the corresponding PinvokeImpl attribute is set in FieldAttributes.
Implements IKVM.CoreLib.Symbols.IFieldSymbol.
Definition at line 47 of file IkvmReflectionFieldSymbol.cs.
|
get |
Gets a value indicating whether the field is private.
Implements IKVM.CoreLib.Symbols.IFieldSymbol.
Definition at line 49 of file IkvmReflectionFieldSymbol.cs.
|
get |
Gets a value indicating whether the field is public.
Implements IKVM.CoreLib.Symbols.IFieldSymbol.
Definition at line 51 of file IkvmReflectionFieldSymbol.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 53 of file IkvmReflectionFieldSymbol.cs.
|
get |
Gets a value indicating whether the field is static.
Implements IKVM.CoreLib.Symbols.IFieldSymbol.
Definition at line 55 of file IkvmReflectionFieldSymbol.cs.