示例#1
0
 /// <summary>
 /// Pops a value from the stack and casts to the given type if possible pushing the result, otherwise pushes a null.
 ///
 /// This is analogous to C#'s `as` operator.
 /// </summary>
 public Emit IsInstance(Type type)
 {
     InnerEmit.IsInstance(type);
     return(this);
 }
示例#2
0
 /// <summary>
 /// Pops a value from the stack and casts to the given type if possible pushing the result, otherwise pushes a null.
 ///
 /// This is analogous to C#'s `as` operator.
 /// </summary>
 public Emit IsInstance <Type>()
 {
     InnerEmit.IsInstance <Type>();
     return(this);
 }