Exemplo 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);
 }
Exemplo n.º 2
0
 public ILInstructionPattern(ILCode opCode, ILOperandPattern operand, params ILExpressionPattern[] arguments)
     : this(new ILOpCodePattern(opCode), operand, arguments)
 {
 }
Exemplo n.º 3
0
 public ILInstructionPattern WithOperand(ILOperandPattern operand)
 {
     Operand = operand;
     return(this);
 }
Exemplo n.º 4
0
 public ILInstructionPattern WithOperand(params object[] operands)
 {
     Operand = new ILOperandPattern(operands);
     return(this);
 }