示例#1
0
 /// <summary>
 /// Push a constant RuntimeFieldHandle onto the stack.
 /// </summary>
 public Emit LoadConstant(FieldInfo field)
 {
     InnerEmit.LoadConstant(field);
     return(this);
 }
示例#2
0
 /// <summary>
 /// Push a constant RuntimeMethodHandle onto the stack.
 /// </summary>
 public Emit LoadConstant(MethodInfo method)
 {
     InnerEmit.LoadConstant(method);
     return(this);
 }
示例#3
0
 /// <summary>
 /// Push a constant double onto the stack.
 /// </summary>
 public Emit LoadConstant(double d)
 {
     InnerEmit.LoadConstant(d);
     return(this);
 }
示例#4
0
 /// <summary>
 /// Push a constant string onto the stack.
 /// </summary>
 public Emit LoadConstant(string str)
 {
     InnerEmit.LoadConstant(str);
     return(this);
 }
示例#5
0
 /// <summary>
 /// Push a constant int64 onto the stack.
 /// </summary>
 public Emit LoadConstant(ulong l)
 {
     InnerEmit.LoadConstant(l);
     return(this);
 }
示例#6
0
 /// <summary>
 /// Push a constant float onto the stack.
 /// </summary>
 public Emit LoadConstant(float f)
 {
     InnerEmit.LoadConstant(f);
     return(this);
 }
示例#7
0
 /// <summary>
 /// Push a constant int32 onto the stack.
 /// </summary>
 public Emit LoadConstant(uint i)
 {
     InnerEmit.LoadConstant(i);
     return(this);
 }
示例#8
0
 /// <summary>
 /// Push a constant RuntimeTypeHandle onto the stack.
 /// </summary>
 public Emit LoadConstant(Type type)
 {
     InnerEmit.LoadConstant(type);
     return(this);
 }
示例#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);
 }
示例#10
0
 /// <summary>
 /// Push a constant RuntimeTypeHandle onto the stack.
 /// </summary>
 public Emit LoadConstant <Type>()
 {
     InnerEmit.LoadConstant <Type>();
     return(this);
 }
示例#11
0
 /// <summary>
 /// Push a constant RuntimeMethodHandle onto the stack.
 /// </summary>
 public Emit LoadConstant(ConstructorInfo constructor)
 {
     InnerEmit.LoadConstant(constructor);
     return(this);
 }