198 references to WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
Microsoft.CodeAnalysis.CSharp (5)
Errors\ErrorFacts.cs (3)
73
nullableWarnings.Add(GetId(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
));
481
case ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
:
2038
or ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
Generated\ErrorFacts.Generated.cs (1)
234
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)
12092
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M3").WithArguments("x").WithLocation(35, 26),
14572
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(25, 44),
14611
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(51, 44),
14671
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(14, 44)
14771
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M4").WithArguments("o").WithLocation(20, 26),
14774
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M5").WithArguments("o").WithLocation(21, 26),
14780
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M").WithArguments("o").WithLocation(29, 26),
14789
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M4").WithArguments("o").WithLocation(32, 26),
14792
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M6").WithArguments("o").WithLocation(34, 26),
14795
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "get").WithArguments("o").WithLocation(35, 45),
14798
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("o").WithLocation(35, 59),
14801
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(35, 59),
14804
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "null!").WithArguments("s").WithLocation(36, 46),
14807
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("a").WithLocation(37, 44),
14810
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M4").WithArguments("o").WithLocation(44, 26),
14813
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M5").WithArguments("o").WithLocation(45, 26),
14819
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M").WithArguments("o").WithLocation(53, 26),
14828
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M4").WithArguments("o").WithLocation(56, 26),
14831
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M6").WithArguments("o").WithLocation(58, 26),
14834
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "get").WithArguments("o").WithLocation(59, 45),
14837
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("o").WithLocation(59, 59),
14840
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(59, 59),
14843
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "null!").WithArguments("s").WithLocation(60, 46),
14846
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("a").WithLocation(61, 44)
14877
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "get").WithArguments("o").WithLocation(18, 45)
14908
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "get").WithArguments("o").WithLocation(18, 45)
14938
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M").WithArguments("t").WithLocation(9, 29),
14944
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M").WithArguments("t").WithLocation(17, 29));
14988
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M").WithArguments("o").WithLocation(13, 28));
15279
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(15, 39),
41246
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t1").WithLocation(12, 26),
41249
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t3").WithLocation(12, 26),
41252
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t4").WithLocation(12, 26),
41255
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t1").WithLocation(13, 26),
41258
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t3").WithLocation(13, 26),
41261
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t4").WithLocation(13, 26)
41289
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t1").WithLocation(12, 26),
41292
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t3").WithLocation(12, 26),
41295
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t4").WithLocation(12, 26),
41298
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t1").WithLocation(13, 26),
41301
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t3").WithLocation(13, 26),
41304
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t4").WithLocation(13, 26)
42042
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t1").WithLocation(12, 26),
42045
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t2").WithLocation(12, 26),
42048
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t3").WithLocation(12, 26),
42051
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t4").WithLocation(12, 26),
42054
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t1").WithLocation(13, 26),
42057
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t4").WithLocation(13, 26),
42060
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t1").WithLocation(14, 26),
42063
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t2").WithLocation(14, 26),
42066
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t3").WithLocation(14, 26),
42069
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t4").WithLocation(14, 26),
42072
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t1").WithLocation(15, 26),
42075
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t4").WithLocation(15, 26),
42078
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t1").WithLocation(16, 26),
42081
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t2").WithLocation(16, 26),
42084
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t3").WithLocation(16, 26),
42087
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t4").WithLocation(16, 26)
42117
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t2").WithLocation(12, 26),
42120
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t3").WithLocation(12, 26),
42123
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t2").WithLocation(14, 26),
42126
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t3").WithLocation(14, 26),
42129
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t2").WithLocation(16, 26),
42132
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t3").WithLocation(16, 26)
42202
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t1").WithLocation(13, 26),
42205
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t4").WithLocation(13, 26),
42208
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t1").WithLocation(14, 26),
42211
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t4").WithLocation(14, 26),
42214
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t1").WithLocation(15, 26),
42217
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t4").WithLocation(15, 26)
42254
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t1").WithLocation(13, 26),
42257
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t4").WithLocation(13, 26),
42260
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t1").WithLocation(14, 26),
42263
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t4").WithLocation(14, 26),
42266
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t1").WithLocation(15, 26),
42269
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t4").WithLocation(15, 26)
43404
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t1").WithLocation(13, 26),
43407
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t4").WithLocation(13, 26),
43410
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t1").WithLocation(14, 26),
43413
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t4").WithLocation(14, 26),
43416
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t1").WithLocation(15, 26),
43419
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t4").WithLocation(15, 26),
43422
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t1").WithLocation(16, 26),
43425
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t4").WithLocation(16, 26),
43428
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t1").WithLocation(17, 26),
43431
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t4").WithLocation(17, 26),
43434
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t1").WithLocation(18, 26),
43437
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t4").WithLocation(18, 26)
43547
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t2").WithLocation(12, 26),
43550
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t3").WithLocation(12, 26),
43553
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t2").WithLocation(13, 26),
43556
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t3").WithLocation(13, 26)
43589
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t2").WithLocation(12, 26),
43592
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t3").WithLocation(12, 26),
43595
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t2").WithLocation(13, 26),
43598
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t3").WithLocation(13, 26)
43630
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t2").WithLocation(13, 26),
43633
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t3").WithLocation(13, 26),
43636
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t2").WithLocation(14, 26),
43639
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t3").WithLocation(14, 26),
43642
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t2").WithLocation(18, 26),
43645
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t3").WithLocation(18, 26)
43668
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t4").WithLocation(8, 26)
43700
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t2").WithLocation(13, 26),
43703
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t3").WithLocation(13, 26),
43706
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t2").WithLocation(14, 26),
43709
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t3").WithLocation(14, 26),
43712
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t2").WithLocation(18, 26),
43715
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t3").WithLocation(18, 26)
43747
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t1").WithLocation(13, 26),
43750
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t4").WithLocation(13, 26),
43753
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t1").WithLocation(14, 26),
43756
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t4").WithLocation(14, 26),
43759
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t1").WithLocation(15, 26),
43762
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t4").WithLocation(15, 26),
43765
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t1").WithLocation(16, 26),
43768
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t4").WithLocation(16, 26),
43771
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t1").WithLocation(17, 26),
43774
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t4").WithLocation(17, 26),
43777
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t1").WithLocation(18, 26),
43780
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t4").WithLocation(18, 26)
43836
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t1").WithLocation(12, 26),
43839
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t3").WithLocation(12, 26),
43842
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t4").WithLocation(12, 26),
43845
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t1").WithLocation(14, 26),
43848
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t3").WithLocation(14, 26),
43851
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t4").WithLocation(14, 26),
43854
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t1").WithLocation(16, 26),
43857
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t3").WithLocation(16, 26),
43860
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t4").WithLocation(16, 26)
45079
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(11, 59),
45246
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(11, 54),
48584
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("p").WithLocation(17, 26),
48587
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("p").WithLocation(19, 26),
48590
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("p").WithLocation(21, 26)
48626
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("p").WithLocation(18, 26),
48629
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("p").WithLocation(22, 26)
48659
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t2").WithLocation(12, 26),
48662
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t2").WithLocation(14, 26),
48665
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t2").WithLocation(16, 26)
48697
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t2").WithLocation(14, 26),
48700
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t2").WithLocation(16, 26),
48703
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t2").WithLocation(18, 26)
82375
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M").WithArguments("s").WithLocation(19, 26)
150825
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(5, 26),
150846
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(15, 26),
150867
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(25, 26));
150873
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(5, 26),
150894
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(15, 26),
150915
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(25, 26));
150953
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(5, 26),
150974
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(15, 26),
150995
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(25, 26));
151033
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(5, 26),
151054
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(15, 26),
151075
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(25, 26));
151196
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(5, 26),
151217
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(15, 26),
151238
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(25, 26));
151276
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(5, 26),
151297
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(15, 26),
151321
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(25, 26),
153427
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t").WithLocation(13, 26),
153430
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t").WithLocation(14, 26),
153433
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t").WithLocation(15, 26),
153436
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t").WithLocation(16, 26),
153439
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t").WithLocation(17, 26),
153442
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t").WithLocation(18, 26));
153634
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t").WithLocation(13, 26),
153637
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t").WithLocation(14, 26),
153640
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t").WithLocation(15, 26),
153643
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t").WithLocation(16, 26),
153646
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t").WithLocation(17, 26),
153649
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t").WithLocation(18, 26));
155274
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t").WithLocation(14, 26),
155277
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t").WithLocation(19, 26)
155335
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t").WithLocation(14, 26),
155338
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t").WithLocation(15, 26),
155341
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t").WithLocation(16, 26),
155344
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t").WithLocation(17, 26),
155347
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t").WithLocation(18, 26),
155350
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t").WithLocation(19, 26));
155611
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t").WithLocation(5, 26));
157908
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M").WithArguments("t").WithLocation(10, 26)
157931
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)
380
case ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
: