|
IKVM11
11
Java SE 11 Virtual Machine for .NET
|
Discovers the attributes of a property and provides access to property metadata. More...
Public Member Functions | |
| 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. | |
| 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. | |
| IParameterSymbol[] | GetIndexParameters () |
| When overridden in a derived class, returns an array of all the index parameters for the 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.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 | |
| PropertyAttributes | Attributes [get] |
| Gets the attributes for this property. | |
| ITypeSymbol | PropertyType [get] |
| Gets the type of 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. | |
| 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.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 property and provides access to property metadata.
Definition at line 9 of file IPropertySymbol.cs.
| IMethodSymbol[] IKVM.CoreLib.Symbols.IPropertySymbol.GetAccessors | ( | ) |
Returns an array whose elements reflect the public get and set accessors of the property reflected by the current instance.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionPropertySymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionPropertySymbol.
| IMethodSymbol[] IKVM.CoreLib.Symbols.IPropertySymbol.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 |
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionPropertySymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionPropertySymbol.
| IMethodSymbol? IKVM.CoreLib.Symbols.IPropertySymbol.GetGetMethod | ( | ) |
Returns the public get accessor for this property.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionPropertySymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionPropertySymbol.
| IMethodSymbol? IKVM.CoreLib.Symbols.IPropertySymbol.GetGetMethod | ( | bool | nonPublic | ) |
When overridden in a derived class, returns the public or non-public get accessor for this property.
| nonPublic |
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionPropertySymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionPropertySymbol.
| IParameterSymbol[] IKVM.CoreLib.Symbols.IPropertySymbol.GetIndexParameters | ( | ) |
When overridden in a derived class, returns an array of all the index parameters for the property.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionPropertySymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionPropertySymbol.
| ITypeSymbol IKVM.CoreLib.Symbols.IPropertySymbol.GetModifiedPropertyType | ( | ) |
Gets the modified type of this property object.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionPropertySymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionPropertySymbol.
| ITypeSymbol[] IKVM.CoreLib.Symbols.IPropertySymbol.GetOptionalCustomModifiers | ( | ) |
Returns an array of types representing the optional custom modifiers of the property.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionPropertySymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionPropertySymbol.
| object? IKVM.CoreLib.Symbols.IPropertySymbol.GetRawConstantValue | ( | ) |
Returns a literal value associated with the property by a compiler.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionPropertySymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionPropertySymbol.
| ITypeSymbol[] IKVM.CoreLib.Symbols.IPropertySymbol.GetRequiredCustomModifiers | ( | ) |
Returns an array of types representing the required custom modifiers of the property.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionPropertySymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionPropertySymbol.
| IMethodSymbol? IKVM.CoreLib.Symbols.IPropertySymbol.GetSetMethod | ( | ) |
Returns the public set accessor for this property.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionPropertySymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionPropertySymbol.
| IMethodSymbol? IKVM.CoreLib.Symbols.IPropertySymbol.GetSetMethod | ( | bool | nonPublic | ) |
When overridden in a derived class, returns the set accessor for this property.
| nonPublic |
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionPropertySymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionPropertySymbol.
|
get |
Gets the attributes for this property.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionPropertySymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionPropertySymbol.
Definition at line 15 of file IPropertySymbol.cs.
|
get |
Gets a value indicating whether the property can be read.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionPropertySymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionPropertySymbol.
Definition at line 25 of file IPropertySymbol.cs.
|
get |
Gets a value indicating whether the property can be written to.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionPropertySymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionPropertySymbol.
Definition at line 30 of file IPropertySymbol.cs.
|
get |
Gets the get accessor for this property.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionPropertySymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionPropertySymbol.
Definition at line 46 of file IPropertySymbol.cs.
|
get |
Gets a value indicating whether the property is the special name.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionPropertySymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionPropertySymbol.
Definition at line 35 of file IPropertySymbol.cs.
|
get |
Gets the type of this property.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionPropertySymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionPropertySymbol.
Definition at line 20 of file IPropertySymbol.cs.
|
get |
Gets the set accessor for this property.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionPropertySymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionPropertySymbol.
Definition at line 51 of file IPropertySymbol.cs.