13 references to ERR_NullNotValid
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Query.cs (1)
950
diagnostics.Add(ErrorCode.
ERR_NullNotValid
, node.Location);
Binder\ForEachLoopBinder.cs (1)
943
diagnostics.Add(ErrorCode.
ERR_NullNotValid
, collectionExpr.Syntax.Location);
Errors\ErrorFacts.cs (1)
771
or ErrorCode.
ERR_NullNotValid
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (3)
CodeGen\CodeGenAwaitForeachTests.cs (2)
6569
Diagnostic(ErrorCode.
ERR_NullNotValid
, "null").WithLocation(8, 33)
10153
Diagnostic(ErrorCode.
ERR_NullNotValid
, "null").WithLocation(8, 33)
CodeGen\CodeGenForEachTests.cs (1)
2623
Diagnostic(ErrorCode.
ERR_NullNotValid
, "null").WithLocation(7, 27)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Semantics\CollectionExpressionTests.cs (1)
12328
Diagnostic(ErrorCode.
ERR_NullNotValid
, "null").WithLocation(5, 22));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (6)
Semantics\ForEachTests.cs (2)
62
Diagnostic(ErrorCode.
ERR_NullNotValid
, "null"));
257
Diagnostic(ErrorCode.
ERR_NullNotValid
, "null").WithLocation(5, 27));
Semantics\NullableReferenceTypesTests.cs (1)
1477
Diagnostic(ErrorCode.
ERR_NullNotValid
, "select x").WithLocation(8, 29),
Semantics\QueryTests.cs (1)
3207
Diagnostic(ErrorCode.
ERR_NullNotValid
, "select x").WithLocation(7, 42)
Semantics\SemanticErrorTests.cs (1)
6978
Diagnostic(ErrorCode.
ERR_NullNotValid
, "null").WithLocation(9, 27));
Semantics\TargetTypedDefaultTests.cs (1)
2750
Diagnostic(ErrorCode.
ERR_NullNotValid
, "null").WithLocation(7, 27)