198 references to WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
Microsoft.CodeAnalysis.CSharp (5)
Errors\ErrorFacts.cs (3)
73
nullableWarnings.Add(GetId(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
));
482
case ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
:
2038
or ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
Generated\ErrorFacts.Generated.cs (1)
235
case ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
:
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
1231
topLevel ? ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
: ErrorCode.WRN_NullabilityMismatchInParameterTypeOnOverride,
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Symbols\UserDefinedCompoundAssignmentOperatorsTests.cs (1)
19865
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "+=").WithArguments("x").WithLocation(12, 35)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (186)
Semantics\NullableReferenceTypesTests.cs (185)
12088
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M3").WithArguments("x").WithLocation(35, 26),
14568
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(25, 44),
14607
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(51, 44),
14667
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(14, 44)
14767
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M4").WithArguments("o").WithLocation(20, 26),
14770
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M5").WithArguments("o").WithLocation(21, 26),
14776
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M").WithArguments("o").WithLocation(29, 26),
14785
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M4").WithArguments("o").WithLocation(32, 26),
14788
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M6").WithArguments("o").WithLocation(34, 26),
14791
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "get").WithArguments("o").WithLocation(35, 45),
14794
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("o").WithLocation(35, 59),
14797
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(35, 59),
14800
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "null!").WithArguments("s").WithLocation(36, 46),
14803
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("a").WithLocation(37, 44),
14806
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M4").WithArguments("o").WithLocation(44, 26),
14809
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M5").WithArguments("o").WithLocation(45, 26),
14815
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M").WithArguments("o").WithLocation(53, 26),
14824
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M4").WithArguments("o").WithLocation(56, 26),
14827
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M6").WithArguments("o").WithLocation(58, 26),
14830
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "get").WithArguments("o").WithLocation(59, 45),
14833
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("o").WithLocation(59, 59),
14836
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(59, 59),
14839
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "null!").WithArguments("s").WithLocation(60, 46),
14842
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("a").WithLocation(61, 44)
14873
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "get").WithArguments("o").WithLocation(18, 45)
14904
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "get").WithArguments("o").WithLocation(18, 45)
14934
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M").WithArguments("t").WithLocation(9, 29),
14940
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M").WithArguments("t").WithLocation(17, 29));
14984
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M").WithArguments("o").WithLocation(13, 28));
15275
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(15, 39),
41217
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t1").WithLocation(12, 26),
41220
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t3").WithLocation(12, 26),
41223
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t4").WithLocation(12, 26),
41226
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t1").WithLocation(13, 26),
41229
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t3").WithLocation(13, 26),
41232
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t4").WithLocation(13, 26)
41260
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t1").WithLocation(12, 26),
41263
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t3").WithLocation(12, 26),
41266
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t4").WithLocation(12, 26),
41269
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t1").WithLocation(13, 26),
41272
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t3").WithLocation(13, 26),
41275
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t4").WithLocation(13, 26)
42013
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t1").WithLocation(12, 26),
42016
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t2").WithLocation(12, 26),
42019
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t3").WithLocation(12, 26),
42022
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t4").WithLocation(12, 26),
42025
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t1").WithLocation(13, 26),
42028
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t4").WithLocation(13, 26),
42031
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t1").WithLocation(14, 26),
42034
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t2").WithLocation(14, 26),
42037
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t3").WithLocation(14, 26),
42040
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t4").WithLocation(14, 26),
42043
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t1").WithLocation(15, 26),
42046
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t4").WithLocation(15, 26),
42049
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t1").WithLocation(16, 26),
42052
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t2").WithLocation(16, 26),
42055
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t3").WithLocation(16, 26),
42058
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t4").WithLocation(16, 26)
42088
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t2").WithLocation(12, 26),
42091
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t3").WithLocation(12, 26),
42094
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t2").WithLocation(14, 26),
42097
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t3").WithLocation(14, 26),
42100
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t2").WithLocation(16, 26),
42103
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t3").WithLocation(16, 26)
42173
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t1").WithLocation(13, 26),
42176
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t4").WithLocation(13, 26),
42179
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t1").WithLocation(14, 26),
42182
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t4").WithLocation(14, 26),
42185
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t1").WithLocation(15, 26),
42188
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t4").WithLocation(15, 26)
42225
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t1").WithLocation(13, 26),
42228
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t4").WithLocation(13, 26),
42231
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t1").WithLocation(14, 26),
42234
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t4").WithLocation(14, 26),
42237
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t1").WithLocation(15, 26),
42240
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t4").WithLocation(15, 26)
43375
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t1").WithLocation(13, 26),
43378
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t4").WithLocation(13, 26),
43381
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t1").WithLocation(14, 26),
43384
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t4").WithLocation(14, 26),
43387
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t1").WithLocation(15, 26),
43390
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t4").WithLocation(15, 26),
43393
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t1").WithLocation(16, 26),
43396
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t4").WithLocation(16, 26),
43399
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t1").WithLocation(17, 26),
43402
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t4").WithLocation(17, 26),
43405
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t1").WithLocation(18, 26),
43408
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t4").WithLocation(18, 26)
43518
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t2").WithLocation(12, 26),
43521
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t3").WithLocation(12, 26),
43524
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t2").WithLocation(13, 26),
43527
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t3").WithLocation(13, 26)
43560
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t2").WithLocation(12, 26),
43563
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t3").WithLocation(12, 26),
43566
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t2").WithLocation(13, 26),
43569
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t3").WithLocation(13, 26)
43601
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t2").WithLocation(13, 26),
43604
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t3").WithLocation(13, 26),
43607
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t2").WithLocation(14, 26),
43610
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t3").WithLocation(14, 26),
43613
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t2").WithLocation(18, 26),
43616
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t3").WithLocation(18, 26)
43639
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t4").WithLocation(8, 26)
43671
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t2").WithLocation(13, 26),
43674
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t3").WithLocation(13, 26),
43677
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t2").WithLocation(14, 26),
43680
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t3").WithLocation(14, 26),
43683
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t2").WithLocation(18, 26),
43686
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t3").WithLocation(18, 26)
43718
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t1").WithLocation(13, 26),
43721
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t4").WithLocation(13, 26),
43724
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t1").WithLocation(14, 26),
43727
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t4").WithLocation(14, 26),
43730
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t1").WithLocation(15, 26),
43733
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t4").WithLocation(15, 26),
43736
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t1").WithLocation(16, 26),
43739
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t4").WithLocation(16, 26),
43742
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t1").WithLocation(17, 26),
43745
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t4").WithLocation(17, 26),
43748
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t1").WithLocation(18, 26),
43751
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t4").WithLocation(18, 26)
43807
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t1").WithLocation(12, 26),
43810
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t3").WithLocation(12, 26),
43813
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t4").WithLocation(12, 26),
43816
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t1").WithLocation(14, 26),
43819
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t3").WithLocation(14, 26),
43822
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t4").WithLocation(14, 26),
43825
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t1").WithLocation(16, 26),
43828
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t3").WithLocation(16, 26),
43831
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t4").WithLocation(16, 26)
45050
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(11, 59),
45217
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(11, 54),
48555
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("p").WithLocation(17, 26),
48558
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("p").WithLocation(19, 26),
48561
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("p").WithLocation(21, 26)
48597
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("p").WithLocation(18, 26),
48600
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("p").WithLocation(22, 26)
48630
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t2").WithLocation(12, 26),
48633
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t2").WithLocation(14, 26),
48636
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t2").WithLocation(16, 26)
48668
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t2").WithLocation(14, 26),
48671
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t2").WithLocation(16, 26),
48674
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t2").WithLocation(18, 26)
82313
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M").WithArguments("s").WithLocation(19, 26)
150710
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(5, 26),
150731
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(15, 26),
150752
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(25, 26));
150758
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(5, 26),
150779
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(15, 26),
150800
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(25, 26));
150838
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(5, 26),
150859
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(15, 26),
150880
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(25, 26));
150918
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(5, 26),
150939
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(15, 26),
150960
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(25, 26));
151081
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(5, 26),
151102
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(15, 26),
151123
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(25, 26));
151161
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(5, 26),
151182
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(15, 26),
151206
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(25, 26),
153312
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t").WithLocation(13, 26),
153315
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t").WithLocation(14, 26),
153318
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t").WithLocation(15, 26),
153321
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t").WithLocation(16, 26),
153324
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t").WithLocation(17, 26),
153327
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t").WithLocation(18, 26));
153519
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t").WithLocation(13, 26),
153522
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t").WithLocation(14, 26),
153525
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t").WithLocation(15, 26),
153528
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t").WithLocation(16, 26),
153531
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t").WithLocation(17, 26),
153534
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t").WithLocation(18, 26));
155159
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t").WithLocation(14, 26),
155162
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t").WithLocation(19, 26)
155220
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t").WithLocation(14, 26),
155223
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t").WithLocation(15, 26),
155226
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t").WithLocation(16, 26),
155229
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t").WithLocation(17, 26),
155232
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t").WithLocation(18, 26),
155235
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t").WithLocation(19, 26));
155496
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t").WithLocation(5, 26));
157793
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M").WithArguments("t").WithLocation(10, 26)
157816
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M").WithArguments("t").WithLocation(10, 26)
Semantics\RefFieldTests.cs (1)
17759
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t").WithLocation(14, 26));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (5)
Symbols\ExtendedPartialMethodsTests.cs (3)
516
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M1").WithArguments("s1").WithLocation(12, 28)
542
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M1").WithArguments("s1").WithLocation(12, 28)
843
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M1").WithArguments("s1").WithLocation(11, 36)
Symbols\RequiredMembersTests.cs (2)
6120
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(22, 48)
6198
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(23, 49)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
392
case ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
: