Ejemplo n.º 1
0
 public ILInstructionPattern(ILOpCodePattern opCode, ILOperandPattern operand,
                             params ILExpressionPattern[] arguments)
 {
     OpCode    = opCode ?? throw new ArgumentNullException(nameof(opCode));
     Operand   = operand;
     Arguments = new List <ILExpressionPattern>(arguments);
 }
Ejemplo n.º 2
0
 public ILInstructionPattern(ILCode opCode, ILOperandPattern operand, params ILExpressionPattern[] arguments)
     : this(new ILOpCodePattern(opCode), operand, arguments)
 {
 }
Ejemplo n.º 3
0
 public ILInstructionPattern WithOperand(ILOperandPattern operand)
 {
     Operand = operand;
     return(this);
 }
Ejemplo n.º 4
0
 public ILInstructionPattern WithOperand(params object[] operands)
 {
     Operand = new ILOperandPattern(operands);
     return(this);
 }