7 references to ERR_BadOpOnNullOrDefaultOrNew
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder_Expressions.cs (1)
7636
DiagnosticInfo diagnosticInfo = new CSDiagnosticInfo(ErrorCode.
ERR_BadOpOnNullOrDefaultOrNew
, SyntaxFacts.GetText(operatorToken.Kind()), boundLeft.Display);
Binder\Binder_Operators.cs (5)
839
Error(diagnostics, ErrorCode.
ERR_BadOpOnNullOrDefaultOrNew
, node, operatorToken.Text, "default");
853
Error(diagnostics, ErrorCode.
ERR_BadOpOnNullOrDefaultOrNew
, node, operatorToken.Text, left.Display);
856
Error(diagnostics, ErrorCode.
ERR_BadOpOnNullOrDefaultOrNew
, node, operatorToken.Text, right.Display);
2737
Error(diagnostics, ErrorCode.
ERR_BadOpOnNullOrDefaultOrNew
, node, operatorText, operand.Display);
4003
Error(diagnostics, ErrorCode.
ERR_BadOpOnNullOrDefaultOrNew
, node, node.OperatorToken.Text, "default");
Errors\ErrorFacts.cs (1)
1826
or ErrorCode.
ERR_BadOpOnNullOrDefaultOrNew