Ejemplo n.º 1
0
 /// <summary>
 /// Push a constant RuntimeFieldHandle onto the stack.
 /// </summary>
 public Emit LoadConstant(FieldInfo field)
 {
     InnerEmit.LoadConstant(field);
     return(this);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Push a constant RuntimeMethodHandle onto the stack.
 /// </summary>
 public Emit LoadConstant(MethodInfo method)
 {
     InnerEmit.LoadConstant(method);
     return(this);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Push a constant double onto the stack.
 /// </summary>
 public Emit LoadConstant(double d)
 {
     InnerEmit.LoadConstant(d);
     return(this);
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Push a constant string onto the stack.
 /// </summary>
 public Emit LoadConstant(string str)
 {
     InnerEmit.LoadConstant(str);
     return(this);
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Push a constant int64 onto the stack.
 /// </summary>
 public Emit LoadConstant(ulong l)
 {
     InnerEmit.LoadConstant(l);
     return(this);
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Push a constant float onto the stack.
 /// </summary>
 public Emit LoadConstant(float f)
 {
     InnerEmit.LoadConstant(f);
     return(this);
 }
Ejemplo n.º 7
0
 /// <summary>
 /// Push a constant int32 onto the stack.
 /// </summary>
 public Emit LoadConstant(uint i)
 {
     InnerEmit.LoadConstant(i);
     return(this);
 }
Ejemplo n.º 8
0
 /// <summary>
 /// Push a constant RuntimeTypeHandle onto the stack.
 /// </summary>
 public Emit LoadConstant(Type type)
 {
     InnerEmit.LoadConstant(type);
     return(this);
 }
Ejemplo n.º 9
0
 /// <summary>
 /// <para>Push a 1 onto the stack if b is true, and 0 if false.</para>
 /// <para>Pushed values are int32s.</para>
 /// </summary>
 public Emit LoadConstant(bool b)
 {
     InnerEmit.LoadConstant(b);
     return(this);
 }
Ejemplo n.º 10
0
 /// <summary>
 /// Push a constant RuntimeTypeHandle onto the stack.
 /// </summary>
 public Emit LoadConstant <Type>()
 {
     InnerEmit.LoadConstant <Type>();
     return(this);
 }
Ejemplo n.º 11
0
 /// <summary>
 /// Push a constant RuntimeMethodHandle onto the stack.
 /// </summary>
 public Emit LoadConstant(ConstructorInfo constructor)
 {
     InnerEmit.LoadConstant(constructor);
     return(this);
 }