408 references to WRN_NullableValueTypeMayBeNull
Microsoft.CodeAnalysis.CSharp (6)
Errors\ErrorFacts.cs (3)
39
nullableWarnings.Add(GetId(ErrorCode.
WRN_NullableValueTypeMayBeNull
));
456
case ErrorCode.
WRN_NullableValueTypeMayBeNull
:
1971
or ErrorCode.
WRN_NullableValueTypeMayBeNull
FlowAnalysis\NullableWalker.cs (2)
9655
ReportDiagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, getDiagnosticLocation());
12785
ReportDiagnostic(isValueType ? ErrorCode.
WRN_NullableValueTypeMayBeNull
: ErrorCode.WRN_NullReferenceReceiver, syntax);
Generated\ErrorFacts.Generated.cs (1)
217
case ErrorCode.
WRN_NullableValueTypeMayBeNull
:
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (17)
Semantics\CollectionExpressionTests.cs (1)
16216
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(11, 1)
Semantics\ExtensionOperatorsTests.cs (10)
9475
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(20, 13),
9478
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x1").WithLocation(21, 13),
9481
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(25, 13),
9484
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y1").WithLocation(26, 13)
9524
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y1").WithLocation(26, 13)
26228
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(20, 13),
26231
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x1").WithLocation(21, 13),
26234
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(25, 13),
26237
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y1").WithLocation(26, 13)
26277
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y1").WithLocation(26, 13)
Semantics\PatternMatchingTests_ListPatterns.cs (6)
4126
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "item2").WithLocation(16, 13),
4129
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "item2").WithLocation(18, 13),
4213
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "item2").WithLocation(17, 13),
4216
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "item2").WithLocation(19, 13),
4410
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "rest2").WithLocation(19, 13),
4540
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "rest2").WithLocation(20, 13),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (384)
Semantics\LocalFunctionTests.cs (1)
6537
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "getDefault<int?>()").WithLocation(13, 9),
Semantics\NullableReferenceTypesTests.cs (374)
4307
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2").WithLocation(8, 9),
4310
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2").WithLocation(15, 9)
4721
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2[0]").WithLocation(8, 9),
4724
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2[0]").WithLocation(15, 9)
7996
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s").WithLocation(10, 9)
26927
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "i").WithLocation(13, 24)
28855
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s17").WithLocation(82, 15),
28858
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s17").WithLocation(83, 15),
28861
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s18").WithLocation(86, 15),
28864
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s18").WithLocation(87, 15),
28867
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s19").WithLocation(91, 15),
28870
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s19").WithLocation(92, 15),
28873
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s20").WithLocation(95, 15),
28876
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s20").WithLocation(96, 15)
30183
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "new COpen<T?>().P1").WithLocation(29, 9),
30186
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "new CStruct<T>().P5").WithLocation(30, 9)
30411
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "new COpen<T?>().P1").WithLocation(18, 9),
30414
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "new CStruct<T>().P5").WithLocation(19, 9)
30630
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "new COpen<T?>()[0]").WithLocation(18, 9),
30633
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "new CStruct2<T>()[0]").WithLocation(19, 9)
30811
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "new CStruct<T>().f5").WithLocation(34, 9)
30884
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "f1").WithLocation(7, 9)
30958
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "c.f1").WithLocation(7, 9),
30961
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "c.f1").WithLocation(11, 9)
31749
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s17").WithLocation(82, 15),
31752
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s18").WithLocation(86, 15),
31755
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s19").WithLocation(91, 15),
31758
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s20").WithLocation(95, 15)
33167
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "c.M(p2)").WithLocation(8, 9)
39690
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x", isSuppressed: false).WithLocation(7, 9),
39976
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "value").WithLocation(14, 15),
39979
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "value").WithLocation(20, 15),
39985
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "value").WithLocation(26, 15)
44767
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "P1").WithLocation(8, 9),
44776
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "P1").WithLocation(13, 9),
45130
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "Property").WithLocation(22, 9)
45175
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "Property").WithLocation(22, 9)
45934
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1(t5)").WithLocation(41, 13),
45937
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F5(t5)").WithLocation(42, 13),
45940
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1(t5)").WithLocation(44, 13),
45943
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F5(t5)").WithLocation(45, 13));
46060
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1<T?>(t5)").WithLocation(40, 13),
46063
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F5<T>(t5)").WithLocation(41, 13),
46066
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1<T?>(t5)").WithLocation(43, 13),
46069
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F5<T>(t5)").WithLocation(44, 13));
46192
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1<T?>(t5)").WithLocation(40, 13),
46195
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F5<T>(t5)").WithLocation(41, 13),
46198
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1<T?>(t5)").WithLocation(43, 13),
46201
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F5<T>(t5)").WithLocation(44, 13));
46250
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2()").WithLocation(9, 13));
46387
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "C<V?>.F()").WithLocation(16, 13),
46396
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "C<int?>.F()").WithLocation(20, 13));
46580
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s17").WithLocation(67, 13),
46583
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s18").WithLocation(70, 13),
46586
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s19").WithLocation(74, 13),
46589
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s20").WithLocation(77, 13)
46740
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s16").WithLocation(67, 13),
46743
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s17").WithLocation(70, 13),
46746
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s18").WithLocation(74, 13),
46749
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s19").WithLocation(77, 13)
46806
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "i2").WithLocation(12, 13)
46966
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "o5").WithLocation(25, 13),
46975
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "o9").WithLocation(37, 13)
48842
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x4").WithLocation(33, 13)
53327
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "flag").WithLocation(8, 15)
58348
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x5 ?? y5").WithLocation(30, 10),
58357
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y5 ?? x5").WithLocation(31, 10),
58366
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x6 ?? y6").WithLocation(35, 10),
58372
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y6 ?? x6").WithLocation(36, 10)
62612
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "new { x = x, y = y }.x").WithLocation(6, 13),
62615
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "new { x = y, y = x }.y").WithLocation(9, 13),
62618
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "new { x, y }.x").WithLocation(10, 13),
62621
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "new { y, x }.x").WithLocation(12, 13));
62681
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "a.y").WithLocation(9, 13),
62684
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "a.x").WithLocation(13, 13));
78537
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "result1").WithLocation(9, 9),
78540
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "result2").WithLocation(12, 9),
82072
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t").WithLocation(17, 12),
82078
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t").WithLocation(20, 12)
82131
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "i").WithLocation(13, 12),
82134
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "i").WithLocation(16, 12),
87059
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(9, 9)
87116
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y2").WithLocation(11, 9),
87179
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "b3").WithLocation(29, 13),
87267
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(9, 9)
87292
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(9, 9)
87326
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(int)x1").WithLocation(5, 18),
87329
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(long)x3").WithLocation(14, 19));
87352
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(int)c?.i").WithLocation(7, 18));
87378
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "c.i").WithLocation(9, 13));
87597
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "default(S<V?>).F").WithLocation(14, 13)
87633
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "new S<V?>().F").WithLocation(14, 13)
87692
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x.F").WithLocation(12, 13),
87695
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y.F").WithLocation(13, 13)
87753
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x.F").WithLocation(12, 13),
87756
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y.F").WithLocation(13, 13)
87912
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x3.F").WithLocation(23, 13),
87915
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y3.F").WithLocation(24, 13)
88227
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x.F").WithLocation(6, 13));
88363
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "default((int, int?))/*T:(int, int?)*/.Item2").WithLocation(6, 13)
88389
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "new ValueTuple<int, int?>()/*T:(int, int?)*/.Item2").WithLocation(7, 13)
88446
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t.Item2").WithLocation(7, 13),
88449
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "u.Item2").WithLocation(8, 13)
88509
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t.Item2").WithLocation(8, 13),
88512
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "u.Item2").WithLocation(9, 13)
88607
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t.z").WithLocation(10, 13),
88616
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "u.z").WithLocation(13, 13)
88665
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x.Item3").WithLocation(12, 13),
88671
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y.Item3").WithLocation(15, 13),
88677
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "z.Item3").WithLocation(18, 13)
95944
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(a = new B() { F = null }).F").WithLocation(25, 13));
96606
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2.Item1").WithLocation(23, 9),
96618
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t3.Item1").WithLocation(29, 9),
97205
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(((T?, T?))t).Item2").WithLocation(12, 9));
127289
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(5, 13)
127327
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(5, 15));
127349
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)x").WithLocation(5, 16),
127352
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)default(T?)").WithLocation(9, 16));
127392
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)x").WithLocation(5, 13),
127395
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)x").WithLocation(8, 13),
127398
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)y").WithLocation(10, 13));
127433
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "((int, int))x").WithLocation(5, 17));
127458
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(6, 13),
127461
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(8, 13)
127488
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(6, 13),
127491
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "z").WithLocation(10, 13)
127520
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t1").WithLocation(8, 17),
127523
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2").WithLocation(13, 17)
127552
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t1").WithLocation(8, 17),
127555
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2").WithLocation(13, 17)
127603
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)t1").WithLocation(8, 17),
127661
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t3").WithLocation(24, 22),
127664
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t4").WithLocation(31, 33)
127703
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y1").WithLocation(7, 13),
127706
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y2").WithLocation(12, 13),
127709
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x3").WithLocation(18, 13),
127712
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y3").WithLocation(19, 13),
127715
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)y4").WithLocation(25, 13)
127754
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y1").WithLocation(7, 13),
127757
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y2").WithLocation(12, 13),
127760
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x3").WithLocation(18, 13),
127763
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y3").WithLocation(19, 13),
127766
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)y4").WithLocation(25, 13)
127790
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)(x1 != null ? x1 : y1)").WithLocation(5, 13));
127882
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "na1").WithLocation(23, 20),
127885
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "a1.B").WithLocation(24, 20),
127888
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "b1.C").WithLocation(25, 20),
127891
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(A)na2").WithLocation(36, 20),
127894
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(B)a2.B").WithLocation(37, 20),
127897
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(C)b2.C").WithLocation(38, 20)
127988
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(A)na3").WithLocation(47, 22),
127997
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(A)na4").WithLocation(62, 22),
128064
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(A)na2").WithLocation(39, 22),
128119
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ns").WithLocation(20, 21),
128128
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ns").WithLocation(35, 17)
128184
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl3").WithLocation(27, 17),
128187
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl4").WithLocation(29, 17),
128190
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(long)ni").WithLocation(41, 17)
128250
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(31, 17),
128253
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s4").WithLocation(33, 17),
128256
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ni").WithLocation(45, 20)
128304
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(11, 13),
128307
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(13, 13),
128310
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(16, 13),
128313
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(24, 17),
128316
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(26, 17),
128319
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(31, 17),
128322
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s4").WithLocation(33, 17)
128399
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(S)i").WithLocation(10, 13),
128402
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ns1").WithLocation(18, 17),
128405
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ns2").WithLocation(20, 17),
128408
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ns3").WithLocation(25, 17),
128411
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ns4").WithLocation(27, 17)
128456
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl1").WithLocation(28, 17),
128459
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl2").WithLocation(30, 17)
128504
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl1").WithLocation(11, 13),
128507
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl2").WithLocation(13, 13),
128510
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl1").WithLocation(21, 17),
128513
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl2").WithLocation(23, 17),
128516
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl1").WithLocation(28, 17),
128519
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl2").WithLocation(30, 17)
128617
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl1").WithLocation(11, 13),
128620
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl2").WithLocation(13, 13),
128623
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl1").WithLocation(21, 17),
128626
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl2").WithLocation(23, 17),
128629
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl3").WithLocation(28, 17),
128632
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl4").WithLocation(30, 17)
128969
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(14, 13),
128972
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(16, 13),
128975
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(24, 17),
128978
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(26, 17),
128984
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(33, 21),
128990
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s4").WithLocation(38, 21)
129080
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(14, 13),
129083
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(16, 13),
129086
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(24, 17),
129089
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(26, 17),
129092
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(31, 17),
129095
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s4").WithLocation(33, 17)
129340
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t3").WithLocation(28, 17),
129343
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t4").WithLocation(30, 17)
129429
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t1").WithLocation(11, 13),
129432
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2").WithLocation(13, 13),
129435
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t1").WithLocation(21, 17),
129438
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2").WithLocation(23, 17),
129441
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t3").WithLocation(28, 17),
129444
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t4").WithLocation(30, 17)
129489
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t1").WithLocation(11, 13),
129492
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2").WithLocation(13, 13),
129495
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t1").WithLocation(21, 17),
129498
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2").WithLocation(23, 17),
129501
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t3").WithLocation(28, 17),
129504
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t4").WithLocation(30, 17)
129552
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(11, 13),
129555
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(13, 13)
129657
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(11, 13),
129660
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(13, 13),
129663
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(21, 17),
129666
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(23, 17),
129672
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(30, 21),
129678
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s4").WithLocation(35, 21)
129721
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(26, 17),
129724
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s4").WithLocation(28, 17)
129769
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(11, 13),
129772
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(13, 13),
129775
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(21, 17),
129778
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(23, 17),
129781
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(28, 17),
129784
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s4").WithLocation(30, 17)
129868
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(11, 13),
129871
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(13, 13),
129874
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(21, 17),
129877
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(23, 17),
129880
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(28, 17),
129883
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s4").WithLocation(30, 17)
129928
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(19, 13),
130116
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T?)y1").WithLocation(6, 14),
130119
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "w2").WithLocation(13, 13)
130161
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(int?)(object)(U)x").WithLocation(17, 14),
130192
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "w1").WithLocation(8, 13),
130195
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "w2").WithLocation(15, 13)
130224
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ni").WithLocation(13, 13),
130227
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ni").WithLocation(15, 13)
130254
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(7, 17),
130257
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(8, 17),
130260
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(12, 17)
130285
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(6, 13),
130288
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "z").WithLocation(11, 13)
130353
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "b").WithLocation(13, 13),
130356
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "b2").WithLocation(25, 17)
130418
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t").WithLocation(6, 9)
130483
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(int)(i & j)").WithLocation(6, 13),
130486
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(int)(i | j)").WithLocation(7, 13),
130489
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(int)(i ^ j)").WithLocation(8, 13),
130492
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(int)(~i)").WithLocation(9, 13),
130495
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(bool)(i & b)").WithLocation(20, 13),
130498
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(bool)(i | b)").WithLocation(21, 13),
130501
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(bool)(i ^ b)").WithLocation(22, 13),
130504
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(bool)(!i)").WithLocation(23, 13));
130629
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(17, 9),
130741
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x1 as T?").WithLocation(5, 14),
130744
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y1 as T?").WithLocation(6, 14),
130747
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y2 as T?").WithLocation(11, 14),
130750
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x3 as T?").WithLocation(15, 14),
130753
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x4 as T?").WithLocation(19, 14),
130756
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y4 as T?").WithLocation(20, 14),
130759
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x5 as T?").WithLocation(24, 14),
130762
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y5 as T?").WithLocation(25, 14),
130765
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x6 as T?").WithLocation(29, 14)
130823
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2 as T?").WithLocation(13, 14),
130835
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t4 as U?").WithLocation(29, 14),
130838
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t4 as U?").WithLocation(31, 18),
130841
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t4 as U?").WithLocation(33, 18),
130877
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "u as int?").WithLocation(10, 14),
130880
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "u as int?").WithLocation(17, 14)
130913
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t as U?").WithLocation(9, 14),
130919
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t as U?").WithLocation(17, 14),
130945
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "i").WithLocation(8, 15));
130971
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "c.i").WithLocation(9, 15));
131003
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "i").WithLocation(9, 15),
131006
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "i").WithLocation(18, 15));
131042
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "i").WithLocation(8, 15));
131066
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)z").WithLocation(10, 14));
131090
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "z").WithLocation(10, 13)
131117
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t").WithLocation(13, 17)
131223
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2").WithLocation(9, 13)
131258
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(12, 9),
131294
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s").WithLocation(11, 13),
131297
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t").WithLocation(16, 13)
131334
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s").WithLocation(11, 27),
131337
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t").WithLocation(18, 27)
131750
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t.Item2").WithLocation(8, 13)
131772
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t.Item2").WithLocation(8, 13)
133437
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y3").WithLocation(35, 17),
134709
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "z").WithLocation(14, 13));
134799
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "b.x").WithLocation(11, 9),
134802
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "b.y").WithLocation(12, 9),
135153
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(8, 13));
135177
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(10, 13));
135534
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "C<T4?>.F").WithLocation(25, 13));
135985
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y4.A").WithLocation(41, 13),
135988
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y4.B").WithLocation(42, 13),
135991
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y5.A").WithLocation(48, 13),
135994
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y5.B").WithLocation(49, 13));
142774
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "c.i").WithLocation(14, 17),
142780
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "c.i").WithLocation(26, 17));
146808
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "~Create2(x)").WithLocation(18, 20),
146814
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "~Create2(y)").WithLocation(22, 20));
147133
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1x + s2y").WithLocation(22, 10),
147139
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1y + s2x").WithLocation(23, 10),
147148
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2x + s1y").WithLocation(24, 10),
147154
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2y + s1x").WithLocation(25, 10),
147163
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2x + s2y").WithLocation(26, 10),
147169
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2y + s2x").WithLocation(27, 10),
151999
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1(y)").WithLocation(11, 9),
152002
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(y)").WithLocation(12, 9),
152005
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(y)").WithLocation(13, 9),
152008
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(y)").WithLocation(14, 9),
152011
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(default(T?))").WithLocation(16, 9),
152014
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(default(T?))").WithLocation(17, 9),
152017
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(default(T?))").WithLocation(18, 9));
152140
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1(y)").WithLocation(11, 9),
152143
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(y)").WithLocation(12, 9),
152146
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(y)").WithLocation(13, 9),
152149
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(y)").WithLocation(14, 9),
152152
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(default(int?))").WithLocation(16, 9),
152155
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(default(int?))").WithLocation(17, 9),
152158
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(default(int?))").WithLocation(18, 9));
152375
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1(y).P").WithLocation(11, 9),
152378
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(y).P").WithLocation(12, 9),
152381
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(y).P").WithLocation(13, 9),
152384
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(y).P").WithLocation(14, 9),
152387
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(default(T?)).P").WithLocation(16, 9),
152390
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(default(T?)).P").WithLocation(17, 9),
152393
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(default(T?)).P").WithLocation(18, 9));
152516
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1(y).P").WithLocation(11, 9),
152519
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(y).P").WithLocation(12, 9),
152522
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(y).P").WithLocation(13, 9),
152525
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(y).P").WithLocation(14, 9),
152528
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(default(int?)).P").WithLocation(16, 9),
152531
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(default(int?)).P").WithLocation(17, 9),
152534
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(default(int?)).P").WithLocation(18, 9));
152717
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1(y)").WithLocation(11, 9),
152720
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(y)").WithLocation(12, 9),
152723
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(y)").WithLocation(13, 9),
152726
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(y)").WithLocation(14, 9));
152831
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1(y)").WithLocation(11, 9),
152834
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(y)").WithLocation(12, 9),
152837
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(y)").WithLocation(13, 9),
152840
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(y)").WithLocation(14, 9));
153060
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1(y)").WithLocation(11, 9),
153063
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(y)").WithLocation(12, 9),
153066
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(y)").WithLocation(13, 9),
153069
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(y)").WithLocation(14, 9),
153072
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(default(T?))").WithLocation(16, 9),
153075
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(default(T?))").WithLocation(17, 9),
153078
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(default(T?))").WithLocation(18, 9));
155882
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "i").WithLocation(10, 13),
160978
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(9, 13),
160984
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(12, 17)
161033
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "first").WithLocation(13, 13),
161036
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "second").WithLocation(14, 13),
161039
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "first").WithLocation(22, 16),
161042
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "second").WithLocation(22, 41),
161045
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "first").WithLocation(30, 18),
161048
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "second").WithLocation(30, 43)
161084
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "first").WithLocation(8, 13),
161087
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "second").WithLocation(9, 13),
161090
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "first").WithLocation(13, 16),
161093
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "second").WithLocation(13, 41),
161096
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "first").WithLocation(18, 21),
161099
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "second").WithLocation(18, 46)
161193
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "c1").WithLocation(14, 13),
161196
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "c2").WithLocation(25, 13)
Semantics\NullableReferenceTypesVsPatterns.cs (9)
519
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "i").WithLocation(11, 13),
522
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "i").WithLocation(23, 13));
553
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s").WithLocation(17, 13),
556
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s.Value.field").WithLocation(18, 13)
1874
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "n").WithLocation(7, 22),
1880
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "n").WithLocation(14, 23),
1886
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "n").WithLocation(22, 24),
1892
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "n").WithLocation(31, 26));
2266
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(62, 9),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
357
case ErrorCode.
WRN_NullableValueTypeMayBeNull
: