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