Class GetPotentiallyNestedClassTypeReference
- Namespace
- ICSharpCode.Decompiler.Documentation
- Assembly
- ICSharpCode.Decompiler.dll
A type reference of the form 'Some.Namespace.TopLevelType.NestedType`n'. We do not know the boundary between namespace name and top level type, so we have to try all possibilities. The type parameter count only applies to the innermost type, all outer types must be non-generic.
public class GetPotentiallyNestedClassTypeReference : ITypeReference
- Inheritance
-
GetPotentiallyNestedClassTypeReference
- Implements
- Inherited Members
Constructors
GetPotentiallyNestedClassTypeReference(string, int)
public GetPotentiallyNestedClassTypeReference(string typeName, int typeParameterCount)
Parameters
Methods
Resolve(ITypeResolveContext)
public IType Resolve(ITypeResolveContext context)
Parameters
context
ITypeResolveContext
Returns
ResolveInPEFile(PEFile)
Resolves the type reference within the context of the given PE file.
public EntityHandle ResolveInPEFile(PEFile module)
Parameters
module
PEFile
Returns
- EntityHandle
Either TypeDefinitionHandle, if the type is defined in the module or ExportedTypeHandle, if the module contains a type forwarder. Returns a nil handle, if the type was not found.