Class MinimalCorlib
- Namespace
- ICSharpCode.Decompiler.TypeSystem.Implementation
- Assembly
- ICSharpCode.Decompiler.dll
An artificial "assembly" that contains all known types (KnownTypeCode) and no other types. It does not contain any members.
public sealed class MinimalCorlib : IModule, ISymbol, ICompilationProvider
- Inheritance
-
MinimalCorlib
- Implements
- Inherited Members
- Extension Methods
Fields
Instance
Minimal corlib instance containing all known types.
public static readonly IModuleReference Instance
Field Value
Properties
Compilation
Gets the parent compilation. This property never returns null.
public ICompilation Compilation { get; }
Property Value
TopLevelTypeDefinitions
Gets all non-nested types in the assembly.
public IEnumerable<ITypeDefinition> TopLevelTypeDefinitions { get; }
Property Value
TypeDefinitions
Gets all types in the assembly, including nested types.
public IEnumerable<ITypeDefinition> TypeDefinitions { get; }
Property Value
Methods
CreateWithTypes(IEnumerable<KnownTypeReference>)
public static IModuleReference CreateWithTypes(IEnumerable<KnownTypeReference> types)
Parameters
types
IEnumerable<KnownTypeReference>
Returns
GetTypeDefinition(TopLevelTypeName)
public ITypeDefinition GetTypeDefinition(TopLevelTypeName topLevelTypeName)
Parameters
topLevelTypeName
TopLevelTypeName