33 references to WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
Microsoft.CodeAnalysis.CSharp (5)
Errors\ErrorFacts.cs (3)
71
nullableWarnings.Add(GetId(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
));
485
case ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
:
2041
or ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
Generated\ErrorFacts.Generated.cs (1)
238
case ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
:
Symbols\TypeSymbol.cs (1)
1836
ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (25)
Semantics\NullableReferenceTypesTests.cs (24)
15673
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "set").WithArguments("value", "void A.P1.set").WithLocation(25, 30),
15798
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "set").WithArguments("value", "void A.P1.set").WithLocation(25, 39),
16299
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "M4").WithArguments("o", "void A.M4(ref object o)").WithLocation(20, 12),
16302
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "M5").WithArguments("o", "void A.M5(out object o)").WithLocation(21, 12),
16343
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "M").WithArguments("o", "void B.M(object? o)").WithLocation(17, 12),
16352
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "M4").WithArguments("o", "void B.M4(ref object? o)").WithLocation(20, 12),
16355
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "M6").WithArguments("o", "void B.M6(in object? o)").WithLocation(22, 12),
16358
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "get").WithArguments("o", "object? B.this[object? o].get").WithLocation(23, 31),
16361
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "set").WithArguments("o", "void B.this[object? o].set").WithLocation(23, 45),
16364
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "set").WithArguments("value", "void B.this[object? o].set").WithLocation(23, 45),
16367
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "null!").WithArguments("s", "string B.this[string? s].get").WithLocation(24, 32),
16370
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "set").WithArguments("a", "void B.this[int[]? a].set").WithLocation(25, 30)
29884
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "M1").WithArguments("s", "void I.M1(string s)").WithLocation(15, 12),
139007
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "Method").WithArguments("i", "void Interface<string>.Method(string? i)").WithLocation(11, 28)
139104
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "Goo").WithArguments("value", "void I.Goo<T>(T? value)").WithLocation(15, 12));
151405
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "F2").WithArguments("u", "void I<T>.F2<U>(U? u)").WithLocation(5, 15),
151435
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "F2").WithArguments("u", "void I<T?>.F2<U>(U? u)").WithLocation(15, 16),
151477
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "F2").WithArguments("u", "void I<T?>.F2<U>(U? u)").WithLocation(25, 16),
151507
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "F2").WithArguments("u", "void I<T>.F2<U>(U? u)").WithLocation(5, 15),
151528
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "F2").WithArguments("u", "void I<T?>.F2<U>(U? u)").WithLocation(15, 16),
151549
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "F2").WithArguments("u", "void I<T?>.F2<U>(U? u)").WithLocation(25, 16));
151587
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "F2").WithArguments("u", "void I<string>.F2<U>(U? u)").WithLocation(5, 20),
151608
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "F2").WithArguments("u", "void I<string?>.F2<U>(U? u)").WithLocation(15, 21),
151632
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)
1812
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "M").WithArguments("s1", "void I.M(string s1, string s2)").WithLocation(17, 12),
1815
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
: