14 references to ERR_IsNullableType
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Operators.cs (1)
3221
Error(diagnostics, ErrorCode.
ERR_IsNullableType
, node.Right, targetType);
Errors\ErrorFacts.cs (1)
1934
case ErrorCode.
ERR_IsNullableType
:
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (4)
Semantics\PatternMatchingTests2.cs (1)
2714
Diagnostic(ErrorCode.
ERR_IsNullableType
, "string?").WithArguments("string").WithLocation(10, 22),
Semantics\PatternMatchingTests4.cs (3)
3718
Diagnostic(ErrorCode.
ERR_IsNullableType
, "A?").WithArguments("A").WithLocation(7, 18),
3757
Diagnostic(ErrorCode.
ERR_IsNullableType
, "A?").WithArguments("A").WithLocation(14, 18),
3760
Diagnostic(ErrorCode.
ERR_IsNullableType
, "A[][]?").WithArguments("A[][]").WithLocation(15, 18),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (8)
Semantics\NullableReferenceTypesTests.cs (8)
7520
Diagnostic(ErrorCode.
ERR_IsNullableType
, "string?").WithArguments("string").WithLocation(6, 18),
7526
Diagnostic(ErrorCode.
ERR_IsNullableType
, "string ?").WithArguments("string").WithLocation(7, 18),
7538
Diagnostic(ErrorCode.
ERR_IsNullableType
, "object[]?").WithArguments("object[]").WithLocation(14, 18),
7544
Diagnostic(ErrorCode.
ERR_IsNullableType
, "object[] ?").WithArguments("object[]").WithLocation(15, 18),
7569
Diagnostic(ErrorCode.
ERR_IsNullableType
, "string?").WithArguments("string").WithLocation(6, 18),
7572
Diagnostic(ErrorCode.
ERR_IsNullableType
, "string ?").WithArguments("string").WithLocation(7, 18),
7578
Diagnostic(ErrorCode.
ERR_IsNullableType
, "object[]?").WithArguments("object[]").WithLocation(14, 18),
7581
Diagnostic(ErrorCode.
ERR_IsNullableType
, "object[] ?").WithArguments("object[]").WithLocation(15, 18),