193 references to WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
Microsoft.CodeAnalysis.CSharp (5)
Errors\ErrorFacts.cs (3)
73
nullableWarnings.Add(GetId(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
));
469
case ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
:
1981
case ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
:
Generated\ErrorFacts.Generated.cs (1)
235
case ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
:
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
1227
topLevel ? ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
: ErrorCode.WRN_NullabilityMismatchInParameterTypeOnOverride,
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (184)
Semantics\NullableReferenceTypesTests.cs (183)
12076
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M3").WithArguments("x").WithLocation(35, 26),
14556
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(25, 44),
14595
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(51, 44),
14655
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(14, 44)
14755
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M4").WithArguments("o").WithLocation(20, 26),
14758
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M5").WithArguments("o").WithLocation(21, 26),
14764
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M").WithArguments("o").WithLocation(29, 26),
14773
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M4").WithArguments("o").WithLocation(32, 26),
14776
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M6").WithArguments("o").WithLocation(34, 26),
14779
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("o").WithLocation(35, 59),
14782
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(35, 59),
14785
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "null!").WithArguments("s").WithLocation(36, 46),
14788
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("a").WithLocation(37, 44),
14791
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M4").WithArguments("o").WithLocation(44, 26),
14794
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M5").WithArguments("o").WithLocation(45, 26),
14800
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M").WithArguments("o").WithLocation(53, 26),
14809
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M4").WithArguments("o").WithLocation(56, 26),
14812
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M6").WithArguments("o").WithLocation(58, 26),
14815
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("o").WithLocation(59, 59),
14818
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(59, 59),
14821
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "null!").WithArguments("s").WithLocation(60, 46),
14824
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("a").WithLocation(61, 44)
14855
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "get").WithArguments("o").WithLocation(18, 45)
14886
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "get").WithArguments("o").WithLocation(18, 45)
14916
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M").WithArguments("t").WithLocation(9, 29),
14922
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M").WithArguments("t").WithLocation(17, 29));
14966
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M").WithArguments("o").WithLocation(13, 28));
15257
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(15, 39),
39151
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t1").WithLocation(12, 26),
39154
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t3").WithLocation(12, 26),
39157
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t4").WithLocation(12, 26),
39160
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t1").WithLocation(13, 26),
39163
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t3").WithLocation(13, 26),
39166
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t4").WithLocation(13, 26)
39194
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t1").WithLocation(12, 26),
39197
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t3").WithLocation(12, 26),
39200
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t4").WithLocation(12, 26),
39203
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t1").WithLocation(13, 26),
39206
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t3").WithLocation(13, 26),
39209
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t4").WithLocation(13, 26)
39947
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t1").WithLocation(12, 26),
39950
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t2").WithLocation(12, 26),
39953
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t3").WithLocation(12, 26),
39956
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t4").WithLocation(12, 26),
39959
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t1").WithLocation(13, 26),
39962
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t4").WithLocation(13, 26),
39965
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t1").WithLocation(14, 26),
39968
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t2").WithLocation(14, 26),
39971
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t3").WithLocation(14, 26),
39974
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t4").WithLocation(14, 26),
39977
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t1").WithLocation(15, 26),
39980
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t4").WithLocation(15, 26),
39983
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t1").WithLocation(16, 26),
39986
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t2").WithLocation(16, 26),
39989
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t3").WithLocation(16, 26),
39992
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t4").WithLocation(16, 26)
40022
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t2").WithLocation(12, 26),
40025
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t3").WithLocation(12, 26),
40028
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t2").WithLocation(14, 26),
40031
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t3").WithLocation(14, 26),
40034
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t2").WithLocation(16, 26),
40037
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t3").WithLocation(16, 26)
40107
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t1").WithLocation(13, 26),
40110
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t4").WithLocation(13, 26),
40113
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t1").WithLocation(14, 26),
40116
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t4").WithLocation(14, 26),
40119
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t1").WithLocation(15, 26),
40122
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t4").WithLocation(15, 26)
40159
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t1").WithLocation(13, 26),
40162
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t4").WithLocation(13, 26),
40165
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t1").WithLocation(14, 26),
40168
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t4").WithLocation(14, 26),
40171
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t1").WithLocation(15, 26),
40174
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t4").WithLocation(15, 26)
41309
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t1").WithLocation(13, 26),
41312
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t4").WithLocation(13, 26),
41315
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t1").WithLocation(14, 26),
41318
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t4").WithLocation(14, 26),
41321
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t1").WithLocation(15, 26),
41324
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t4").WithLocation(15, 26),
41327
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t1").WithLocation(16, 26),
41330
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t4").WithLocation(16, 26),
41333
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t1").WithLocation(17, 26),
41336
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t4").WithLocation(17, 26),
41339
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t1").WithLocation(18, 26),
41342
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t4").WithLocation(18, 26)
41452
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t2").WithLocation(12, 26),
41455
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t3").WithLocation(12, 26),
41458
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t2").WithLocation(13, 26),
41461
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t3").WithLocation(13, 26)
41494
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t2").WithLocation(12, 26),
41497
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t3").WithLocation(12, 26),
41500
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t2").WithLocation(13, 26),
41503
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t3").WithLocation(13, 26)
41535
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t2").WithLocation(13, 26),
41538
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t3").WithLocation(13, 26),
41541
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t2").WithLocation(14, 26),
41544
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t3").WithLocation(14, 26),
41547
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t2").WithLocation(18, 26),
41550
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t3").WithLocation(18, 26)
41573
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t4").WithLocation(8, 26)
41605
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t2").WithLocation(13, 26),
41608
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t3").WithLocation(13, 26),
41611
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t2").WithLocation(14, 26),
41614
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t3").WithLocation(14, 26),
41617
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t2").WithLocation(18, 26),
41620
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t3").WithLocation(18, 26)
41652
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t1").WithLocation(13, 26),
41655
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t4").WithLocation(13, 26),
41658
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t1").WithLocation(14, 26),
41661
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t4").WithLocation(14, 26),
41664
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t1").WithLocation(15, 26),
41667
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t4").WithLocation(15, 26),
41670
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t1").WithLocation(16, 26),
41673
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t4").WithLocation(16, 26),
41676
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t1").WithLocation(17, 26),
41679
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t4").WithLocation(17, 26),
41682
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t1").WithLocation(18, 26),
41685
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t4").WithLocation(18, 26)
41741
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t1").WithLocation(12, 26),
41744
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t3").WithLocation(12, 26),
41747
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t4").WithLocation(12, 26),
41750
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t1").WithLocation(14, 26),
41753
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t3").WithLocation(14, 26),
41756
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t4").WithLocation(14, 26),
41759
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t1").WithLocation(16, 26),
41762
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t3").WithLocation(16, 26),
41765
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t4").WithLocation(16, 26)
42984
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(11, 59),
43096
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(11, 54),
46434
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("p").WithLocation(17, 26),
46437
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("p").WithLocation(19, 26),
46440
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("p").WithLocation(21, 26)
46476
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("p").WithLocation(18, 26),
46479
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("p").WithLocation(22, 26)
46509
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t2").WithLocation(12, 26),
46512
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t2").WithLocation(14, 26),
46515
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t2").WithLocation(16, 26)
46547
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t2").WithLocation(14, 26),
46550
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t2").WithLocation(16, 26),
46553
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t2").WithLocation(18, 26)
78624
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M").WithArguments("s").WithLocation(19, 26)
146280
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(5, 26),
146301
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(15, 26),
146322
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(25, 26));
146328
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(5, 26),
146349
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(15, 26),
146370
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(25, 26));
146408
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(5, 26),
146429
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(15, 26),
146450
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(25, 26));
146488
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(5, 26),
146509
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(15, 26),
146530
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(25, 26));
146651
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(5, 26),
146672
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(15, 26),
146693
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(25, 26));
146731
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(5, 26),
146752
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(15, 26),
146776
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(25, 26),
148882
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t").WithLocation(13, 26),
148885
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t").WithLocation(14, 26),
148888
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t").WithLocation(15, 26),
148891
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t").WithLocation(16, 26),
148894
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t").WithLocation(17, 26),
148897
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t").WithLocation(18, 26));
149089
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t").WithLocation(13, 26),
149092
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t").WithLocation(14, 26),
149095
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t").WithLocation(15, 26),
149098
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t").WithLocation(16, 26),
149101
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t").WithLocation(17, 26),
149104
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t").WithLocation(18, 26));
150729
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t").WithLocation(14, 26),
150732
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t").WithLocation(19, 26)
150790
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t").WithLocation(14, 26),
150793
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t").WithLocation(15, 26),
150796
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t").WithLocation(16, 26),
150799
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t").WithLocation(17, 26),
150802
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t").WithLocation(18, 26),
150805
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t").WithLocation(19, 26));
151066
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t").WithLocation(5, 26));
153317
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M").WithArguments("t").WithLocation(10, 26)
153340
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M").WithArguments("t").WithLocation(10, 26)
Semantics\RefFieldTests.cs (1)
17144
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t").WithLocation(14, 26));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (3)
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)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
370
case ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
: