static void ThrowIfOperandNull(ContextualOperand left) { if ((object)left == null) throw new ArgumentNullException("operand", "You should cast null to Operand base type because null can't be ContextualOperand"); }