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}'
3366
Error(diagnostics, ErrorCode.
ERR_BadBinaryOps
, syntax, "is", operandType, targetType);
3925
Error(diagnostics, ErrorCode.
ERR_BadBinaryOps
, node, "as", operandType, targetType);
3972
Error(diagnostics, ErrorCode.
ERR_BadBinaryOps
, node, SyntaxFacts.GetText(node.OperatorToken.Kind()), leftOperand.Display, rightOperand.Display);
4230
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)
644
or ErrorCode.
ERR_BadBinaryOps