|
IKVM11
11
Java SE 11 Virtual Machine for .NET
|
Implementation of IModuleSymbol derived from System.Reflection. More...
Public Member Functions | |||||||
| IkvmReflectionModuleSymbol (IkvmReflectionSymbolContext context, Module underlyingModule) | |||||||
| Initializes a new instance. | |||||||
| IFieldSymbol? | GetField (string name) | ||||||
Returns a field having the specified name.
| |||||||
| IFieldSymbol? | GetField (string name, global::System.Reflection.BindingFlags bindingAttr) | ||||||
| IFieldSymbol[] | GetFields (global::System.Reflection.BindingFlags bindingFlags) | ||||||
| IFieldSymbol[] | GetFields () | ||||||
Returns the global fields defined on the module.
| |||||||
| IMethodSymbol? | GetMethod (string name) | ||||||
Returns a method having the specified name.
| |||||||
| IMethodSymbol? | GetMethod (string name, ITypeSymbol[] types) | ||||||
Returns a method having the specified name and parameter types.
| |||||||
| IMethodSymbol? | GetMethod (string name, global::System.Reflection.BindingFlags bindingAttr, global::System.Reflection.CallingConventions callConvention, ITypeSymbol[] types, global::System.Reflection.ParameterModifier[]? modifiers) | ||||||
| IMethodSymbol[] | GetMethods () | ||||||
Returns the global methods defined on the module.
| |||||||
| IMethodSymbol[] | GetMethods (global::System.Reflection.BindingFlags bindingFlags) | ||||||
| ITypeSymbol? | GetType (string className) | ||||||
Returns the specified type, performing a case-sensitive search.
| |||||||
| ITypeSymbol? | GetType (string className, bool ignoreCase) | ||||||
Returns the specified type, searching the module with the specified case sensitivity.
| |||||||
| ITypeSymbol? | GetType (string className, bool throwOnError, bool ignoreCase) | ||||||
Returns the specified type, specifying whether to make a case-sensitive search of the module and whether to throw an exception if the type cannot be found.
| |||||||
| ITypeSymbol[] | GetTypes () | ||||||
Returns all the types defined within this module.
| |||||||
| bool | IsResource () | ||||||
Gets a value indicating whether the object is a resource.
| |||||||
| IFieldSymbol? | ResolveField (int metadataToken) | ||||||
Returns the field identified by a metadata token.
| |||||||
| IFieldSymbol? | ResolveField (int metadataToken, ITypeSymbol[]? genericTypeArguments, ITypeSymbol[]? genericMethodArguments) | ||||||
Returns the field identified by the specified metadata token, in the context defined by the specified generic type parameters.
| |||||||
| IMemberSymbol? | ResolveMember (int metadataToken) | ||||||
Returns the type or member identified by a metadata token.
| |||||||
| IMemberSymbol? | ResolveMember (int metadataToken, ITypeSymbol[]? genericTypeArguments, ITypeSymbol[]? genericMethodArguments) | ||||||
Returns the type or member identified by the specified metadata token, in the context defined by the specified generic type parameters.
| |||||||
| IMethodBaseSymbol? | ResolveMethod (int metadataToken, ITypeSymbol[]? genericTypeArguments, ITypeSymbol[]? genericMethodArguments) | ||||||
Returns the method or constructor identified by the specified metadata token, in the context defined by the specified generic type parameters.
| |||||||
| IMethodBaseSymbol? | ResolveMethod (int metadataToken) | ||||||
Returns the method or constructor identified by the specified metadata token.
| |||||||
| byte[] | ResolveSignature (int metadataToken) | ||||||
Returns the signature blob identified by a metadata token.
| |||||||
| string | ResolveString (int metadataToken) | ||||||
Returns the string identified by the specified metadata token.
| |||||||
| ITypeSymbol | ResolveType (int metadataToken) | ||||||
Returns the type identified by the specified metadata token.
| |||||||
| ITypeSymbol | ResolveType (int metadataToken, ITypeSymbol[]? genericTypeArguments, ITypeSymbol[]? genericMethodArguments) | ||||||
Returns the type identified by the specified metadata token, in the context defined by the specified generic type parameters.
| |||||||
| 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.
| |||||||
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.IModuleSymbol | |||||||
| IFieldSymbol? | GetField (string name, BindingFlags bindingAttr) | ||||||
| Returns a field having the specified name and binding attributes. | |||||||
| IFieldSymbol[] | GetFields (BindingFlags bindingFlags) | ||||||
| Returns the global fields defined on the module that match the specified binding flags. | |||||||
| IMethodSymbol? | GetMethod (string name, BindingFlags bindingAttr, CallingConventions callConvention, ITypeSymbol[] types, ParameterModifier[]? modifiers) | ||||||
| Returns a method having the specified name, binding information, calling convention, and parameter types and modifiers. | |||||||
| IMethodSymbol[] | GetMethods (BindingFlags bindingFlags) | ||||||
| Returns the global methods defined on the module that match the specified binding flags. | |||||||
Public Member Functions inherited from IKVM.CoreLib.Symbols.ICustomAttributeSymbolProvider | |||||||
Properties | |
| IAssemblySymbol | Assembly [get] |
| Gets the appropriate for this instance of Module. | |
| string | FullyQualifiedName [get] |
| Gets a string representing the fully qualified name and path to this module. | |
| int | MetadataToken [get] |
| Gets a token that identifies the module in metadata. | |
| Guid | ModuleVersionId [get] |
| Gets a universally unique identifier (UUID) that can be used to distinguish between two versions of a module. | |
| string | Name [get] |
| Gets a string representing the name of the module with the path removed. | |
| string | ScopeName [get] |
| Gets a string representing the name of the module. | |
| 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.IModuleSymbol | |
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.IkvmReflectionSymbol | |
Implementation of IModuleSymbol derived from System.Reflection.
Definition at line 19 of file IkvmReflectionModuleSymbol.cs.
| IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.IkvmReflectionModuleSymbol | ( | IkvmReflectionSymbolContext | context, |
| Module | underlyingModule ) |
Initializes a new instance.
| context | |
| underlyingModule |
| ArgumentNullException |
Definition at line 44 of file IkvmReflectionModuleSymbol.cs.
| ImmutableArray< CustomAttributeSymbol > IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.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.
Implements IKVM.CoreLib.Symbols.ICustomAttributeSymbolProvider.
Definition at line 339 of file IkvmReflectionModuleSymbol.cs.
| ImmutableArray< CustomAttributeSymbol > IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.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.
| attributeType |
Implements IKVM.CoreLib.Symbols.ICustomAttributeSymbolProvider.
Definition at line 345 of file IkvmReflectionModuleSymbol.cs.
| IFieldSymbol? IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.GetField | ( | string | name | ) |
Returns a field having the specified name.
| name |
Implements IKVM.CoreLib.Symbols.IModuleSymbol.
Definition at line 184 of file IkvmReflectionModuleSymbol.cs.
| IFieldSymbol? IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.GetField | ( | string | name, |
| global.System.Reflection.BindingFlags | bindingAttr ) |
Definition at line 190 of file IkvmReflectionModuleSymbol.cs.
| IFieldSymbol[] IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.GetFields | ( | ) |
Returns the global fields defined on the module.
Implements IKVM.CoreLib.Symbols.IModuleSymbol.
Definition at line 202 of file IkvmReflectionModuleSymbol.cs.
| IFieldSymbol[] IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.GetFields | ( | global.System.Reflection.BindingFlags | bindingFlags | ) |
Definition at line 196 of file IkvmReflectionModuleSymbol.cs.
| IMethodSymbol? IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.GetMethod | ( | string | name | ) |
Returns a method having the specified name.
| name |
Implements IKVM.CoreLib.Symbols.IModuleSymbol.
Definition at line 208 of file IkvmReflectionModuleSymbol.cs.
| IMethodSymbol? IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.GetMethod | ( | string | name, |
| global.System.Reflection.BindingFlags | bindingAttr, | ||
| global.System.Reflection.CallingConventions | callConvention, | ||
| ITypeSymbol[] | types, | ||
| global.System.Reflection.ParameterModifier?[] | modifiers ) |
Definition at line 220 of file IkvmReflectionModuleSymbol.cs.
| IMethodSymbol? IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.GetMethod | ( | string | name, |
| ITypeSymbol[] | types ) |
Returns a method having the specified name and parameter types.
| name | |
| types |
Implements IKVM.CoreLib.Symbols.IModuleSymbol.
Definition at line 214 of file IkvmReflectionModuleSymbol.cs.
| IMethodSymbol[] IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.GetMethods | ( | ) |
Returns the global methods defined on the module.
Implements IKVM.CoreLib.Symbols.IModuleSymbol.
Definition at line 229 of file IkvmReflectionModuleSymbol.cs.
| IMethodSymbol[] IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.GetMethods | ( | global.System.Reflection.BindingFlags | bindingFlags | ) |
Definition at line 235 of file IkvmReflectionModuleSymbol.cs.
| ITypeSymbol? IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.GetType | ( | string | className | ) |
Returns the specified type, performing a case-sensitive search.
| className |
Implements IKVM.CoreLib.Symbols.IModuleSymbol.
Definition at line 241 of file IkvmReflectionModuleSymbol.cs.
| ITypeSymbol? IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.GetType | ( | string | className, |
| bool | ignoreCase ) |
Returns the specified type, searching the module with the specified case sensitivity.
| className | |
| ignoreCase |
Implements IKVM.CoreLib.Symbols.IModuleSymbol.
Definition at line 247 of file IkvmReflectionModuleSymbol.cs.
| ITypeSymbol? IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.GetType | ( | string | className, |
| bool | throwOnError, | ||
| bool | ignoreCase ) |
Returns the specified type, specifying whether to make a case-sensitive search of the module and whether to throw an exception if the type cannot be found.
| className | |
| throwOnError | |
| ignoreCase |
Implements IKVM.CoreLib.Symbols.IModuleSymbol.
Definition at line 253 of file IkvmReflectionModuleSymbol.cs.
| ITypeSymbol[] IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.GetTypes | ( | ) |
Returns all the types defined within this module.
Implements IKVM.CoreLib.Symbols.IModuleSymbol.
Definition at line 259 of file IkvmReflectionModuleSymbol.cs.
| bool IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.IsDefined | ( | ITypeSymbol | attributeType | ) |
Indicates whether one or more instance of attributeType is defined on this member.
| attributeType |
Implements IKVM.CoreLib.Symbols.ICustomAttributeSymbolProvider.
Definition at line 351 of file IkvmReflectionModuleSymbol.cs.
| bool IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.IsResource | ( | ) |
Gets a value indicating whether the object is a resource.
Implements IKVM.CoreLib.Symbols.IModuleSymbol.
Definition at line 265 of file IkvmReflectionModuleSymbol.cs.
| IFieldSymbol? IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.ResolveField | ( | int | metadataToken | ) |
Returns the field identified by a metadata token.
| metadataToken |
Implements IKVM.CoreLib.Symbols.IModuleSymbol.
Definition at line 271 of file IkvmReflectionModuleSymbol.cs.
| IFieldSymbol? IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.ResolveField | ( | int | metadataToken, |
| ITypeSymbol?[] | genericTypeArguments, | ||
| ITypeSymbol?[] | genericMethodArguments ) |
Returns the field identified by the specified metadata token, in the context defined by the specified generic type parameters.
| metadataToken | |
| genericTypeArguments | |
| genericMethodArguments |
Implements IKVM.CoreLib.Symbols.IModuleSymbol.
Definition at line 277 of file IkvmReflectionModuleSymbol.cs.
| IMemberSymbol? IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.ResolveMember | ( | int | metadataToken | ) |
Returns the type or member identified by a metadata token.
| metadataToken |
Implements IKVM.CoreLib.Symbols.IModuleSymbol.
Definition at line 285 of file IkvmReflectionModuleSymbol.cs.
| IMemberSymbol? IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.ResolveMember | ( | int | metadataToken, |
| ITypeSymbol?[] | genericTypeArguments, | ||
| ITypeSymbol?[] | genericMethodArguments ) |
Returns the type or member identified by the specified metadata token, in the context defined by the specified generic type parameters.
| metadataToken | |
| genericTypeArguments | |
| genericMethodArguments |
Implements IKVM.CoreLib.Symbols.IModuleSymbol.
Definition at line 291 of file IkvmReflectionModuleSymbol.cs.
| IMethodBaseSymbol? IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.ResolveMethod | ( | int | metadataToken | ) |
Returns the method or constructor identified by the specified metadata token.
| metadataToken |
Implements IKVM.CoreLib.Symbols.IModuleSymbol.
Definition at line 307 of file IkvmReflectionModuleSymbol.cs.
| IMethodBaseSymbol? IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.ResolveMethod | ( | int | metadataToken, |
| ITypeSymbol?[] | genericTypeArguments, | ||
| ITypeSymbol?[] | genericMethodArguments ) |
Returns the method or constructor identified by the specified metadata token, in the context defined by the specified generic type parameters.
| metadataToken | |
| genericTypeArguments | |
| genericMethodArguments |
Implements IKVM.CoreLib.Symbols.IModuleSymbol.
Definition at line 299 of file IkvmReflectionModuleSymbol.cs.
| byte[] IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.ResolveSignature | ( | int | metadataToken | ) |
Returns the signature blob identified by a metadata token.
| metadataToken |
Implements IKVM.CoreLib.Symbols.IModuleSymbol.
Definition at line 313 of file IkvmReflectionModuleSymbol.cs.
| string IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.ResolveString | ( | int | metadataToken | ) |
Returns the string identified by the specified metadata token.
| metadataToken |
Implements IKVM.CoreLib.Symbols.IModuleSymbol.
Definition at line 319 of file IkvmReflectionModuleSymbol.cs.
| ITypeSymbol IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.ResolveType | ( | int | metadataToken | ) |
Returns the type identified by the specified metadata token.
| metadataToken |
Implements IKVM.CoreLib.Symbols.IModuleSymbol.
Definition at line 325 of file IkvmReflectionModuleSymbol.cs.
| ITypeSymbol IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.ResolveType | ( | int | metadataToken, |
| ITypeSymbol?[] | genericTypeArguments, | ||
| ITypeSymbol?[] | genericMethodArguments ) |
Returns the type identified by the specified metadata token, in the context defined by the specified generic type parameters.
| metadataToken | |
| genericTypeArguments | |
| genericMethodArguments |
Implements IKVM.CoreLib.Symbols.IModuleSymbol.
Definition at line 331 of file IkvmReflectionModuleSymbol.cs.
|
get |
Gets the appropriate for this instance of Module.
Implements IKVM.CoreLib.Symbols.IModuleSymbol.
Definition at line 163 of file IkvmReflectionModuleSymbol.cs.
|
get |
Gets a string representing the fully qualified name and path to this module.
Implements IKVM.CoreLib.Symbols.IModuleSymbol.
Definition at line 166 of file IkvmReflectionModuleSymbol.cs.
|
get |
Returns true if the symbol is missing.
Implements IKVM.CoreLib.Symbols.ISymbol.
Definition at line 181 of file IkvmReflectionModuleSymbol.cs.
|
get |
Gets a token that identifies the module in metadata.
Implements IKVM.CoreLib.Symbols.IModuleSymbol.
Definition at line 169 of file IkvmReflectionModuleSymbol.cs.
|
get |
Gets a universally unique identifier (UUID) that can be used to distinguish between two versions of a module.
Implements IKVM.CoreLib.Symbols.IModuleSymbol.
Definition at line 172 of file IkvmReflectionModuleSymbol.cs.
|
get |
Gets a string representing the name of the module with the path removed.
Implements IKVM.CoreLib.Symbols.IModuleSymbol.
Definition at line 175 of file IkvmReflectionModuleSymbol.cs.
|
get |
Gets a string representing the name of the module.
Implements IKVM.CoreLib.Symbols.IModuleSymbol.
Definition at line 178 of file IkvmReflectionModuleSymbol.cs.