26 references to WRN_TopLevelNullabilityMismatchInReturnTypeOnExplicitImplementation
Microsoft.CodeAnalysis.CSharp (5)
Errors\ErrorFacts.cs (3)
74
nullableWarnings.Add(GetId(ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnExplicitImplementation
));
472
case ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnExplicitImplementation
:
1984
case ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnExplicitImplementation
:
Generated\ErrorFacts.Generated.cs (1)
238
case ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnExplicitImplementation
:
Symbols\TypeSymbol.cs (1)
1796
ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnExplicitImplementation
:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (20)
Semantics\NullableReferenceTypesTests.cs (20)
13101
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnExplicitImplementation
, "get").WithArguments("string[] IA.P2.get").WithLocation(23, 22),
13107
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnExplicitImplementation
, "get").WithArguments("string[] IA.this[short x].get").WithLocation(34, 9)
15649
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnExplicitImplementation
, "M4").WithArguments("ref object? A.M4()").WithLocation(23, 18),
15706
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnExplicitImplementation
, "M").WithArguments("object B.M()").WithLocation(20, 15),
15715
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnExplicitImplementation
, "M4").WithArguments("ref object B.M4()").WithLocation(23, 19),
15718
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnExplicitImplementation
, "M5").WithArguments("ref readonly object B.M5()").WithLocation(24, 28),
15721
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnExplicitImplementation
, "get").WithArguments("Func<object> B.P1.get").WithLocation(25, 26),
15727
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnExplicitImplementation
, "null!").WithArguments("object B.P3.get").WithLocation(27, 21)
15774
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnExplicitImplementation
, "M4").WithArguments("ref object? A.M4()").WithLocation(23, 18),
15833
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnExplicitImplementation
, "M").WithArguments("object B.M()").WithLocation(20, 15),
15842
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnExplicitImplementation
, "M4").WithArguments("ref object B.M4()").WithLocation(23, 19),
15845
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnExplicitImplementation
, "M5").WithArguments("ref readonly object B.M5()").WithLocation(24, 28),
15848
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnExplicitImplementation
, "get").WithArguments("Func<object> B.P1.get").WithLocation(25, 26),
15854
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnExplicitImplementation
, "null!").WithArguments("object B.P3.get").WithLocation(27, 21)
16281
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnExplicitImplementation
, "get").WithArguments("object A.this[object o].get").WithLocation(23, 33)
27948
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnExplicitImplementation
, "M2").WithArguments("string? I.M2()").WithLocation(16, 15)
134900
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnExplicitImplementation
, "Goo").WithArguments("U I<U>.Goo<T>(T value)").WithLocation(17, 13),
134903
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnExplicitImplementation
, "Goo").WithArguments("U I<U>.Goo<T>(T? value)").WithLocation(18, 13));
134941
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnExplicitImplementation
, "Goo").WithArguments("U I<U>.Goo<T>(T value)").WithLocation(17, 13),
134944
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnExplicitImplementation
, "Goo").WithArguments("U I<U>.Goo<T>(T? value)").WithLocation(18, 13));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
367
case ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnExplicitImplementation
: