411 references to WRN_NullableValueTypeMayBeNull
Microsoft.CodeAnalysis.CSharp (6)
Errors\ErrorFacts.cs (3)
39
nullableWarnings.Add(GetId(ErrorCode.
WRN_NullableValueTypeMayBeNull
));
461
case ErrorCode.
WRN_NullableValueTypeMayBeNull
:
1978
or ErrorCode.
WRN_NullableValueTypeMayBeNull
FlowAnalysis\NullableWalker.cs (2)
10045
ReportDiagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, getDiagnosticLocation());
13383
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)
16206
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(11, 1)
Semantics\ExtensionOperatorsTests.cs (10)
9456
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(20, 13),
9459
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x1").WithLocation(21, 13),
9462
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(25, 13),
9465
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y1").WithLocation(26, 13)
9505
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y1").WithLocation(26, 13)
26184
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(20, 13),
26187
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x1").WithLocation(21, 13),
26190
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(25, 13),
26193
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y1").WithLocation(26, 13)
26233
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y1").WithLocation(26, 13)
Semantics\PatternMatchingTests_ListPatterns.cs (6)
4119
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "item2").WithLocation(16, 13),
4122
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "item2").WithLocation(18, 13),
4206
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "item2").WithLocation(17, 13),
4209
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "item2").WithLocation(19, 13),
4403
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "rest2").WithLocation(19, 13),
4533
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "rest2").WithLocation(20, 13),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (387)
Semantics\LocalFunctionTests.cs (1)
6537
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "getDefault<int?>()").WithLocation(13, 9),
Semantics\NullableAwaitTests.cs (4)
86
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "result").WithLocation(11, 30));
111
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "result").WithLocation(11, 30));
134
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "result").WithLocation(9, 30));
166
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "res.Value").WithLocation(15, 13));
Semantics\NullableReferenceTypesTests.cs (373)
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),
87053
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(9, 9)
87110
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y2").WithLocation(11, 9),
87173
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "b3").WithLocation(29, 13),
87261
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(9, 9)
87286
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(9, 9)
87320
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(int)x1").WithLocation(5, 18),
87323
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(long)x3").WithLocation(14, 19));
87346
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(int)c?.i").WithLocation(7, 18));
87372
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "c.i").WithLocation(9, 13));
87591
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "default(S<V?>).F").WithLocation(14, 13)
87627
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "new S<V?>().F").WithLocation(14, 13)
87686
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x.F").WithLocation(12, 13),
87689
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y.F").WithLocation(13, 13)
87747
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x.F").WithLocation(12, 13),
87750
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y.F").WithLocation(13, 13)
87906
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x3.F").WithLocation(23, 13),
87909
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y3.F").WithLocation(24, 13)
88221
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x.F").WithLocation(6, 13));
88357
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "default((int, int?))/*T:(int, int?)*/.Item2").WithLocation(6, 13)
88383
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "new ValueTuple<int, int?>()/*T:(int, int?)*/.Item2").WithLocation(7, 13)
88440
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t.Item2").WithLocation(7, 13),
88443
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "u.Item2").WithLocation(8, 13)
88503
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t.Item2").WithLocation(8, 13),
88506
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "u.Item2").WithLocation(9, 13)
88601
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t.z").WithLocation(10, 13),
88610
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "u.z").WithLocation(13, 13)
88659
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x.Item3").WithLocation(12, 13),
88665
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y.Item3").WithLocation(15, 13),
88671
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "z.Item3").WithLocation(18, 13)
95938
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(a = new B() { F = null }).F").WithLocation(25, 13));
96606
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t3.Item1").WithLocation(29, 9),
97193
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(((T?, T?))t).Item2").WithLocation(12, 9));
127277
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(5, 13)
127315
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(5, 15));
127337
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)x").WithLocation(5, 16),
127340
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)default(T?)").WithLocation(9, 16));
127380
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)x").WithLocation(5, 13),
127383
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)x").WithLocation(8, 13),
127386
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)y").WithLocation(10, 13));
127421
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "((int, int))x").WithLocation(5, 17));
127446
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(6, 13),
127449
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(8, 13)
127476
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(6, 13),
127479
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "z").WithLocation(10, 13)
127508
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t1").WithLocation(8, 17),
127511
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2").WithLocation(13, 17)
127540
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t1").WithLocation(8, 17),
127543
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2").WithLocation(13, 17)
127591
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)t1").WithLocation(8, 17),
127649
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t3").WithLocation(24, 22),
127652
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t4").WithLocation(31, 33)
127691
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y1").WithLocation(7, 13),
127694
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y2").WithLocation(12, 13),
127697
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x3").WithLocation(18, 13),
127700
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y3").WithLocation(19, 13),
127703
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)y4").WithLocation(25, 13)
127742
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y1").WithLocation(7, 13),
127745
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y2").WithLocation(12, 13),
127748
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x3").WithLocation(18, 13),
127751
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y3").WithLocation(19, 13),
127754
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)y4").WithLocation(25, 13)
127778
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)(x1 != null ? x1 : y1)").WithLocation(5, 13));
127870
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "na1").WithLocation(23, 20),
127873
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "a1.B").WithLocation(24, 20),
127876
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "b1.C").WithLocation(25, 20),
127879
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(A)na2").WithLocation(36, 20),
127882
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(B)a2.B").WithLocation(37, 20),
127885
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(C)b2.C").WithLocation(38, 20)
127976
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(A)na3").WithLocation(47, 22),
127985
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(A)na4").WithLocation(62, 22),
128052
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(A)na2").WithLocation(39, 22),
128107
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ns").WithLocation(20, 21),
128116
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ns").WithLocation(35, 17)
128172
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl3").WithLocation(27, 17),
128175
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl4").WithLocation(29, 17),
128178
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(long)ni").WithLocation(41, 17)
128238
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(31, 17),
128241
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s4").WithLocation(33, 17),
128244
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ni").WithLocation(45, 20)
128292
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(11, 13),
128295
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(13, 13),
128298
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(16, 13),
128301
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(24, 17),
128304
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(26, 17),
128307
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(31, 17),
128310
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s4").WithLocation(33, 17)
128387
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(S)i").WithLocation(10, 13),
128390
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ns1").WithLocation(18, 17),
128393
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ns2").WithLocation(20, 17),
128396
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ns3").WithLocation(25, 17),
128399
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ns4").WithLocation(27, 17)
128444
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl1").WithLocation(28, 17),
128447
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl2").WithLocation(30, 17)
128492
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl1").WithLocation(11, 13),
128495
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl2").WithLocation(13, 13),
128498
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl1").WithLocation(21, 17),
128501
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl2").WithLocation(23, 17),
128504
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl1").WithLocation(28, 17),
128507
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl2").WithLocation(30, 17)
128605
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl1").WithLocation(11, 13),
128608
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl2").WithLocation(13, 13),
128611
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl1").WithLocation(21, 17),
128614
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl2").WithLocation(23, 17),
128617
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl3").WithLocation(28, 17),
128620
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl4").WithLocation(30, 17)
128957
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(14, 13),
128960
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(16, 13),
128963
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(24, 17),
128966
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(26, 17),
128972
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(33, 21),
128978
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s4").WithLocation(38, 21)
129068
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(14, 13),
129071
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(16, 13),
129074
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(24, 17),
129077
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(26, 17),
129080
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(31, 17),
129083
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s4").WithLocation(33, 17)
129328
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t3").WithLocation(28, 17),
129331
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t4").WithLocation(30, 17)
129417
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t1").WithLocation(11, 13),
129420
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2").WithLocation(13, 13),
129423
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t1").WithLocation(21, 17),
129426
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2").WithLocation(23, 17),
129429
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t3").WithLocation(28, 17),
129432
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t4").WithLocation(30, 17)
129477
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t1").WithLocation(11, 13),
129480
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2").WithLocation(13, 13),
129483
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t1").WithLocation(21, 17),
129486
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2").WithLocation(23, 17),
129489
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t3").WithLocation(28, 17),
129492
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t4").WithLocation(30, 17)
129540
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(11, 13),
129543
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(13, 13)
129645
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(11, 13),
129648
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(13, 13),
129651
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(21, 17),
129654
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(23, 17),
129660
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(30, 21),
129666
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s4").WithLocation(35, 21)
129709
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(26, 17),
129712
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s4").WithLocation(28, 17)
129757
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(11, 13),
129760
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(13, 13),
129763
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(21, 17),
129766
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(23, 17),
129769
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(28, 17),
129772
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s4").WithLocation(30, 17)
129856
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(11, 13),
129859
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(13, 13),
129862
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(21, 17),
129865
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(23, 17),
129868
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(28, 17),
129871
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s4").WithLocation(30, 17)
129916
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(19, 13),
130104
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T?)y1").WithLocation(6, 14),
130107
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "w2").WithLocation(13, 13)
130149
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(int?)(object)(U)x").WithLocation(17, 14),
130180
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "w1").WithLocation(8, 13),
130183
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "w2").WithLocation(15, 13)
130212
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ni").WithLocation(13, 13),
130215
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ni").WithLocation(15, 13)
130242
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(7, 17),
130245
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(8, 17),
130248
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(12, 17)
130273
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(6, 13),
130276
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "z").WithLocation(11, 13)
130341
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "b").WithLocation(13, 13),
130344
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "b2").WithLocation(25, 17)
130406
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t").WithLocation(6, 9)
130471
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(int)(i & j)").WithLocation(6, 13),
130474
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(int)(i | j)").WithLocation(7, 13),
130477
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(int)(i ^ j)").WithLocation(8, 13),
130480
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(int)(~i)").WithLocation(9, 13),
130483
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(bool)(i & b)").WithLocation(20, 13),
130486
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(bool)(i | b)").WithLocation(21, 13),
130489
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(bool)(i ^ b)").WithLocation(22, 13),
130492
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(bool)(!i)").WithLocation(23, 13));
130617
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(17, 9),
130729
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x1 as T?").WithLocation(5, 14),
130732
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y1 as T?").WithLocation(6, 14),
130735
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y2 as T?").WithLocation(11, 14),
130738
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x3 as T?").WithLocation(15, 14),
130741
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x4 as T?").WithLocation(19, 14),
130744
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y4 as T?").WithLocation(20, 14),
130747
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x5 as T?").WithLocation(24, 14),
130750
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y5 as T?").WithLocation(25, 14),
130753
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x6 as T?").WithLocation(29, 14)
130811
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2 as T?").WithLocation(13, 14),
130823
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t4 as U?").WithLocation(29, 14),
130826
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t4 as U?").WithLocation(31, 18),
130829
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t4 as U?").WithLocation(33, 18),
130865
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "u as int?").WithLocation(10, 14),
130868
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "u as int?").WithLocation(17, 14)
130901
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t as U?").WithLocation(9, 14),
130907
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t as U?").WithLocation(17, 14),
130933
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "i").WithLocation(8, 15));
130959
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "c.i").WithLocation(9, 15));
130991
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "i").WithLocation(9, 15),
130994
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "i").WithLocation(18, 15));
131030
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "i").WithLocation(8, 15));
131054
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)z").WithLocation(10, 14));
131078
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "z").WithLocation(10, 13)
131105
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t").WithLocation(13, 17)
131211
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2").WithLocation(9, 13)
131246
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(12, 9),
131282
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s").WithLocation(11, 13),
131285
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t").WithLocation(16, 13)
131322
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s").WithLocation(11, 27),
131325
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t").WithLocation(18, 27)
131738
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t.Item2").WithLocation(8, 13)
131760
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t.Item2").WithLocation(8, 13)
133425
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y3").WithLocation(35, 17),
134697
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "z").WithLocation(14, 13));
134787
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "b.x").WithLocation(11, 9),
134790
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "b.y").WithLocation(12, 9),
135141
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(8, 13));
135165
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(10, 13));
135522
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "C<T4?>.F").WithLocation(25, 13));
135973
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y4.A").WithLocation(41, 13),
135976
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y4.B").WithLocation(42, 13),
135979
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y5.A").WithLocation(48, 13),
135982
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y5.B").WithLocation(49, 13));
142762
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "c.i").WithLocation(14, 17),
142768
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "c.i").WithLocation(26, 17));
146796
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "~Create2(x)").WithLocation(18, 20),
146802
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "~Create2(y)").WithLocation(22, 20));
147121
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1x + s2y").WithLocation(22, 10),
147127
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1y + s2x").WithLocation(23, 10),
147136
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2x + s1y").WithLocation(24, 10),
147142
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2y + s1x").WithLocation(25, 10),
147151
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2x + s2y").WithLocation(26, 10),
147157
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2y + s2x").WithLocation(27, 10),
151987
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1(y)").WithLocation(11, 9),
151990
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(y)").WithLocation(12, 9),
151993
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(y)").WithLocation(13, 9),
151996
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(y)").WithLocation(14, 9),
151999
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(default(T?))").WithLocation(16, 9),
152002
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(default(T?))").WithLocation(17, 9),
152005
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(default(T?))").WithLocation(18, 9));
152128
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1(y)").WithLocation(11, 9),
152131
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(y)").WithLocation(12, 9),
152134
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(y)").WithLocation(13, 9),
152137
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(y)").WithLocation(14, 9),
152140
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(default(int?))").WithLocation(16, 9),
152143
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(default(int?))").WithLocation(17, 9),
152146
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(default(int?))").WithLocation(18, 9));
152363
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1(y).P").WithLocation(11, 9),
152366
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(y).P").WithLocation(12, 9),
152369
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(y).P").WithLocation(13, 9),
152372
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(y).P").WithLocation(14, 9),
152375
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(default(T?)).P").WithLocation(16, 9),
152378
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(default(T?)).P").WithLocation(17, 9),
152381
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(default(T?)).P").WithLocation(18, 9));
152504
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1(y).P").WithLocation(11, 9),
152507
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(y).P").WithLocation(12, 9),
152510
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(y).P").WithLocation(13, 9),
152513
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(y).P").WithLocation(14, 9),
152516
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(default(int?)).P").WithLocation(16, 9),
152519
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(default(int?)).P").WithLocation(17, 9),
152522
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(default(int?)).P").WithLocation(18, 9));
152705
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1(y)").WithLocation(11, 9),
152708
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(y)").WithLocation(12, 9),
152711
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(y)").WithLocation(13, 9),
152714
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(y)").WithLocation(14, 9));
152819
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1(y)").WithLocation(11, 9),
152822
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(y)").WithLocation(12, 9),
152825
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(y)").WithLocation(13, 9),
152828
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(y)").WithLocation(14, 9));
153048
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1(y)").WithLocation(11, 9),
153051
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(y)").WithLocation(12, 9),
153054
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(y)").WithLocation(13, 9),
153057
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(y)").WithLocation(14, 9),
153060
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(default(T?))").WithLocation(16, 9),
153063
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(default(T?))").WithLocation(17, 9),
153066
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(default(T?))").WithLocation(18, 9));
155870
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "i").WithLocation(10, 13),
160966
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(9, 13),
160972
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(12, 17)
161021
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "first").WithLocation(13, 13),
161024
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "second").WithLocation(14, 13),
161027
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "first").WithLocation(22, 16),
161030
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "second").WithLocation(22, 41),
161033
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "first").WithLocation(30, 18),
161036
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "second").WithLocation(30, 43)
161072
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "first").WithLocation(8, 13),
161075
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "second").WithLocation(9, 13),
161078
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "first").WithLocation(13, 16),
161081
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "second").WithLocation(13, 41),
161084
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "first").WithLocation(18, 21),
161087
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "second").WithLocation(18, 46)
161181
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "c1").WithLocation(14, 13),
161184
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
: