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)
16205
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(11, 1)
Semantics\ExtensionOperatorsTests.cs (10)
9503
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(20, 13),
9506
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x1").WithLocation(21, 13),
9509
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(25, 13),
9512
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y1").WithLocation(26, 13)
9552
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y1").WithLocation(26, 13)
26290
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(20, 13),
26293
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x1").WithLocation(21, 13),
26296
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(25, 13),
26299
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y1").WithLocation(26, 13)
26339
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));
78534
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "result1").WithLocation(9, 9),
78537
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "result2").WithLocation(12, 9),
82069
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t").WithLocation(17, 12),
82075
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t").WithLocation(20, 12)
82128
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "i").WithLocation(13, 12),
82131
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "i").WithLocation(16, 12),
87056
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(9, 9)
87113
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y2").WithLocation(11, 9),
87176
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "b3").WithLocation(29, 13),
87264
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(9, 9)
87289
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(9, 9)
87323
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(int)x1").WithLocation(5, 18),
87326
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(long)x3").WithLocation(14, 19));
87349
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(int)c?.i").WithLocation(7, 18));
87375
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "c.i").WithLocation(9, 13));
87594
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "default(S<V?>).F").WithLocation(14, 13)
87630
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "new S<V?>().F").WithLocation(14, 13)
87689
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x.F").WithLocation(12, 13),
87692
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y.F").WithLocation(13, 13)
87750
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x.F").WithLocation(12, 13),
87753
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y.F").WithLocation(13, 13)
87909
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x3.F").WithLocation(23, 13),
87912
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y3.F").WithLocation(24, 13)
88224
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x.F").WithLocation(6, 13));
88360
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "default((int, int?))/*T:(int, int?)*/.Item2").WithLocation(6, 13)
88386
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "new ValueTuple<int, int?>()/*T:(int, int?)*/.Item2").WithLocation(7, 13)
88443
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t.Item2").WithLocation(7, 13),
88446
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "u.Item2").WithLocation(8, 13)
88506
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t.Item2").WithLocation(8, 13),
88509
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "u.Item2").WithLocation(9, 13)
88604
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t.z").WithLocation(10, 13),
88613
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "u.z").WithLocation(13, 13)
88662
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x.Item3").WithLocation(12, 13),
88668
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y.Item3").WithLocation(15, 13),
88674
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "z.Item3").WithLocation(18, 13)
95941
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(a = new B() { F = null }).F").WithLocation(25, 13));
96603
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2.Item1").WithLocation(23, 9),
96615
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t3.Item1").WithLocation(29, 9),
97202
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(((T?, T?))t).Item2").WithLocation(12, 9));
127286
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(5, 13)
127324
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(5, 15));
127346
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)x").WithLocation(5, 16),
127349
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)default(T?)").WithLocation(9, 16));
127389
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)x").WithLocation(5, 13),
127392
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)x").WithLocation(8, 13),
127395
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)y").WithLocation(10, 13));
127430
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "((int, int))x").WithLocation(5, 17));
127455
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(6, 13),
127458
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(8, 13)
127485
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(6, 13),
127488
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "z").WithLocation(10, 13)
127517
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t1").WithLocation(8, 17),
127520
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2").WithLocation(13, 17)
127549
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t1").WithLocation(8, 17),
127552
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2").WithLocation(13, 17)
127600
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)t1").WithLocation(8, 17),
127658
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t3").WithLocation(24, 22),
127661
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t4").WithLocation(31, 33)
127700
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y1").WithLocation(7, 13),
127703
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y2").WithLocation(12, 13),
127706
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x3").WithLocation(18, 13),
127709
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y3").WithLocation(19, 13),
127712
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)y4").WithLocation(25, 13)
127751
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y1").WithLocation(7, 13),
127754
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y2").WithLocation(12, 13),
127757
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x3").WithLocation(18, 13),
127760
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y3").WithLocation(19, 13),
127763
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)y4").WithLocation(25, 13)
127787
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)(x1 != null ? x1 : y1)").WithLocation(5, 13));
127879
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "na1").WithLocation(23, 20),
127882
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "a1.B").WithLocation(24, 20),
127885
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "b1.C").WithLocation(25, 20),
127888
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(A)na2").WithLocation(36, 20),
127891
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(B)a2.B").WithLocation(37, 20),
127894
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(C)b2.C").WithLocation(38, 20)
127985
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(A)na3").WithLocation(47, 22),
127994
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(A)na4").WithLocation(62, 22),
128061
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(A)na2").WithLocation(39, 22),
128116
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ns").WithLocation(20, 21),
128125
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ns").WithLocation(35, 17)
128181
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl3").WithLocation(27, 17),
128184
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl4").WithLocation(29, 17),
128187
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(long)ni").WithLocation(41, 17)
128247
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(31, 17),
128250
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s4").WithLocation(33, 17),
128253
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ni").WithLocation(45, 20)
128301
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(11, 13),
128304
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(13, 13),
128307
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(16, 13),
128310
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(24, 17),
128313
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(26, 17),
128316
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(31, 17),
128319
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s4").WithLocation(33, 17)
128396
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(S)i").WithLocation(10, 13),
128399
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ns1").WithLocation(18, 17),
128402
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ns2").WithLocation(20, 17),
128405
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ns3").WithLocation(25, 17),
128408
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ns4").WithLocation(27, 17)
128453
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl1").WithLocation(28, 17),
128456
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl2").WithLocation(30, 17)
128501
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl1").WithLocation(11, 13),
128504
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl2").WithLocation(13, 13),
128507
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl1").WithLocation(21, 17),
128510
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl2").WithLocation(23, 17),
128513
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl1").WithLocation(28, 17),
128516
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl2").WithLocation(30, 17)
128614
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl1").WithLocation(11, 13),
128617
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl2").WithLocation(13, 13),
128620
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl1").WithLocation(21, 17),
128623
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl2").WithLocation(23, 17),
128626
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl3").WithLocation(28, 17),
128629
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl4").WithLocation(30, 17)
128966
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(14, 13),
128969
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(16, 13),
128972
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(24, 17),
128975
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(26, 17),
128981
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(33, 21),
128987
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s4").WithLocation(38, 21)
129077
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(14, 13),
129080
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(16, 13),
129083
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(24, 17),
129086
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(26, 17),
129089
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(31, 17),
129092
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s4").WithLocation(33, 17)
129337
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t3").WithLocation(28, 17),
129340
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t4").WithLocation(30, 17)
129426
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t1").WithLocation(11, 13),
129429
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2").WithLocation(13, 13),
129432
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t1").WithLocation(21, 17),
129435
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2").WithLocation(23, 17),
129438
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t3").WithLocation(28, 17),
129441
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t4").WithLocation(30, 17)
129486
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t1").WithLocation(11, 13),
129489
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2").WithLocation(13, 13),
129492
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t1").WithLocation(21, 17),
129495
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2").WithLocation(23, 17),
129498
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t3").WithLocation(28, 17),
129501
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t4").WithLocation(30, 17)
129549
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(11, 13),
129552
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(13, 13)
129654
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(11, 13),
129657
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(13, 13),
129660
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(21, 17),
129663
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(23, 17),
129669
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(30, 21),
129675
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s4").WithLocation(35, 21)
129718
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(26, 17),
129721
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s4").WithLocation(28, 17)
129766
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(11, 13),
129769
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(13, 13),
129772
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(21, 17),
129775
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(23, 17),
129778
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(28, 17),
129781
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s4").WithLocation(30, 17)
129865
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(11, 13),
129868
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(13, 13),
129871
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(21, 17),
129874
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(23, 17),
129877
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(28, 17),
129880
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s4").WithLocation(30, 17)
129925
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(19, 13),
130113
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T?)y1").WithLocation(6, 14),
130116
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "w2").WithLocation(13, 13)
130158
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(int?)(object)(U)x").WithLocation(17, 14),
130189
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "w1").WithLocation(8, 13),
130192
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "w2").WithLocation(15, 13)
130221
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ni").WithLocation(13, 13),
130224
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ni").WithLocation(15, 13)
130251
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(7, 17),
130254
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(8, 17),
130257
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(12, 17)
130282
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(6, 13),
130285
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "z").WithLocation(11, 13)
130350
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "b").WithLocation(13, 13),
130353
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "b2").WithLocation(25, 17)
130415
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t").WithLocation(6, 9)
130480
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(int)(i & j)").WithLocation(6, 13),
130483
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(int)(i | j)").WithLocation(7, 13),
130486
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(int)(i ^ j)").WithLocation(8, 13),
130489
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(int)(~i)").WithLocation(9, 13),
130492
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(bool)(i & b)").WithLocation(20, 13),
130495
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(bool)(i | b)").WithLocation(21, 13),
130498
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(bool)(i ^ b)").WithLocation(22, 13),
130501
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(bool)(!i)").WithLocation(23, 13));
130626
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(17, 9),
130738
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x1 as T?").WithLocation(5, 14),
130741
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y1 as T?").WithLocation(6, 14),
130744
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y2 as T?").WithLocation(11, 14),
130747
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x3 as T?").WithLocation(15, 14),
130750
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x4 as T?").WithLocation(19, 14),
130753
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y4 as T?").WithLocation(20, 14),
130756
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x5 as T?").WithLocation(24, 14),
130759
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y5 as T?").WithLocation(25, 14),
130762
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x6 as T?").WithLocation(29, 14)
130820
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2 as T?").WithLocation(13, 14),
130832
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t4 as U?").WithLocation(29, 14),
130835
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t4 as U?").WithLocation(31, 18),
130838
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t4 as U?").WithLocation(33, 18),
130874
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "u as int?").WithLocation(10, 14),
130877
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "u as int?").WithLocation(17, 14)
130910
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t as U?").WithLocation(9, 14),
130916
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t as U?").WithLocation(17, 14),
130942
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "i").WithLocation(8, 15));
130968
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "c.i").WithLocation(9, 15));
131000
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "i").WithLocation(9, 15),
131003
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "i").WithLocation(18, 15));
131039
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "i").WithLocation(8, 15));
131063
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)z").WithLocation(10, 14));
131087
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "z").WithLocation(10, 13)
131114
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t").WithLocation(13, 17)
131220
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2").WithLocation(9, 13)
131255
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(12, 9),
131291
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s").WithLocation(11, 13),
131294
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t").WithLocation(16, 13)
131331
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s").WithLocation(11, 27),
131334
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t").WithLocation(18, 27)
131747
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t.Item2").WithLocation(8, 13)
131769
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t.Item2").WithLocation(8, 13)
133434
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y3").WithLocation(35, 17),
134706
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "z").WithLocation(14, 13));
134796
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "b.x").WithLocation(11, 9),
134799
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "b.y").WithLocation(12, 9),
135150
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(8, 13));
135174
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(10, 13));
135531
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "C<T4?>.F").WithLocation(25, 13));
135982
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y4.A").WithLocation(41, 13),
135985
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y4.B").WithLocation(42, 13),
135988
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y5.A").WithLocation(48, 13),
135991
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y5.B").WithLocation(49, 13));
142771
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "c.i").WithLocation(14, 17),
142777
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "c.i").WithLocation(26, 17));
146805
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "~Create2(x)").WithLocation(18, 20),
146811
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "~Create2(y)").WithLocation(22, 20));
147130
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1x + s2y").WithLocation(22, 10),
147136
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1y + s2x").WithLocation(23, 10),
147145
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2x + s1y").WithLocation(24, 10),
147151
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2y + s1x").WithLocation(25, 10),
147160
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2x + s2y").WithLocation(26, 10),
147166
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2y + s2x").WithLocation(27, 10),
151996
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1(y)").WithLocation(11, 9),
151999
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(y)").WithLocation(12, 9),
152002
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(y)").WithLocation(13, 9),
152005
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(y)").WithLocation(14, 9),
152008
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(default(T?))").WithLocation(16, 9),
152011
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(default(T?))").WithLocation(17, 9),
152014
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(default(T?))").WithLocation(18, 9));
152137
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1(y)").WithLocation(11, 9),
152140
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(y)").WithLocation(12, 9),
152143
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(y)").WithLocation(13, 9),
152146
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(y)").WithLocation(14, 9),
152149
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(default(int?))").WithLocation(16, 9),
152152
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(default(int?))").WithLocation(17, 9),
152155
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(default(int?))").WithLocation(18, 9));
152372
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1(y).P").WithLocation(11, 9),
152375
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(y).P").WithLocation(12, 9),
152378
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(y).P").WithLocation(13, 9),
152381
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(y).P").WithLocation(14, 9),
152384
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(default(T?)).P").WithLocation(16, 9),
152387
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(default(T?)).P").WithLocation(17, 9),
152390
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(default(T?)).P").WithLocation(18, 9));
152513
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1(y).P").WithLocation(11, 9),
152516
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(y).P").WithLocation(12, 9),
152519
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(y).P").WithLocation(13, 9),
152522
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(y).P").WithLocation(14, 9),
152525
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(default(int?)).P").WithLocation(16, 9),
152528
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(default(int?)).P").WithLocation(17, 9),
152531
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(default(int?)).P").WithLocation(18, 9));
152714
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1(y)").WithLocation(11, 9),
152717
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(y)").WithLocation(12, 9),
152720
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(y)").WithLocation(13, 9),
152723
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(y)").WithLocation(14, 9));
152828
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1(y)").WithLocation(11, 9),
152831
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(y)").WithLocation(12, 9),
152834
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(y)").WithLocation(13, 9),
152837
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(y)").WithLocation(14, 9));
153057
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1(y)").WithLocation(11, 9),
153060
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(y)").WithLocation(12, 9),
153063
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(y)").WithLocation(13, 9),
153066
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(y)").WithLocation(14, 9),
153069
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(default(T?))").WithLocation(16, 9),
153072
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(default(T?))").WithLocation(17, 9),
153075
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(default(T?))").WithLocation(18, 9));
155879
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "i").WithLocation(10, 13),
160975
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(9, 13),
160981
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(12, 17)
161030
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "first").WithLocation(13, 13),
161033
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "second").WithLocation(14, 13),
161036
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "first").WithLocation(22, 16),
161039
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "second").WithLocation(22, 41),
161042
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "first").WithLocation(30, 18),
161045
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "second").WithLocation(30, 43)
161081
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "first").WithLocation(8, 13),
161084
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "second").WithLocation(9, 13),
161087
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "first").WithLocation(13, 16),
161090
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "second").WithLocation(13, 41),
161093
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "first").WithLocation(18, 21),
161096
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "second").WithLocation(18, 46)
161190
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "c1").WithLocation(14, 13),
161193
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
: