Exemplo n.º 1
0
 /// <summary>
 /// <para>Convert a value on the stack to the given non-character primitive type.</para>
 /// <para>Primitives are int8, uint8, int16, uint16, int32, uint32, int64, uint64, float, double, native int (IntPtr), and unsigned native int (UIntPtr). </para>
 /// </summary>
 public Emit Convert(Type primitiveType)
 {
     InnerEmit.Convert(primitiveType);
     return(this);
 }
Exemplo n.º 2
0
 /// <summary>
 /// <para>Convert a value on the stack to the given non-character primitive type.</para>
 /// <para>Primitives are int8, uint8, int16, uint16, int32, uint32, int64, uint64, float, double, native int (IntPtr), and unsigned native int (UIntPtr). </para>
 /// </summary>
 public Emit Convert <PrimitiveType>()
     where PrimitiveType : struct
 {
     InnerEmit.Convert <PrimitiveType>();
     return(this);
 }