Class ReflectionHelper
Inheritance
System.Object
ReflectionHelper
Assembly: MonoMod.Utils.dll
Syntax
public static class ReflectionHelper : Object
Methods
GetType(String)
Declaration
public static Type GetType(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
System.Type |
|
Load(ModuleDefinition)
Declaration
public static Assembly Load(ModuleDefinition module)
Parameters
Type |
Name |
Description |
Mono.Cecil.ModuleDefinition |
module |
|
Returns
Type |
Description |
System.Reflection.Assembly |
|
Load(Stream)
Declaration
public static Assembly Load(Stream stream)
Parameters
Type |
Name |
Description |
System.IO.Stream |
stream |
|
Returns
Type |
Description |
System.Reflection.Assembly |
|
ResolveReflection(CallSite, Module)
Declaration
public static SignatureHelper ResolveReflection(this CallSite csite, Module context)
Parameters
Type |
Name |
Description |
Mono.Cecil.CallSite |
csite |
|
System.Reflection.Module |
context |
|
Returns
Type |
Description |
System.Reflection.Emit.SignatureHelper |
|
ResolveReflection(EventReference)
Declaration
public static EventInfo ResolveReflection(this EventReference mref)
Parameters
Type |
Name |
Description |
Mono.Cecil.EventReference |
mref |
|
Returns
Type |
Description |
System.Reflection.EventInfo |
|
ResolveReflection(FieldReference)
Declaration
public static FieldInfo ResolveReflection(this FieldReference mref)
Parameters
Type |
Name |
Description |
Mono.Cecil.FieldReference |
mref |
|
Returns
Type |
Description |
System.Reflection.FieldInfo |
|
ResolveReflection(MemberReference)
Declaration
public static MemberInfo ResolveReflection(this MemberReference mref)
Parameters
Type |
Name |
Description |
Mono.Cecil.MemberReference |
mref |
|
Returns
Type |
Description |
System.Reflection.MemberInfo |
|
ResolveReflection(MethodReference)
Declaration
public static MethodBase ResolveReflection(this MethodReference mref)
Parameters
Type |
Name |
Description |
Mono.Cecil.MethodReference |
mref |
|
Returns
Type |
Description |
System.Reflection.MethodBase |
|
ResolveReflection(PropertyReference)
Declaration
public static PropertyInfo ResolveReflection(this PropertyReference mref)
Parameters
Type |
Name |
Description |
Mono.Cecil.PropertyReference |
mref |
|
Returns
Type |
Description |
System.Reflection.PropertyInfo |
|
ResolveReflection(TypeReference)
Declaration
public static Type ResolveReflection(this TypeReference mref)
Parameters
Type |
Name |
Description |
Mono.Cecil.TypeReference |
mref |
|
Returns
Type |
Description |
System.Type |
|
ResolveReflectionSignature(IMethodSignature, Module)
Declaration
public static SignatureHelper ResolveReflectionSignature(this IMethodSignature csite, Module context)
Parameters
Type |
Name |
Description |
Mono.Cecil.IMethodSignature |
csite |
|
System.Reflection.Module |
context |
|
Returns
Type |
Description |
System.Reflection.Emit.SignatureHelper |
|