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