8 references to ERR_ExpressionTreeContainsBadCoalesce
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1130
or ErrorCode.
ERR_ExpressionTreeContainsBadCoalesce
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
974
Error(ErrorCode.
ERR_ExpressionTreeContainsBadCoalesce
, node.LeftOperand);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (3)
CodeGen\CodeGenExprLambdaTests.cs (3)
3117
Diagnostic(ErrorCode.
ERR_ExpressionTreeContainsBadCoalesce
, "null").WithLocation(6, 47));
3193
Diagnostic(ErrorCode.
ERR_ExpressionTreeContainsBadCoalesce
, "null"));
3209
Diagnostic(ErrorCode.
ERR_ExpressionTreeContainsBadCoalesce
, "null"));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\NullableReferenceTypesTests.cs (1)
3850
Diagnostic(ErrorCode.
ERR_ExpressionTreeContainsBadCoalesce
, "null").WithLocation(20, 58)
Semantics\ScriptSemanticsTests.cs (1)
1062
Diagnostic(ErrorCode.
ERR_ExpressionTreeContainsBadCoalesce
, "null").WithLocation(1, 65));
Semantics\SemanticErrorTests.cs (1)
13042
Diagnostic(ErrorCode.
ERR_ExpressionTreeContainsBadCoalesce
, "null")