26 references to WRN_TopLevelNullabilityMismatchInReturnTypeOnImplicitImplementation
Microsoft.CodeAnalysis.CSharp (5)
Errors\ErrorFacts.cs (3)
75
nullableWarnings.Add(GetId(ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnImplicitImplementation
));
483
case ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnImplicitImplementation
:
2039
or ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnImplicitImplementation
Generated\ErrorFacts.Generated.cs (1)
236
case ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnImplicitImplementation
:
Symbols\TypeSymbol.cs (1)
1834
ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnImplicitImplementation
:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (20)
Semantics\NullableReferenceTypesTests.cs (20)
6205
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnImplicitImplementation
, "M").WithArguments("string? C.M()", "string I.M()").WithLocation(10, 20)
13019
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnImplicitImplementation
, "get").WithArguments("string[]? B.P2.get", "string[] IA.P2.get").WithLocation(23, 26),
13025
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnImplicitImplementation
, "get").WithArguments("string[]? B.this[short x].get", "string[] IA.this[short x].get").WithLocation(34, 9),
15056
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnImplicitImplementation
, "M4").WithArguments("ref object B.M4()", "ref object? A.M4()").WithLocation(23, 23),
15110
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnImplicitImplementation
, "M").WithArguments("object? C.M()", "object B.M()").WithLocation(20, 20),
15119
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnImplicitImplementation
, "M4").WithArguments("ref object? C.M4()", "ref object B.M4()").WithLocation(23, 24),
15122
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnImplicitImplementation
, "M5").WithArguments("ref readonly object? C.M5()", "ref readonly object B.M5()").WithLocation(24, 33),
15125
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnImplicitImplementation
, "get").WithArguments("Func<object>? C.P1.get", "Func<object> B.P1.get").WithLocation(25, 31),
15131
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnImplicitImplementation
, "null!").WithArguments("object? C.P3.get", "object B.P3.get").WithLocation(27, 26)
15175
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnImplicitImplementation
, "A").WithArguments("ref object B.M4()", "ref object? A.M4()").WithLocation(31, 14),
15443
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnImplicitImplementation
, "B").WithArguments("Func<object>? C.P1.get", "Func<object> B.P1.get").WithLocation(14, 14)
15505
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnImplicitImplementation
, "get").WithArguments("Func<object>? D.P1.get", "Func<object> B.P1.get").WithLocation(16, 40),
16144
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnImplicitImplementation
, "get").WithArguments("object? B.this[object? o].get", "object A.this[object o].get").WithLocation(23, 38)
29880
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnImplicitImplementation
, "M2").WithArguments("string? Implicit.M2()", "string? I.M2()").WithLocation(11, 20),
139194
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnImplicitImplementation
, "Goo").WithArguments("U? C1<U>.Goo<T>(T value)", "U I<U>.Goo<T>(T value)").WithLocation(11, 15),
139197
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnImplicitImplementation
, "Goo").WithArguments("U? C1<U>.Goo<T>(T? value)", "U I<U>.Goo<T>(T? value)").WithLocation(12, 15),
139235
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnImplicitImplementation
, "Goo").WithArguments("U? C1<U>.Goo<T>(T value)", "U I<U>.Goo<T>(T value)").WithLocation(11, 15),
139238
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnImplicitImplementation
, "Goo").WithArguments("U? C1<U>.Goo<T>(T? value)", "U I<U>.Goo<T>(T? value)").WithLocation(12, 15),
157839
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnImplicitImplementation
, "M").WithArguments("T? D.M<T>()", "T I.M<T>()").WithLocation(10, 15)
157862
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnImplicitImplementation
, "M").WithArguments("T? D.M<T>()", "T I.M<T>()").WithLocation(10, 15)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
387
case ErrorCode.
WRN_TopLevelNullabilityMismatchInReturnTypeOnImplicitImplementation
: