C# Class Cone.Reflection.ILGeneratorExtensions

Show file Open project: drunkcod/Cone

Public Methods

Method Description
Call ( this il, MethodInfo method ) : ILGenerator
CallAny ( this il, MethodInfo method ) : ILGenerator
If ( this il, bool predicate, ILGenerator>.Func ifTrue, ILGenerator>.Func ifFalse ) : ILGenerator
Ldarg ( this il, int index ) : ILGenerator
Ldfld ( this il, FieldInfo field ) : ILGenerator
Ldsfld ( this il, FieldInfo field ) : ILGenerator
Ret ( this il ) : void
ToObject ( this il, Type topOfStack ) : ILGenerator
UnboxAny ( this il, Type type ) : ILGenerator
UnboxAsCallable ( this il, Type boxedType ) : ILGenerator

Method Details

Call() public static method

public static Call ( this il, MethodInfo method ) : ILGenerator
il this
method System.Reflection.MethodInfo
return System.Reflection.Emit.ILGenerator

CallAny() public static method

public static CallAny ( this il, MethodInfo method ) : ILGenerator
il this
method System.Reflection.MethodInfo
return System.Reflection.Emit.ILGenerator

If() public static method

public static If ( this il, bool predicate, ILGenerator>.Func ifTrue, ILGenerator>.Func ifFalse ) : ILGenerator
il this
predicate bool
ifTrue ILGenerator>.Func
ifFalse ILGenerator>.Func
return System.Reflection.Emit.ILGenerator

Ldarg() public static method

public static Ldarg ( this il, int index ) : ILGenerator
il this
index int
return System.Reflection.Emit.ILGenerator

Ldfld() public static method

public static Ldfld ( this il, FieldInfo field ) : ILGenerator
il this
field System.Reflection.FieldInfo
return System.Reflection.Emit.ILGenerator

Ldsfld() public static method

public static Ldsfld ( this il, FieldInfo field ) : ILGenerator
il this
field System.Reflection.FieldInfo
return System.Reflection.Emit.ILGenerator

Ret() public static method

public static Ret ( this il ) : void
il this
return void

ToObject() public static method

public static ToObject ( this il, Type topOfStack ) : ILGenerator
il this
topOfStack System.Type
return System.Reflection.Emit.ILGenerator

UnboxAny() public static method

public static UnboxAny ( this il, Type type ) : ILGenerator
il this
type System.Type
return System.Reflection.Emit.ILGenerator

UnboxAsCallable() public static method

public static UnboxAsCallable ( this il, Type boxedType ) : ILGenerator
il this
boxedType System.Type
return System.Reflection.Emit.ILGenerator