Class MMReflectionImporter
Inheritance
System.Object
MMReflectionImporter
Implements
Mono.Cecil.IReflectionImporter
Assembly: MonoMod.Utils.dll
Syntax
public sealed class MMReflectionImporter : Object, IReflectionImporter
Constructors
MMReflectionImporter(ModuleDefinition)
Declaration
public MMReflectionImporter(ModuleDefinition module)
Parameters
Type |
Name |
Description |
Mono.Cecil.ModuleDefinition |
module |
|
Fields
Provider
Declaration
public static readonly IReflectionImporterProvider Provider
Field Value
Type |
Description |
Mono.Cecil.IReflectionImporterProvider |
|
ProviderNoDefault
Declaration
public static readonly IReflectionImporterProvider ProviderNoDefault
Field Value
Type |
Description |
Mono.Cecil.IReflectionImporterProvider |
|
UseDefault
Declaration
Field Value
Type |
Description |
System.Boolean |
|
Methods
ImportModuleType(Module, IGenericParameterProvider)
Declaration
public TypeReference ImportModuleType(Module module, IGenericParameterProvider context)
Parameters
Type |
Name |
Description |
System.Reflection.Module |
module |
|
Mono.Cecil.IGenericParameterProvider |
context |
|
Returns
Type |
Description |
Mono.Cecil.TypeReference |
|
ImportReference(AssemblyName)
Declaration
public AssemblyNameReference ImportReference(AssemblyName asm)
Parameters
Type |
Name |
Description |
System.Reflection.AssemblyName |
asm |
|
Returns
Type |
Description |
Mono.Cecil.AssemblyNameReference |
|
ImportReference(FieldInfo, IGenericParameterProvider)
Declaration
public FieldReference ImportReference(FieldInfo field, IGenericParameterProvider context)
Parameters
Type |
Name |
Description |
System.Reflection.FieldInfo |
field |
|
Mono.Cecil.IGenericParameterProvider |
context |
|
Returns
Type |
Description |
Mono.Cecil.FieldReference |
|
ImportReference(MethodBase, IGenericParameterProvider)
Declaration
public MethodReference ImportReference(MethodBase method, IGenericParameterProvider context)
Parameters
Type |
Name |
Description |
System.Reflection.MethodBase |
method |
|
Mono.Cecil.IGenericParameterProvider |
context |
|
Returns
Type |
Description |
Mono.Cecil.MethodReference |
|
ImportReference(Type, IGenericParameterProvider)
Declaration
public TypeReference ImportReference(Type type, IGenericParameterProvider context)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
Mono.Cecil.IGenericParameterProvider |
context |
|
Returns
Type |
Description |
Mono.Cecil.TypeReference |
|
Implements
Mono.Cecil.IReflectionImporter