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