|
IKVM11
11
Java SE 11 Virtual Machine for .NET
|
Public Member Functions | |||
| ReflectionPropertySymbol (ReflectionSymbolContext context, ReflectionTypeSymbol type, PropertyInfo underlyingProperty) | |||
| Initializes a new instance. | |||
| object? | GetRawConstantValue () | ||
Returns a literal value associated with the property by a compiler.
| |||
| IMethodSymbol[] | GetAccessors () | ||
Returns an array whose elements reflect the public get and set accessors of the property reflected by the current instance.
| |||
| IMethodSymbol[] | GetAccessors (bool nonPublic) | ||
Returns an array whose elements reflect the public and, if specified, non-public get and set accessors of the property reflected by the current instance.
| |||
| IParameterSymbol[] | GetIndexParameters () | ||
When overridden in a derived class, returns an array of all the index parameters for the property.
| |||
| IMethodSymbol? | GetGetMethod () | ||
Returns the public get accessor for this property.
| |||
| IMethodSymbol? | GetGetMethod (bool nonPublic) | ||
When overridden in a derived class, returns the public or non-public get accessor for this property.
| |||
| IMethodSymbol? | GetSetMethod () | ||
Returns the public set accessor for this property.
| |||
| IMethodSymbol? | GetSetMethod (bool nonPublic) | ||
When overridden in a derived class, returns the set accessor for this property.
| |||
| ITypeSymbol | GetModifiedPropertyType () | ||
Gets the modified type of this property object.
| |||
| ITypeSymbol[] | GetOptionalCustomModifiers () | ||
Returns an array of types representing the optional custom modifiers of the property.
| |||
| ITypeSymbol[] | GetRequiredCustomModifiers () | ||
Returns an array of types representing the required custom modifiers of the property.
| |||
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.IPropertySymbol | |||
Properties | |
| PropertyAttributes | Attributes [get] |
| Gets the attributes for this property. | |
| bool | CanRead [get] |
| Gets a value indicating whether the property can be read. | |
| bool | CanWrite [get] |
| Gets a value indicating whether the property can be written to. | |
| bool | IsSpecialName [get] |
| Gets a value indicating whether the property is the special name. | |
| ITypeSymbol | PropertyType [get] |
| Gets the type of this property. | |
| IMethodSymbol? | GetMethod [get] |
| Gets the get accessor for this property. | |
| IMethodSymbol? | SetMethod [get] |
| Gets the set accessor for this property. | |
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.IPropertySymbol | |
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 ReflectionPropertySymbol.cs.
| IKVM.CoreLib.Symbols.Reflection.ReflectionPropertySymbol.ReflectionPropertySymbol | ( | ReflectionSymbolContext | context, |
| ReflectionTypeSymbol | type, | ||
| PropertyInfo | underlyingProperty ) |
Initializes a new instance.
| context | |
| type | |
| underlyingProperty |
Definition at line 18 of file ReflectionPropertySymbol.cs.
| IMethodSymbol[] IKVM.CoreLib.Symbols.Reflection.ReflectionPropertySymbol.GetAccessors | ( | ) |
Returns an array whose elements reflect the public get and set accessors of the property reflected by the current instance.
Implements IKVM.CoreLib.Symbols.IPropertySymbol.
Definition at line 57 of file ReflectionPropertySymbol.cs.
| IMethodSymbol[] IKVM.CoreLib.Symbols.Reflection.ReflectionPropertySymbol.GetAccessors | ( | bool | nonPublic | ) |
Returns an array whose elements reflect the public and, if specified, non-public get and set accessors of the property reflected by the current instance.
| nonPublic |
Implements IKVM.CoreLib.Symbols.IPropertySymbol.
Definition at line 63 of file ReflectionPropertySymbol.cs.
| IMethodSymbol? IKVM.CoreLib.Symbols.Reflection.ReflectionPropertySymbol.GetGetMethod | ( | ) |
Returns the public get accessor for this property.
Implements IKVM.CoreLib.Symbols.IPropertySymbol.
Definition at line 75 of file ReflectionPropertySymbol.cs.
| IMethodSymbol? IKVM.CoreLib.Symbols.Reflection.ReflectionPropertySymbol.GetGetMethod | ( | bool | nonPublic | ) |
When overridden in a derived class, returns the public or non-public get accessor for this property.
| nonPublic |
Implements IKVM.CoreLib.Symbols.IPropertySymbol.
Definition at line 81 of file ReflectionPropertySymbol.cs.
| IParameterSymbol[] IKVM.CoreLib.Symbols.Reflection.ReflectionPropertySymbol.GetIndexParameters | ( | ) |
When overridden in a derived class, returns an array of all the index parameters for the property.
Implements IKVM.CoreLib.Symbols.IPropertySymbol.
Definition at line 69 of file ReflectionPropertySymbol.cs.
| ITypeSymbol IKVM.CoreLib.Symbols.Reflection.ReflectionPropertySymbol.GetModifiedPropertyType | ( | ) |
Gets the modified type of this property object.
Implements IKVM.CoreLib.Symbols.IPropertySymbol.
Definition at line 99 of file ReflectionPropertySymbol.cs.
| ITypeSymbol[] IKVM.CoreLib.Symbols.Reflection.ReflectionPropertySymbol.GetOptionalCustomModifiers | ( | ) |
Returns an array of types representing the optional custom modifiers of the property.
Implements IKVM.CoreLib.Symbols.IPropertySymbol.
Definition at line 105 of file ReflectionPropertySymbol.cs.
| object? IKVM.CoreLib.Symbols.Reflection.ReflectionPropertySymbol.GetRawConstantValue | ( | ) |
Returns a literal value associated with the property by a compiler.
Implements IKVM.CoreLib.Symbols.IPropertySymbol.
Definition at line 51 of file ReflectionPropertySymbol.cs.
| ITypeSymbol[] IKVM.CoreLib.Symbols.Reflection.ReflectionPropertySymbol.GetRequiredCustomModifiers | ( | ) |
Returns an array of types representing the required custom modifiers of the property.
Implements IKVM.CoreLib.Symbols.IPropertySymbol.
Definition at line 111 of file ReflectionPropertySymbol.cs.
| IMethodSymbol? IKVM.CoreLib.Symbols.Reflection.ReflectionPropertySymbol.GetSetMethod | ( | ) |
Returns the public set accessor for this property.
Implements IKVM.CoreLib.Symbols.IPropertySymbol.
Definition at line 87 of file ReflectionPropertySymbol.cs.
| IMethodSymbol? IKVM.CoreLib.Symbols.Reflection.ReflectionPropertySymbol.GetSetMethod | ( | bool | nonPublic | ) |
When overridden in a derived class, returns the set accessor for this property.
| nonPublic |
Implements IKVM.CoreLib.Symbols.IPropertySymbol.
Definition at line 93 of file ReflectionPropertySymbol.cs.
|
get |
Gets the attributes for this property.
Implements IKVM.CoreLib.Symbols.IPropertySymbol.
Definition at line 30 of file ReflectionPropertySymbol.cs.
|
get |
Gets a value indicating whether the property can be read.
Implements IKVM.CoreLib.Symbols.IPropertySymbol.
Definition at line 33 of file ReflectionPropertySymbol.cs.
|
get |
Gets a value indicating whether the property can be written to.
Implements IKVM.CoreLib.Symbols.IPropertySymbol.
Definition at line 36 of file ReflectionPropertySymbol.cs.
|
get |
Gets the get accessor for this property.
Implements IKVM.CoreLib.Symbols.IPropertySymbol.
Definition at line 45 of file ReflectionPropertySymbol.cs.
|
get |
Gets a value indicating whether the property is the special name.
Implements IKVM.CoreLib.Symbols.IPropertySymbol.
Definition at line 39 of file ReflectionPropertySymbol.cs.
|
get |
Gets the type of this property.
Implements IKVM.CoreLib.Symbols.IPropertySymbol.
Definition at line 42 of file ReflectionPropertySymbol.cs.
|
get |
Gets the set accessor for this property.
Implements IKVM.CoreLib.Symbols.IPropertySymbol.
Definition at line 48 of file ReflectionPropertySymbol.cs.