33 references to WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
Microsoft.CodeAnalysis.CSharp (5)
Errors\ErrorFacts.cs (3)
71
nullableWarnings.Add(GetId(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
));
486
case ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
:
2042
or ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
Generated\ErrorFacts.Generated.cs (1)
239
case ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
:
Symbols\TypeSymbol.cs (1)
1848
ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (25)
Semantics\NullableReferenceTypesTests.cs (24)
15676
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "set").WithArguments("value", "void A.P1.set").WithLocation(25, 30),
15801
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "set").WithArguments("value", "void A.P1.set").WithLocation(25, 39),
16302
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "M4").WithArguments("o", "void A.M4(ref object o)").WithLocation(20, 12),
16305
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "M5").WithArguments("o", "void A.M5(out object o)").WithLocation(21, 12),
16346
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "M").WithArguments("o", "void B.M(object? o)").WithLocation(17, 12),
16355
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "M4").WithArguments("o", "void B.M4(ref object? o)").WithLocation(20, 12),
16358
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "M6").WithArguments("o", "void B.M6(in object? o)").WithLocation(22, 12),
16361
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "get").WithArguments("o", "object? B.this[object? o].get").WithLocation(23, 31),
16364
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "set").WithArguments("o", "void B.this[object? o].set").WithLocation(23, 45),
16367
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "set").WithArguments("value", "void B.this[object? o].set").WithLocation(23, 45),
16370
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "null!").WithArguments("s", "string B.this[string? s].get").WithLocation(24, 32),
16373
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "set").WithArguments("a", "void B.this[int[]? a].set").WithLocation(25, 30)
29883
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "M1").WithArguments("s", "void I.M1(string s)").WithLocation(15, 12),
138988
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "Method").WithArguments("i", "void Interface<string>.Method(string? i)").WithLocation(11, 28)
139085
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "Goo").WithArguments("value", "void I.Goo<T>(T? value)").WithLocation(15, 12));
151352
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "F2").WithArguments("u", "void I<T>.F2<U>(U? u)").WithLocation(5, 15),
151382
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "F2").WithArguments("u", "void I<T?>.F2<U>(U? u)").WithLocation(15, 16),
151424
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "F2").WithArguments("u", "void I<T?>.F2<U>(U? u)").WithLocation(25, 16),
151454
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "F2").WithArguments("u", "void I<T>.F2<U>(U? u)").WithLocation(5, 15),
151475
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "F2").WithArguments("u", "void I<T?>.F2<U>(U? u)").WithLocation(15, 16),
151496
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "F2").WithArguments("u", "void I<T?>.F2<U>(U? u)").WithLocation(25, 16));
151534
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "F2").WithArguments("u", "void I<string>.F2<U>(U? u)").WithLocation(5, 20),
151555
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "F2").WithArguments("u", "void I<string?>.F2<U>(U? u)").WithLocation(15, 21),
151579
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "F2").WithArguments("u", "void I<string?>.F2<U>(U? u)").WithLocation(25, 21),
Semantics\RefFieldTests.cs (1)
17801
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "F1").WithArguments("t", "void I.F1<T>(out T t)").WithLocation(24, 12));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Symbols\ExtendedPartialMethodsTests.cs (2)
1822
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "M").WithArguments("s1", "void I.M(string s1, string s2)").WithLocation(17, 12),
1825
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "M").WithArguments("s2", "void I.M(string s1, string s2)").WithLocation(17, 12)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
390
case ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
: