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
:
2037
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)
12085
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M3").WithArguments("x").WithLocation(35, 26),
14565
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(25, 44),
14604
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(51, 44),
14664
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(14, 44)
14764
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M4").WithArguments("o").WithLocation(20, 26),
14767
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M5").WithArguments("o").WithLocation(21, 26),
14773
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M").WithArguments("o").WithLocation(29, 26),
14782
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M4").WithArguments("o").WithLocation(32, 26),
14785
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M6").WithArguments("o").WithLocation(34, 26),
14788
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "get").WithArguments("o").WithLocation(35, 45),
14791
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("o").WithLocation(35, 59),
14794
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(35, 59),
14797
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "null!").WithArguments("s").WithLocation(36, 46),
14800
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("a").WithLocation(37, 44),
14803
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M4").WithArguments("o").WithLocation(44, 26),
14806
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M5").WithArguments("o").WithLocation(45, 26),
14812
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M").WithArguments("o").WithLocation(53, 26),
14821
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M4").WithArguments("o").WithLocation(56, 26),
14824
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M6").WithArguments("o").WithLocation(58, 26),
14827
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "get").WithArguments("o").WithLocation(59, 45),
14830
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("o").WithLocation(59, 59),
14833
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(59, 59),
14836
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "null!").WithArguments("s").WithLocation(60, 46),
14839
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("a").WithLocation(61, 44)
14870
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "get").WithArguments("o").WithLocation(18, 45)
14901
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "get").WithArguments("o").WithLocation(18, 45)
14931
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M").WithArguments("t").WithLocation(9, 29),
14937
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M").WithArguments("t").WithLocation(17, 29));
14981
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M").WithArguments("o").WithLocation(13, 28));
15272
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(15, 39),
41218
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t1").WithLocation(12, 26),
41221
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t3").WithLocation(12, 26),
41224
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t4").WithLocation(12, 26),
41227
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t1").WithLocation(13, 26),
41230
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t3").WithLocation(13, 26),
41233
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t4").WithLocation(13, 26)
41261
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t1").WithLocation(12, 26),
41264
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t3").WithLocation(12, 26),
41267
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t4").WithLocation(12, 26),
41270
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t1").WithLocation(13, 26),
41273
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t3").WithLocation(13, 26),
41276
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t4").WithLocation(13, 26)
42014
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t1").WithLocation(12, 26),
42017
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t2").WithLocation(12, 26),
42020
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t3").WithLocation(12, 26),
42023
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t4").WithLocation(12, 26),
42026
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t1").WithLocation(13, 26),
42029
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t4").WithLocation(13, 26),
42032
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t1").WithLocation(14, 26),
42035
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t2").WithLocation(14, 26),
42038
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t3").WithLocation(14, 26),
42041
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t4").WithLocation(14, 26),
42044
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t1").WithLocation(15, 26),
42047
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t4").WithLocation(15, 26),
42050
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t1").WithLocation(16, 26),
42053
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t2").WithLocation(16, 26),
42056
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t3").WithLocation(16, 26),
42059
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t4").WithLocation(16, 26)
42089
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t2").WithLocation(12, 26),
42092
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t3").WithLocation(12, 26),
42095
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t2").WithLocation(14, 26),
42098
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t3").WithLocation(14, 26),
42101
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t2").WithLocation(16, 26),
42104
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t3").WithLocation(16, 26)
42174
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t1").WithLocation(13, 26),
42177
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t4").WithLocation(13, 26),
42180
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t1").WithLocation(14, 26),
42183
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t4").WithLocation(14, 26),
42186
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t1").WithLocation(15, 26),
42189
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t4").WithLocation(15, 26)
42226
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t1").WithLocation(13, 26),
42229
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t4").WithLocation(13, 26),
42232
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t1").WithLocation(14, 26),
42235
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t4").WithLocation(14, 26),
42238
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t1").WithLocation(15, 26),
42241
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t4").WithLocation(15, 26)
43376
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t1").WithLocation(13, 26),
43379
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t4").WithLocation(13, 26),
43382
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t1").WithLocation(14, 26),
43385
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t4").WithLocation(14, 26),
43388
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t1").WithLocation(15, 26),
43391
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t4").WithLocation(15, 26),
43394
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t1").WithLocation(16, 26),
43397
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t4").WithLocation(16, 26),
43400
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t1").WithLocation(17, 26),
43403
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t4").WithLocation(17, 26),
43406
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t1").WithLocation(18, 26),
43409
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t4").WithLocation(18, 26)
43519
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t2").WithLocation(12, 26),
43522
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t3").WithLocation(12, 26),
43525
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t2").WithLocation(13, 26),
43528
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t3").WithLocation(13, 26)
43561
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t2").WithLocation(12, 26),
43564
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t3").WithLocation(12, 26),
43567
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t2").WithLocation(13, 26),
43570
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t3").WithLocation(13, 26)
43602
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t2").WithLocation(13, 26),
43605
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t3").WithLocation(13, 26),
43608
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t2").WithLocation(14, 26),
43611
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t3").WithLocation(14, 26),
43614
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t2").WithLocation(18, 26),
43617
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t3").WithLocation(18, 26)
43640
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t4").WithLocation(8, 26)
43672
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t2").WithLocation(13, 26),
43675
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t3").WithLocation(13, 26),
43678
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t2").WithLocation(14, 26),
43681
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t3").WithLocation(14, 26),
43684
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t2").WithLocation(18, 26),
43687
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t3").WithLocation(18, 26)
43719
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t1").WithLocation(13, 26),
43722
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t4").WithLocation(13, 26),
43725
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t1").WithLocation(14, 26),
43728
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t4").WithLocation(14, 26),
43731
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t1").WithLocation(15, 26),
43734
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t4").WithLocation(15, 26),
43737
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t1").WithLocation(16, 26),
43740
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t4").WithLocation(16, 26),
43743
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t1").WithLocation(17, 26),
43746
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t4").WithLocation(17, 26),
43749
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t1").WithLocation(18, 26),
43752
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t4").WithLocation(18, 26)
43808
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t1").WithLocation(12, 26),
43811
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t3").WithLocation(12, 26),
43814
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t4").WithLocation(12, 26),
43817
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t1").WithLocation(14, 26),
43820
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t3").WithLocation(14, 26),
43823
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t4").WithLocation(14, 26),
43826
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t1").WithLocation(16, 26),
43829
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t3").WithLocation(16, 26),
43832
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t4").WithLocation(16, 26)
45051
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(11, 59),
45218
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(11, 54),
48556
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("p").WithLocation(17, 26),
48559
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("p").WithLocation(19, 26),
48562
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("p").WithLocation(21, 26)
48598
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("p").WithLocation(18, 26),
48601
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("p").WithLocation(22, 26)
48631
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t2").WithLocation(12, 26),
48634
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t2").WithLocation(14, 26),
48637
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t2").WithLocation(16, 26)
48669
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t2").WithLocation(14, 26),
48672
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t2").WithLocation(16, 26),
48675
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t2").WithLocation(18, 26)
82335
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M").WithArguments("s").WithLocation(19, 26)
150763
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(5, 26),
150784
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(15, 26),
150805
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(25, 26));
150811
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(5, 26),
150832
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(15, 26),
150853
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(25, 26));
150891
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(5, 26),
150912
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(15, 26),
150933
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(25, 26));
150971
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(5, 26),
150992
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(15, 26),
151013
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(25, 26));
151134
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(5, 26),
151155
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(15, 26),
151176
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(25, 26));
151214
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(5, 26),
151235
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(15, 26),
151259
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("u").WithLocation(25, 26),
153365
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t").WithLocation(13, 26),
153368
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t").WithLocation(14, 26),
153371
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t").WithLocation(15, 26),
153374
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t").WithLocation(16, 26),
153377
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t").WithLocation(17, 26),
153380
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t").WithLocation(18, 26));
153572
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t").WithLocation(13, 26),
153575
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t").WithLocation(14, 26),
153578
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t").WithLocation(15, 26),
153581
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t").WithLocation(16, 26),
153584
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t").WithLocation(17, 26),
153587
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t").WithLocation(18, 26));
155212
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t").WithLocation(14, 26),
155215
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t").WithLocation(19, 26)
155273
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F1").WithArguments("t").WithLocation(14, 26),
155276
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t").WithLocation(15, 26),
155279
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F3").WithArguments("t").WithLocation(16, 26),
155282
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F4").WithArguments("t").WithLocation(17, 26),
155285
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F5").WithArguments("t").WithLocation(18, 26),
155288
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F6").WithArguments("t").WithLocation(19, 26));
155549
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "F2").WithArguments("t").WithLocation(5, 26));
157846
Diagnostic(ErrorCode.
WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride
, "M").WithArguments("t").WithLocation(10, 26)
157869
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
: