コード例 #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);
 }
コード例 #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);
 }