IKVM11  11
Java SE 11 Virtual Machine for .NET
Loading...
Searching...
No Matches
IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol Class Reference

Implementation of IModuleSymbol derived from System.Reflection. More...

Inheritance diagram for IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol:
IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionSymbol IKVM.CoreLib.Symbols.IModuleSymbol IKVM.CoreLib.Symbols.ISymbol IKVM.CoreLib.Symbols.ISymbol IKVM.CoreLib.Symbols.ICustomAttributeSymbolProvider

Public Member Functions

 IkvmReflectionModuleSymbol (IkvmReflectionSymbolContext context, Module underlyingModule)
 Initializes a new instance.
 
IFieldSymbolGetField (string name)
 Returns a field having the specified name.
Parameters
name
Returns

 
IFieldSymbolGetField (string name, global::System.Reflection.BindingFlags bindingAttr)
 
IFieldSymbol[] GetFields (global::System.Reflection.BindingFlags bindingFlags)
 
IFieldSymbol[] GetFields ()
 Returns the global fields defined on the module.
Returns

 
IMethodSymbolGetMethod (string name)
 Returns a method having the specified name.
Parameters
name
Returns

 
IMethodSymbolGetMethod (string name, ITypeSymbol[] types)
 Returns a method having the specified name and parameter types.
Parameters
name
types
Returns

 
IMethodSymbolGetMethod (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.
Returns

 
IMethodSymbol[] GetMethods (global::System.Reflection.BindingFlags bindingFlags)
 
ITypeSymbolGetType (string className)
 Returns the specified type, performing a case-sensitive search.
Parameters
className
Returns

 
ITypeSymbolGetType (string className, bool ignoreCase)
 Returns the specified type, searching the module with the specified case sensitivity.
Parameters
className
ignoreCase
Returns

 
ITypeSymbolGetType (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.
Parameters
className
throwOnError
ignoreCase
Returns

 
ITypeSymbol[] GetTypes ()
 Returns all the types defined within this module.
Returns

 
bool IsResource ()
 Gets a value indicating whether the object is a resource.
Returns

 
IFieldSymbolResolveField (int metadataToken)
 Returns the field identified by a metadata token.
Parameters
metadataToken
Returns

 
IFieldSymbolResolveField (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.
Parameters
metadataToken
genericTypeArguments
genericMethodArguments
Returns

 
IMemberSymbolResolveMember (int metadataToken)
 Returns the type or member identified by a metadata token.
Parameters
metadataToken
Returns

 
IMemberSymbolResolveMember (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.
Parameters
metadataToken
genericTypeArguments
genericMethodArguments
Returns

 
IMethodBaseSymbolResolveMethod (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.
Parameters
metadataToken
genericTypeArguments
genericMethodArguments
Returns

 
IMethodBaseSymbolResolveMethod (int metadataToken)
 Returns the method or constructor identified by the specified metadata token.
Parameters
metadataToken
Returns

 
byte[] ResolveSignature (int metadataToken)
 Returns the signature blob identified by a metadata token.
Parameters
metadataToken
Returns

 
string ResolveString (int metadataToken)
 Returns the string identified by the specified metadata token.
Parameters
metadataToken
Returns

 
ITypeSymbol ResolveType (int metadataToken)
 Returns the type identified by the specified metadata token.
Parameters
metadataToken
Returns

 
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.
Parameters
metadataToken
genericTypeArguments
genericMethodArguments
Returns

 
ImmutableArray< CustomAttributeSymbolGetCustomAttributes ()
 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.
Returns

 
ImmutableArray< CustomAttributeSymbolGetCustomAttributes (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.
Parameters
attributeType
Returns

 
bool IsDefined (ITypeSymbol attributeType)
 Indicates whether one or more instance of attributeType is defined on this member.
Parameters
attributeType
Returns

 
- 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
IFieldSymbolGetField (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.
 
IMethodSymbolGetMethod (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

Detailed Description

Implementation of IModuleSymbol derived from System.Reflection.

Definition at line 19 of file IkvmReflectionModuleSymbol.cs.

Constructor & Destructor Documentation

◆ IkvmReflectionModuleSymbol()

IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.IkvmReflectionModuleSymbol ( IkvmReflectionSymbolContext context,
Module underlyingModule )

Initializes a new instance.

Parameters
context
underlyingModule
Exceptions
ArgumentNullException

Definition at line 44 of file IkvmReflectionModuleSymbol.cs.

44 :
45 base(context)
46 {
47 _underlyingModule = underlyingModule ?? throw new ArgumentNullException(nameof(underlyingModule));
48 }

Member Function Documentation

◆ GetCustomAttributes() [1/2]

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.

Returns

Implements IKVM.CoreLib.Symbols.ICustomAttributeSymbolProvider.

Definition at line 339 of file IkvmReflectionModuleSymbol.cs.

340 {
341 return ResolveCustomAttributes(_underlyingModule.GetCustomAttributesData());
342 }

◆ GetCustomAttributes() [2/2]

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.

Parameters
attributeType
Returns

Implements IKVM.CoreLib.Symbols.ICustomAttributeSymbolProvider.

Definition at line 345 of file IkvmReflectionModuleSymbol.cs.

346 {
347 return ResolveCustomAttributes(_underlyingModule.__GetCustomAttributes(((IkvmReflectionTypeSymbol)attributeType).UnderlyingType, false));
348 }

◆ GetField() [1/2]

IFieldSymbol? IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.GetField ( string name)

Returns a field having the specified name.

Parameters
name
Returns

Implements IKVM.CoreLib.Symbols.IModuleSymbol.

Definition at line 184 of file IkvmReflectionModuleSymbol.cs.

185 {
186 return _underlyingModule.GetField(name) is { } f ? ResolveFieldSymbol(f) : null;
187 }

◆ GetField() [2/2]

IFieldSymbol? IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.GetField ( string name,
global.System.Reflection.BindingFlags bindingAttr )

Definition at line 190 of file IkvmReflectionModuleSymbol.cs.

191 {
192 return _underlyingModule.GetField(name, (BindingFlags)bindingAttr) is { } f ? ResolveFieldSymbol(f) : null;
193 }

◆ GetFields() [1/2]

IFieldSymbol[] IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.GetFields ( )

Returns the global fields defined on the module.

Returns

Implements IKVM.CoreLib.Symbols.IModuleSymbol.

Definition at line 202 of file IkvmReflectionModuleSymbol.cs.

203 {
204 return ResolveFieldSymbols(_underlyingModule.GetFields());
205 }

◆ GetFields() [2/2]

IFieldSymbol[] IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.GetFields ( global.System.Reflection.BindingFlags bindingFlags)

Definition at line 196 of file IkvmReflectionModuleSymbol.cs.

197 {
198 return ResolveFieldSymbols(_underlyingModule.GetFields((BindingFlags)bindingFlags));
199 }

◆ GetMethod() [1/3]

IMethodSymbol? IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.GetMethod ( string name)

Returns a method having the specified name.

Parameters
name
Returns

Implements IKVM.CoreLib.Symbols.IModuleSymbol.

Definition at line 208 of file IkvmReflectionModuleSymbol.cs.

209 {
210 return _underlyingModule.GetMethod(name) is { } m ? ResolveMethodSymbol(m) : null;
211 }

◆ GetMethod() [2/3]

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.

221 {
222 if (modifiers != null)
223 throw new NotImplementedException();
224
225 return _underlyingModule.GetMethod(name, (BindingFlags)bindingAttr, null, (CallingConventions)callConvention, UnpackTypeSymbols(types), null) is { } m ? ResolveMethodSymbol(m) : null;
226 }

◆ GetMethod() [3/3]

IMethodSymbol? IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.GetMethod ( string name,
ITypeSymbol[] types )

Returns a method having the specified name and parameter types.

Parameters
name
types
Returns

Implements IKVM.CoreLib.Symbols.IModuleSymbol.

Definition at line 214 of file IkvmReflectionModuleSymbol.cs.

215 {
216 return _underlyingModule.GetMethod(name, UnpackTypeSymbols(types)) is { } m ? ResolveMethodSymbol(m) : null;
217 }

◆ GetMethods() [1/2]

IMethodSymbol[] IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.GetMethods ( )

Returns the global methods defined on the module.

Returns

Implements IKVM.CoreLib.Symbols.IModuleSymbol.

Definition at line 229 of file IkvmReflectionModuleSymbol.cs.

230 {
231 return ResolveMethodSymbols(_underlyingModule.GetMethods());
232 }

◆ GetMethods() [2/2]

IMethodSymbol[] IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.GetMethods ( global.System.Reflection.BindingFlags bindingFlags)

Definition at line 235 of file IkvmReflectionModuleSymbol.cs.

236 {
237 return ResolveMethodSymbols(_underlyingModule.GetMethods((BindingFlags)bindingFlags));
238 }

◆ GetType() [1/3]

ITypeSymbol? IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.GetType ( string className)

Returns the specified type, performing a case-sensitive search.

Parameters
className
Returns

Implements IKVM.CoreLib.Symbols.IModuleSymbol.

Definition at line 241 of file IkvmReflectionModuleSymbol.cs.

242 {
243 return _underlyingModule.GetType(className) is { } t ? ResolveTypeSymbol(t) : null;
244 }

◆ GetType() [2/3]

ITypeSymbol? IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.GetType ( string className,
bool ignoreCase )

Returns the specified type, searching the module with the specified case sensitivity.

Parameters
className
ignoreCase
Returns

Implements IKVM.CoreLib.Symbols.IModuleSymbol.

Definition at line 247 of file IkvmReflectionModuleSymbol.cs.

248 {
249 return _underlyingModule.GetType(className, ignoreCase) is { } t ? ResolveTypeSymbol(t) : null;
250 }

◆ GetType() [3/3]

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.

Parameters
className
throwOnError
ignoreCase
Returns

Implements IKVM.CoreLib.Symbols.IModuleSymbol.

Definition at line 253 of file IkvmReflectionModuleSymbol.cs.

254 {
255 return _underlyingModule.GetType(className, throwOnError, ignoreCase) is { } t ? ResolveTypeSymbol(t) : null;
256 }

◆ GetTypes()

ITypeSymbol[] IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.GetTypes ( )

Returns all the types defined within this module.

Returns

Implements IKVM.CoreLib.Symbols.IModuleSymbol.

Definition at line 259 of file IkvmReflectionModuleSymbol.cs.

260 {
261 return ResolveTypeSymbols(_underlyingModule.GetTypes());
262 }

◆ IsDefined()

bool IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.IsDefined ( ITypeSymbol attributeType)

Indicates whether one or more instance of attributeType is defined on this member.

Parameters
attributeType
Returns

Implements IKVM.CoreLib.Symbols.ICustomAttributeSymbolProvider.

Definition at line 351 of file IkvmReflectionModuleSymbol.cs.

352 {
353 return _underlyingModule.IsDefined(((IkvmReflectionTypeSymbol)attributeType).UnderlyingType, false);
354 }

◆ IsResource()

bool IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.IsResource ( )

Gets a value indicating whether the object is a resource.

Returns

Implements IKVM.CoreLib.Symbols.IModuleSymbol.

Definition at line 265 of file IkvmReflectionModuleSymbol.cs.

266 {
267 return _underlyingModule.IsResource();
268 }

◆ ResolveField() [1/2]

IFieldSymbol? IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.ResolveField ( int metadataToken)

Returns the field identified by a metadata token.

Parameters
metadataToken
Returns

Implements IKVM.CoreLib.Symbols.IModuleSymbol.

Definition at line 271 of file IkvmReflectionModuleSymbol.cs.

272 {
273 return _underlyingModule.ResolveField(metadataToken) is { } f ? ResolveFieldSymbol(f) : null;
274 }

◆ ResolveField() [2/2]

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.

Parameters
metadataToken
genericTypeArguments
genericMethodArguments
Returns

Implements IKVM.CoreLib.Symbols.IModuleSymbol.

Definition at line 277 of file IkvmReflectionModuleSymbol.cs.

278 {
279 var _genericTypeArguments = genericTypeArguments != null ? UnpackTypeSymbols(genericTypeArguments) : null;
280 var _genericMethodArguments = genericMethodArguments != null ? UnpackTypeSymbols(genericMethodArguments) : null;
281 return _underlyingModule.ResolveField(metadataToken, _genericTypeArguments, _genericMethodArguments) is { } f ? ResolveFieldSymbol(f) : null;
282 }

◆ ResolveMember() [1/2]

IMemberSymbol? IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.ResolveMember ( int metadataToken)

Returns the type or member identified by a metadata token.

Parameters
metadataToken
Returns

Implements IKVM.CoreLib.Symbols.IModuleSymbol.

Definition at line 285 of file IkvmReflectionModuleSymbol.cs.

286 {
287 return _underlyingModule.ResolveMember(metadataToken) is { } m ? ResolveMemberSymbol(m) : null;
288 }
virtual IkvmReflectionMemberSymbol ResolveMemberSymbol(MemberInfo member)
Resolves the symbol for the specified type.

◆ ResolveMember() [2/2]

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.

Parameters
metadataToken
genericTypeArguments
genericMethodArguments
Returns

Implements IKVM.CoreLib.Symbols.IModuleSymbol.

Definition at line 291 of file IkvmReflectionModuleSymbol.cs.

292 {
293 var _genericTypeArguments = genericTypeArguments != null ? UnpackTypeSymbols(genericTypeArguments) : null;
294 var _genericMethodArguments = genericMethodArguments != null ? UnpackTypeSymbols(genericMethodArguments) : null;
295 return _underlyingModule.ResolveMember(metadataToken, _genericTypeArguments, _genericMethodArguments) is { } m ? ResolveMemberSymbol(m) : null;
296 }

◆ ResolveMethod() [1/2]

IMethodBaseSymbol? IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.ResolveMethod ( int metadataToken)

Returns the method or constructor identified by the specified metadata token.

Parameters
metadataToken
Returns

Implements IKVM.CoreLib.Symbols.IModuleSymbol.

Definition at line 307 of file IkvmReflectionModuleSymbol.cs.

308 {
309 return _underlyingModule.ResolveMethod(metadataToken) is { } m ? ResolveMethodBaseSymbol(m) : null;
310 }

◆ ResolveMethod() [2/2]

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.

Parameters
metadataToken
genericTypeArguments
genericMethodArguments
Returns

Implements IKVM.CoreLib.Symbols.IModuleSymbol.

Definition at line 299 of file IkvmReflectionModuleSymbol.cs.

300 {
301 var _genericTypeArguments = genericTypeArguments != null ? UnpackTypeSymbols(genericTypeArguments) : null;
302 var _genericMethodArguments = genericMethodArguments != null ? UnpackTypeSymbols(genericMethodArguments) : null;
303 return _underlyingModule.ResolveMethod(metadataToken, _genericTypeArguments, _genericMethodArguments) is { } m ? ResolveMethodBaseSymbol(m) : null;
304 }

◆ ResolveSignature()

byte[] IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.ResolveSignature ( int metadataToken)

Returns the signature blob identified by a metadata token.

Parameters
metadataToken
Returns

Implements IKVM.CoreLib.Symbols.IModuleSymbol.

Definition at line 313 of file IkvmReflectionModuleSymbol.cs.

314 {
315 return _underlyingModule.ResolveSignature(metadataToken);
316 }

◆ ResolveString()

string IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.ResolveString ( int metadataToken)

Returns the string identified by the specified metadata token.

Parameters
metadataToken
Returns

Implements IKVM.CoreLib.Symbols.IModuleSymbol.

Definition at line 319 of file IkvmReflectionModuleSymbol.cs.

320 {
321 return _underlyingModule.ResolveString(metadataToken);
322 }

◆ ResolveType() [1/2]

ITypeSymbol IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.ResolveType ( int metadataToken)

Returns the type identified by the specified metadata token.

Parameters
metadataToken
Returns

Implements IKVM.CoreLib.Symbols.IModuleSymbol.

Definition at line 325 of file IkvmReflectionModuleSymbol.cs.

326 {
327 return ResolveTypeSymbol(_underlyingModule.ResolveType(metadataToken));
328 }

◆ ResolveType() [2/2]

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.

Parameters
metadataToken
genericTypeArguments
genericMethodArguments
Returns

Implements IKVM.CoreLib.Symbols.IModuleSymbol.

Definition at line 331 of file IkvmReflectionModuleSymbol.cs.

332 {
333 var _genericTypeArguments = genericTypeArguments != null ? UnpackTypeSymbols(genericTypeArguments) : null;
334 var _genericMethodArguments = genericMethodArguments != null ? UnpackTypeSymbols(genericMethodArguments) : null;
335 return ResolveTypeSymbol(_underlyingModule.ResolveType(metadataToken, _genericTypeArguments, _genericMethodArguments));
336 }

Property Documentation

◆ Assembly

IAssemblySymbol IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.Assembly
get

Gets the appropriate for this instance of Module.

Implements IKVM.CoreLib.Symbols.IModuleSymbol.

Definition at line 163 of file IkvmReflectionModuleSymbol.cs.

◆ FullyQualifiedName

string IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.FullyQualifiedName
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.

◆ IsMissing

override bool IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.IsMissing
get

Returns true if the symbol is missing.

Implements IKVM.CoreLib.Symbols.ISymbol.

Definition at line 181 of file IkvmReflectionModuleSymbol.cs.

◆ MetadataToken

int IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.MetadataToken
get

Gets a token that identifies the module in metadata.

Implements IKVM.CoreLib.Symbols.IModuleSymbol.

Definition at line 169 of file IkvmReflectionModuleSymbol.cs.

◆ ModuleVersionId

Guid IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.ModuleVersionId
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.

◆ Name

string IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.Name
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.

◆ ScopeName

string IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionModuleSymbol.ScopeName
get

Gets a string representing the name of the module.

Implements IKVM.CoreLib.Symbols.IModuleSymbol.

Definition at line 178 of file IkvmReflectionModuleSymbol.cs.


The documentation for this class was generated from the following file: