9 references to ERR_BadBinaryOps
Microsoft.CodeAnalysis.CSharp (9)
Binder\Binder_Operators.cs (7)
89Error(diagnostics, ErrorCode.ERR_BadBinaryOps, node, node.OperatorToken.Text, left.Display, right.Display); 384Error(diagnostics, ErrorCode.ERR_BadBinaryOps, node, node.OperatorToken.Text, left.Display, right.Display); 874errorCode = ErrorCode.ERR_BadBinaryOps; // Operator '{0}' cannot be applied to operands of type '{1}' and '{2}' 3371Error(diagnostics, ErrorCode.ERR_BadBinaryOps, syntax, "is", operandType, targetType); 3930Error(diagnostics, ErrorCode.ERR_BadBinaryOps, node, "as", operandType, targetType); 3977Error(diagnostics, ErrorCode.ERR_BadBinaryOps, node, SyntaxFacts.GetText(node.OperatorToken.Kind()), leftOperand.Display, rightOperand.Display); 4235Error(diagnostics, ErrorCode.ERR_BadBinaryOps, node, SyntaxFacts.GetText(node.OperatorToken.Kind()), leftOperand.Display, rightOperand.Display);
Binder\Binder_TupleOperators.cs (1)
189Error(diagnostics, ErrorCode.ERR_BadBinaryOps, node, node.OperatorToken.Text, left.Display, right.Display);
Errors\ErrorFacts.cs (1)
647or ErrorCode.ERR_BadBinaryOps