コード例 #1
0
ファイル: Emit.SizeOf.cs プロジェクト: 5l1v3r1/Sigil-1
 /// <summary>
 /// Pushes the size of the given value type onto the stack.
 /// </summary>
 public Emit SizeOf <ValueType>()
     where ValueType : struct
 {
     InnerEmit.SizeOf <ValueType>();
     return(this);
 }
コード例 #2
0
ファイル: Emit.SizeOf.cs プロジェクト: 5l1v3r1/Sigil-1
 /// <summary>
 /// Pushes the size of the given value type onto the stack.
 /// </summary>
 public Emit SizeOf(Type valueType)
 {
     InnerEmit.SizeOf(valueType);
     return(this);
 }