IKVM11  11
Java SE 11 Virtual Machine for .NET
Loading...
Searching...
No Matches
IModuleSymbol.cs
Go to the documentation of this file.
1using System;
2using System.Reflection;
3
5{
6
11 {
12
17
21 string FullyQualifiedName { get; }
22
26 int MetadataToken { get; }
27
31 Guid ModuleVersionId { get; }
32
36 string Name { get; }
37
41 string ScopeName { get; }
42
47 bool IsResource();
48
54 IFieldSymbol? GetField(string name);
55
62 IFieldSymbol? GetField(string name, BindingFlags bindingAttr);
63
69 IFieldSymbol[] GetFields(BindingFlags bindingFlags);
70
76
82 IMethodSymbol? GetMethod(string name);
83
90 IMethodSymbol? GetMethod(string name, ITypeSymbol[] types);
91
101 IMethodSymbol? GetMethod(string name, BindingFlags bindingAttr, CallingConventions callConvention, ITypeSymbol[] types, ParameterModifier[]? modifiers);
102
108
114 IMethodSymbol[] GetMethods(BindingFlags bindingFlags);
115
121 ITypeSymbol? GetType(string className);
122
129 ITypeSymbol? GetType(string className, bool ignoreCase);
130
138 ITypeSymbol? GetType(string className, bool throwOnError, bool ignoreCase);
139
145
151 ITypeSymbol ResolveType(int metadataToken);
152
160 ITypeSymbol ResolveType(int metadataToken, ITypeSymbol[]? genericTypeArguments, ITypeSymbol[]? genericMethodArguments);
161
167 IFieldSymbol? ResolveField(int metadataToken);
168
176 IFieldSymbol? ResolveField(int metadataToken, ITypeSymbol[]? genericTypeArguments, ITypeSymbol[]? genericMethodArguments);
177
183 IMemberSymbol? ResolveMember(int metadataToken);
184
192 IMemberSymbol? ResolveMember(int metadataToken, ITypeSymbol[]? genericTypeArguments, ITypeSymbol[]? genericMethodArguments);
193
199 IMethodBaseSymbol? ResolveMethod(int metadataToken);
200
208 IMethodBaseSymbol? ResolveMethod(int metadataToken, ITypeSymbol[]? genericTypeArguments, ITypeSymbol[]? genericMethodArguments);
209
215 byte[] ResolveSignature(int metadataToken);
216
222 string ResolveString(int metadataToken);
223
224 }
225
226}
IKVM.Reflection.Assembly Assembly
global::java.lang.invoke.LambdaForm.Name Name
Represents an assembly, which is a reusable, versionable, and self-describing building block of a com...
Provides custom attributes for reflection objects that support them.
Discovers the attributes of a field and provides access to field metadata.
Obtains information about the attributes of a member and provides access to member metadata.
Provides information about methods and constructors.
Discovers the attributes of a method and provides access to method metadata.
Performs reflection on a module.
IFieldSymbol[] GetFields()
Returns the global fields defined on the module.
IMethodBaseSymbol? ResolveMethod(int metadataToken, ITypeSymbol[]? genericTypeArguments, ITypeSymbol[]? genericMethodArguments)
Returns the method or constructor identified by the specified metadata token, in the context defined ...
bool IsResource()
Gets a value indicating whether the object is a resource.
IFieldSymbol[] GetFields(BindingFlags bindingFlags)
Returns the global fields defined on the module that match the specified binding flags.
ITypeSymbol[] GetTypes()
Returns all the types defined within this module.
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 ...
Guid ModuleVersionId
Gets a universally unique identifier (UUID) that can be used to distinguish between two versions of a...
IMethodSymbol[] GetMethods()
Returns the global methods defined on the module.
IFieldSymbol? GetField(string name, BindingFlags bindingAttr)
Returns a field having the specified name and binding attributes.
IMethodSymbol[] GetMethods(BindingFlags bindingFlags)
Returns the global methods defined on the module that match the specified binding flags.
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.
IMethodSymbol? GetMethod(string name, ITypeSymbol[] types)
Returns a method having the specified name and parameter types.
byte[] ResolveSignature(int metadataToken)
Returns the signature blob identified by a metadata token.
IMemberSymbol? ResolveMember(int metadataToken)
Returns the type or member identified by a metadata token.
IFieldSymbol? ResolveField(int metadataToken)
Returns the field identified by a metadata token.
IFieldSymbol? GetField(string name)
Returns a field having the specified name.
ITypeSymbol? GetType(string className, bool throwOnError, bool ignoreCase)
Returns the specified type, specifying whether to make a case-sensitive search of the module and whet...
string ResolveString(int metadataToken)
Returns the string identified by the specified metadata token.
string FullyQualifiedName
Gets a string representing the fully qualified name and path to this module.
int MetadataToken
Gets a token that identifies the module in metadata.
string ScopeName
Gets a string representing the name of the module.
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 ...
IMethodBaseSymbol? ResolveMethod(int metadataToken)
Returns the method or constructor identified by the specified metadata token.
IMethodSymbol? GetMethod(string name)
Returns a method having the specified name.
IMethodSymbol? GetMethod(string name, BindingFlags bindingAttr, CallingConventions callConvention, ITypeSymbol[] types, ParameterModifier[]? modifiers)
Returns a method having the specified name, binding information, calling convention,...
IFieldSymbol? ResolveField(int metadataToken, ITypeSymbol[]? genericTypeArguments, ITypeSymbol[]? genericMethodArguments)
Returns the field identified by the specified metadata token, in the context defined by the specified...
Provides common properties and methods for managed symbols.
Definition ISymbol.cs:8
Represents type declarations: class types, interface types, array types, value types,...