32 references to WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
Microsoft.CodeAnalysis.CSharp (5)
Errors\ErrorFacts.cs (3)
71
nullableWarnings.Add(GetId(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
));
473
case ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
:
1985
case ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
:
Generated\ErrorFacts.Generated.cs (1)
239
case ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
:
Symbols\TypeSymbol.cs (1)
1817
ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (24)
Semantics\NullableReferenceTypesTests.cs (23)
15652
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "set").WithArguments("value", "void A.P1.set").WithLocation(25, 30),
15777
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "set").WithArguments("value", "void A.P1.set").WithLocation(25, 39),
16275
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "M4").WithArguments("o", "void A.M4(ref object o)").WithLocation(20, 12),
16278
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "M5").WithArguments("o", "void A.M5(out object o)").WithLocation(21, 12),
16319
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "M").WithArguments("o", "void B.M(object? o)").WithLocation(17, 12),
16328
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "M4").WithArguments("o", "void B.M4(ref object? o)").WithLocation(20, 12),
16331
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "M6").WithArguments("o", "void B.M6(in object? o)").WithLocation(22, 12),
16334
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "set").WithArguments("o", "void B.this[object? o].set").WithLocation(23, 45),
16337
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "set").WithArguments("value", "void B.this[object? o].set").WithLocation(23, 45),
16340
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "null!").WithArguments("s", "string B.this[string? s].get").WithLocation(24, 32),
16343
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "set").WithArguments("a", "void B.this[int[]? a].set").WithLocation(25, 30)
27945
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "M1").WithArguments("s", "void I.M1(string s)").WithLocation(15, 12),
134688
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "Method").WithArguments("i", "void Interface<string>.Method(string? i)").WithLocation(11, 28)
134785
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "Goo").WithArguments("value", "void I.Goo<T>(T? value)").WithLocation(15, 12));
146922
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "F2").WithArguments("u", "void I<T>.F2<U>(U? u)").WithLocation(5, 15),
146952
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "F2").WithArguments("u", "void I<T?>.F2<U>(U? u)").WithLocation(15, 16),
146994
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "F2").WithArguments("u", "void I<T?>.F2<U>(U? u)").WithLocation(25, 16),
147024
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "F2").WithArguments("u", "void I<T>.F2<U>(U? u)").WithLocation(5, 15),
147045
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "F2").WithArguments("u", "void I<T?>.F2<U>(U? u)").WithLocation(15, 16),
147066
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "F2").WithArguments("u", "void I<T?>.F2<U>(U? u)").WithLocation(25, 16));
147104
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "F2").WithArguments("u", "void I<string>.F2<U>(U? u)").WithLocation(5, 20),
147125
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "F2").WithArguments("u", "void I<string?>.F2<U>(U? u)").WithLocation(15, 21),
147149
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "F2").WithArguments("u", "void I<string?>.F2<U>(U? u)").WithLocation(25, 21),
Semantics\RefFieldTests.cs (1)
17186
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)
1754
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
, "M").WithArguments("s1", "void I.M(string s1, string s2)").WithLocation(17, 12),
1757
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)
368
case ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation
: