|
IKVM11
11
Java SE 11 Virtual Machine for .NET
|
Obtains information about the attributes of a member and provides access to member metadata. More...
Public Member Functions | |||
| 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 | |||
Properties | |
| 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 | |
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.ReflectionSymbol | |
Obtains information about the attributes of a member and provides access to member metadata.
Definition at line 12 of file ReflectionMemberSymbol.cs.
| IKVM.CoreLib.Symbols.Reflection.ReflectionMemberSymbol.ReflectionMemberSymbol | ( | ReflectionSymbolContext | context, |
| ReflectionModuleSymbol | module, | ||
| ReflectionTypeSymbol? | type, | ||
| MemberInfo | underlyingMember ) |
Initializes a new instance.
| context | |
| module | |
| type | |
| underlyingMember |
Definition at line 26 of file ReflectionMemberSymbol.cs.
|
virtual |
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.
Implements IKVM.CoreLib.Symbols.ICustomAttributeSymbolProvider.
Definition at line 157 of file ReflectionMemberSymbol.cs.
|
virtual |
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.
| attributeType |
Implements IKVM.CoreLib.Symbols.ICustomAttributeSymbolProvider.
Definition at line 163 of file ReflectionMemberSymbol.cs.
|
virtual |
Indicates whether one or more instance of attributeType is defined on this member.
| attributeType |
Implements IKVM.CoreLib.Symbols.ICustomAttributeSymbolProvider.
Definition at line 169 of file ReflectionMemberSymbol.cs.
|
get |
Gets the class that declares this member.
Implements IKVM.CoreLib.Symbols.IMemberSymbol.
Definition at line 145 of file ReflectionMemberSymbol.cs.
|
get |
When overridden in a derived class, gets a value indicating the type of the member - method, constructor, event, and so on.
Implements IKVM.CoreLib.Symbols.IMemberSymbol.
Definition at line 148 of file ReflectionMemberSymbol.cs.
|
get |
Gets a value that identifies a metadata element.
Implements IKVM.CoreLib.Symbols.IMemberSymbol.
Definition at line 151 of file ReflectionMemberSymbol.cs.
|
get |
Gets the module in which the type that declares the member represented by the current is defined.
Implements IKVM.CoreLib.Symbols.IMemberSymbol.
Definition at line 142 of file ReflectionMemberSymbol.cs.
|
get |
Gets the name of the current member.
Implements IKVM.CoreLib.Symbols.IMemberSymbol.
Definition at line 154 of file ReflectionMemberSymbol.cs.