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
:
1970
or ErrorCode.
WRN_NullableValueTypeMayBeNull
FlowAnalysis\NullableWalker.cs (2)
9656
ReportDiagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, getDiagnosticLocation());
12786
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)
14377
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(11, 1)
Semantics\ExtensionOperatorsTests.cs (10)
9466
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(20, 13),
9469
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x1").WithLocation(21, 13),
9472
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(25, 13),
9475
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y1").WithLocation(26, 13)
9515
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y1").WithLocation(26, 13)
26152
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(20, 13),
26155
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x1").WithLocation(21, 13),
26158
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(25, 13),
26161
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y1").WithLocation(26, 13)
26201
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y1").WithLocation(26, 13)
Semantics\PatternMatchingTests_ListPatterns.cs (6)
4059
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "item2").WithLocation(16, 13),
4062
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "item2").WithLocation(18, 13),
4146
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "item2").WithLocation(17, 13),
4149
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "item2").WithLocation(19, 13),
4343
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "rest2").WithLocation(19, 13),
4473
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)
4300
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2").WithLocation(8, 9),
4303
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2").WithLocation(15, 9)
4714
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2[0]").WithLocation(8, 9),
4717
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2[0]").WithLocation(15, 9)
7989
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s").WithLocation(10, 9)
26920
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "i").WithLocation(13, 24)
28827
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s17").WithLocation(82, 15),
28830
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s17").WithLocation(83, 15),
28833
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s18").WithLocation(86, 15),
28836
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s18").WithLocation(87, 15),
28839
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s19").WithLocation(91, 15),
28842
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s19").WithLocation(92, 15),
28845
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s20").WithLocation(95, 15),
28848
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s20").WithLocation(96, 15)
30155
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "new COpen<T?>().P1").WithLocation(29, 9),
30158
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "new CStruct<T>().P5").WithLocation(30, 9)
30383
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "new COpen<T?>().P1").WithLocation(18, 9),
30386
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "new CStruct<T>().P5").WithLocation(19, 9)
30602
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "new COpen<T?>()[0]").WithLocation(18, 9),
30605
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "new CStruct2<T>()[0]").WithLocation(19, 9)
30783
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "new CStruct<T>().f5").WithLocation(34, 9)
30856
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "f1").WithLocation(7, 9)
30930
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "c.f1").WithLocation(7, 9),
30933
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "c.f1").WithLocation(11, 9)
31721
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s17").WithLocation(82, 15),
31724
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s18").WithLocation(86, 15),
31727
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s19").WithLocation(91, 15),
31730
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s20").WithLocation(95, 15)
33139
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "c.M(p2)").WithLocation(8, 9)
39662
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x", isSuppressed: false).WithLocation(7, 9),
39948
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "value").WithLocation(14, 15),
39951
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "value").WithLocation(20, 15),
39957
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "value").WithLocation(26, 15)
44739
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "P1").WithLocation(8, 9),
44748
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "P1").WithLocation(13, 9),
45102
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "Property").WithLocation(22, 9)
45147
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "Property").WithLocation(22, 9)
45906
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1(t5)").WithLocation(41, 13),
45909
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F5(t5)").WithLocation(42, 13),
45912
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1(t5)").WithLocation(44, 13),
45915
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F5(t5)").WithLocation(45, 13));
46032
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1<T?>(t5)").WithLocation(40, 13),
46035
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F5<T>(t5)").WithLocation(41, 13),
46038
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1<T?>(t5)").WithLocation(43, 13),
46041
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F5<T>(t5)").WithLocation(44, 13));
46164
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1<T?>(t5)").WithLocation(40, 13),
46167
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F5<T>(t5)").WithLocation(41, 13),
46170
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1<T?>(t5)").WithLocation(43, 13),
46173
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F5<T>(t5)").WithLocation(44, 13));
46222
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2()").WithLocation(9, 13));
46359
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "C<V?>.F()").WithLocation(16, 13),
46368
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "C<int?>.F()").WithLocation(20, 13));
46552
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s17").WithLocation(67, 13),
46555
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s18").WithLocation(70, 13),
46558
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s19").WithLocation(74, 13),
46561
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s20").WithLocation(77, 13)
46712
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s16").WithLocation(67, 13),
46715
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s17").WithLocation(70, 13),
46718
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s18").WithLocation(74, 13),
46721
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s19").WithLocation(77, 13)
46778
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "i2").WithLocation(12, 13)
46938
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "o5").WithLocation(25, 13),
46947
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "o9").WithLocation(37, 13)
48814
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x4").WithLocation(33, 13)
53287
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "flag").WithLocation(8, 15)
58308
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x5 ?? y5").WithLocation(30, 10),
58317
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y5 ?? x5").WithLocation(31, 10),
58326
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x6 ?? y6").WithLocation(35, 10),
58332
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y6 ?? x6").WithLocation(36, 10)
62572
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "new { x = x, y = y }.x").WithLocation(6, 13),
62575
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "new { x = y, y = x }.y").WithLocation(9, 13),
62578
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "new { x, y }.x").WithLocation(10, 13),
62581
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "new { y, x }.x").WithLocation(12, 13));
62641
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "a.y").WithLocation(9, 13),
62644
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "a.x").WithLocation(13, 13));
78497
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "result1").WithLocation(9, 9),
78500
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "result2").WithLocation(12, 9),
82032
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t").WithLocation(17, 12),
82038
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t").WithLocation(20, 12)
82091
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "i").WithLocation(13, 12),
82094
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "i").WithLocation(16, 12),
87019
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(9, 9)
87076
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y2").WithLocation(11, 9),
87139
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "b3").WithLocation(29, 13),
87227
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(9, 9)
87252
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(9, 9)
87286
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(int)x1").WithLocation(5, 18),
87289
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(long)x3").WithLocation(14, 19));
87312
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(int)c?.i").WithLocation(7, 18));
87338
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "c.i").WithLocation(9, 13));
87557
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "default(S<V?>).F").WithLocation(14, 13)
87593
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "new S<V?>().F").WithLocation(14, 13)
87652
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x.F").WithLocation(12, 13),
87655
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y.F").WithLocation(13, 13)
87713
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x.F").WithLocation(12, 13),
87716
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y.F").WithLocation(13, 13)
87872
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x3.F").WithLocation(23, 13),
87875
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y3.F").WithLocation(24, 13)
88187
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x.F").WithLocation(6, 13));
88323
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "default((int, int?))/*T:(int, int?)*/.Item2").WithLocation(6, 13)
88349
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "new ValueTuple<int, int?>()/*T:(int, int?)*/.Item2").WithLocation(7, 13)
88406
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t.Item2").WithLocation(7, 13),
88409
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "u.Item2").WithLocation(8, 13)
88469
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t.Item2").WithLocation(8, 13),
88472
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "u.Item2").WithLocation(9, 13)
88567
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t.z").WithLocation(10, 13),
88576
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "u.z").WithLocation(13, 13)
88625
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x.Item3").WithLocation(12, 13),
88631
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y.Item3").WithLocation(15, 13),
88637
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "z.Item3").WithLocation(18, 13)
95882
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(a = new B() { F = null }).F").WithLocation(25, 13));
96544
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2.Item1").WithLocation(23, 9),
96556
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t3.Item1").WithLocation(29, 9),
97143
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(((T?, T?))t).Item2").WithLocation(12, 9));
127227
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(5, 13)
127265
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(5, 15));
127287
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)x").WithLocation(5, 16),
127290
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)default(T?)").WithLocation(9, 16));
127330
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)x").WithLocation(5, 13),
127333
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)x").WithLocation(8, 13),
127336
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)y").WithLocation(10, 13));
127371
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "((int, int))x").WithLocation(5, 17));
127396
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(6, 13),
127399
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(8, 13)
127426
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(6, 13),
127429
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "z").WithLocation(10, 13)
127458
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t1").WithLocation(8, 17),
127461
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2").WithLocation(13, 17)
127490
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t1").WithLocation(8, 17),
127493
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2").WithLocation(13, 17)
127541
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)t1").WithLocation(8, 17),
127599
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t3").WithLocation(24, 22),
127602
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t4").WithLocation(31, 33)
127641
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y1").WithLocation(7, 13),
127644
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y2").WithLocation(12, 13),
127647
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x3").WithLocation(18, 13),
127650
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y3").WithLocation(19, 13),
127653
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)y4").WithLocation(25, 13)
127692
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y1").WithLocation(7, 13),
127695
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y2").WithLocation(12, 13),
127698
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x3").WithLocation(18, 13),
127701
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y3").WithLocation(19, 13),
127704
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)y4").WithLocation(25, 13)
127728
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)(x1 != null ? x1 : y1)").WithLocation(5, 13));
127820
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "na1").WithLocation(23, 20),
127823
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "a1.B").WithLocation(24, 20),
127826
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "b1.C").WithLocation(25, 20),
127829
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(A)na2").WithLocation(36, 20),
127832
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(B)a2.B").WithLocation(37, 20),
127835
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(C)b2.C").WithLocation(38, 20)
127926
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(A)na3").WithLocation(47, 22),
127935
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(A)na4").WithLocation(62, 22),
128002
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(A)na2").WithLocation(39, 22),
128057
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ns").WithLocation(20, 21),
128066
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ns").WithLocation(35, 17)
128122
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl3").WithLocation(27, 17),
128125
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl4").WithLocation(29, 17),
128128
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(long)ni").WithLocation(41, 17)
128188
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(31, 17),
128191
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s4").WithLocation(33, 17),
128194
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ni").WithLocation(45, 20)
128242
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(11, 13),
128245
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(13, 13),
128248
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(16, 13),
128251
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(24, 17),
128254
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(26, 17),
128257
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(31, 17),
128260
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s4").WithLocation(33, 17)
128337
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(S)i").WithLocation(10, 13),
128340
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ns1").WithLocation(18, 17),
128343
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ns2").WithLocation(20, 17),
128346
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ns3").WithLocation(25, 17),
128349
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ns4").WithLocation(27, 17)
128394
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl1").WithLocation(28, 17),
128397
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl2").WithLocation(30, 17)
128442
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl1").WithLocation(11, 13),
128445
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl2").WithLocation(13, 13),
128448
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl1").WithLocation(21, 17),
128451
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl2").WithLocation(23, 17),
128454
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl1").WithLocation(28, 17),
128457
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl2").WithLocation(30, 17)
128555
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl1").WithLocation(11, 13),
128558
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl2").WithLocation(13, 13),
128561
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl1").WithLocation(21, 17),
128564
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl2").WithLocation(23, 17),
128567
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl3").WithLocation(28, 17),
128570
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl4").WithLocation(30, 17)
128907
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(14, 13),
128910
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(16, 13),
128913
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(24, 17),
128916
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(26, 17),
128922
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(33, 21),
128928
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s4").WithLocation(38, 21)
129018
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(14, 13),
129021
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(16, 13),
129024
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(24, 17),
129027
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(26, 17),
129030
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(31, 17),
129033
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s4").WithLocation(33, 17)
129278
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t3").WithLocation(28, 17),
129281
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t4").WithLocation(30, 17)
129367
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t1").WithLocation(11, 13),
129370
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2").WithLocation(13, 13),
129373
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t1").WithLocation(21, 17),
129376
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2").WithLocation(23, 17),
129379
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t3").WithLocation(28, 17),
129382
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t4").WithLocation(30, 17)
129427
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t1").WithLocation(11, 13),
129430
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2").WithLocation(13, 13),
129433
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t1").WithLocation(21, 17),
129436
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2").WithLocation(23, 17),
129439
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t3").WithLocation(28, 17),
129442
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t4").WithLocation(30, 17)
129490
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(11, 13),
129493
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(13, 13)
129595
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(11, 13),
129598
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(13, 13),
129601
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(21, 17),
129604
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(23, 17),
129610
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(30, 21),
129616
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s4").WithLocation(35, 21)
129659
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(26, 17),
129662
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s4").WithLocation(28, 17)
129707
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(11, 13),
129710
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(13, 13),
129713
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(21, 17),
129716
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(23, 17),
129719
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(28, 17),
129722
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s4").WithLocation(30, 17)
129806
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(11, 13),
129809
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(13, 13),
129812
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(21, 17),
129815
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(23, 17),
129818
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(28, 17),
129821
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s4").WithLocation(30, 17)
129866
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(19, 13),
130054
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T?)y1").WithLocation(6, 14),
130057
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "w2").WithLocation(13, 13)
130099
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(int?)(object)(U)x").WithLocation(17, 14),
130130
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "w1").WithLocation(8, 13),
130133
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "w2").WithLocation(15, 13)
130162
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ni").WithLocation(13, 13),
130165
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ni").WithLocation(15, 13)
130192
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(7, 17),
130195
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(8, 17),
130198
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(12, 17)
130223
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(6, 13),
130226
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "z").WithLocation(11, 13)
130291
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "b").WithLocation(13, 13),
130294
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "b2").WithLocation(25, 17)
130356
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t").WithLocation(6, 9)
130421
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(int)(i & j)").WithLocation(6, 13),
130424
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(int)(i | j)").WithLocation(7, 13),
130427
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(int)(i ^ j)").WithLocation(8, 13),
130430
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(int)(~i)").WithLocation(9, 13),
130433
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(bool)(i & b)").WithLocation(20, 13),
130436
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(bool)(i | b)").WithLocation(21, 13),
130439
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(bool)(i ^ b)").WithLocation(22, 13),
130442
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(bool)(!i)").WithLocation(23, 13));
130567
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(17, 9),
130679
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x1 as T?").WithLocation(5, 14),
130682
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y1 as T?").WithLocation(6, 14),
130685
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y2 as T?").WithLocation(11, 14),
130688
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x3 as T?").WithLocation(15, 14),
130691
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x4 as T?").WithLocation(19, 14),
130694
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y4 as T?").WithLocation(20, 14),
130697
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x5 as T?").WithLocation(24, 14),
130700
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y5 as T?").WithLocation(25, 14),
130703
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x6 as T?").WithLocation(29, 14)
130761
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2 as T?").WithLocation(13, 14),
130773
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t4 as U?").WithLocation(29, 14),
130776
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t4 as U?").WithLocation(31, 18),
130779
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t4 as U?").WithLocation(33, 18),
130815
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "u as int?").WithLocation(10, 14),
130818
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "u as int?").WithLocation(17, 14)
130851
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t as U?").WithLocation(9, 14),
130857
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t as U?").WithLocation(17, 14),
130883
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "i").WithLocation(8, 15));
130909
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "c.i").WithLocation(9, 15));
130941
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "i").WithLocation(9, 15),
130944
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "i").WithLocation(18, 15));
130980
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "i").WithLocation(8, 15));
131004
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)z").WithLocation(10, 14));
131028
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "z").WithLocation(10, 13)
131055
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t").WithLocation(13, 17)
131161
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2").WithLocation(9, 13)
131196
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(12, 9),
131232
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s").WithLocation(11, 13),
131235
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t").WithLocation(16, 13)
131272
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s").WithLocation(11, 27),
131275
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t").WithLocation(18, 27)
131688
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t.Item2").WithLocation(8, 13)
131710
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t.Item2").WithLocation(8, 13)
133375
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y3").WithLocation(35, 17),
134647
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "z").WithLocation(14, 13));
134737
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "b.x").WithLocation(11, 9),
134740
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "b.y").WithLocation(12, 9),
135091
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(8, 13));
135115
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(10, 13));
135472
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "C<T4?>.F").WithLocation(25, 13));
135923
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y4.A").WithLocation(41, 13),
135926
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y4.B").WithLocation(42, 13),
135929
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y5.A").WithLocation(48, 13),
135932
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y5.B").WithLocation(49, 13));
142712
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "c.i").WithLocation(14, 17),
142718
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "c.i").WithLocation(26, 17));
146746
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "~Create2(x)").WithLocation(18, 20),
146752
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "~Create2(y)").WithLocation(22, 20));
147071
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1x + s2y").WithLocation(22, 10),
147077
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1y + s2x").WithLocation(23, 10),
147086
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2x + s1y").WithLocation(24, 10),
147092
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2y + s1x").WithLocation(25, 10),
147101
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2x + s2y").WithLocation(26, 10),
147107
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2y + s2x").WithLocation(27, 10),
151937
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1(y)").WithLocation(11, 9),
151940
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(y)").WithLocation(12, 9),
151943
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(y)").WithLocation(13, 9),
151946
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(y)").WithLocation(14, 9),
151949
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(default(T?))").WithLocation(16, 9),
151952
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(default(T?))").WithLocation(17, 9),
151955
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(default(T?))").WithLocation(18, 9));
152078
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1(y)").WithLocation(11, 9),
152081
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(y)").WithLocation(12, 9),
152084
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(y)").WithLocation(13, 9),
152087
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(y)").WithLocation(14, 9),
152090
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(default(int?))").WithLocation(16, 9),
152093
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(default(int?))").WithLocation(17, 9),
152096
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(default(int?))").WithLocation(18, 9));
152313
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1(y).P").WithLocation(11, 9),
152316
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(y).P").WithLocation(12, 9),
152319
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(y).P").WithLocation(13, 9),
152322
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(y).P").WithLocation(14, 9),
152325
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(default(T?)).P").WithLocation(16, 9),
152328
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(default(T?)).P").WithLocation(17, 9),
152331
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(default(T?)).P").WithLocation(18, 9));
152454
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1(y).P").WithLocation(11, 9),
152457
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(y).P").WithLocation(12, 9),
152460
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(y).P").WithLocation(13, 9),
152463
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(y).P").WithLocation(14, 9),
152466
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(default(int?)).P").WithLocation(16, 9),
152469
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(default(int?)).P").WithLocation(17, 9),
152472
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(default(int?)).P").WithLocation(18, 9));
152655
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1(y)").WithLocation(11, 9),
152658
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(y)").WithLocation(12, 9),
152661
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(y)").WithLocation(13, 9),
152664
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(y)").WithLocation(14, 9));
152769
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1(y)").WithLocation(11, 9),
152772
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(y)").WithLocation(12, 9),
152775
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(y)").WithLocation(13, 9),
152778
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(y)").WithLocation(14, 9));
152998
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1(y)").WithLocation(11, 9),
153001
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(y)").WithLocation(12, 9),
153004
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(y)").WithLocation(13, 9),
153007
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(y)").WithLocation(14, 9),
153010
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(default(T?))").WithLocation(16, 9),
153013
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(default(T?))").WithLocation(17, 9),
153016
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(default(T?))").WithLocation(18, 9));
155820
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "i").WithLocation(10, 13),
160913
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(9, 13),
160919
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(12, 17)
160968
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "first").WithLocation(13, 13),
160971
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "second").WithLocation(14, 13),
160974
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "first").WithLocation(22, 16),
160977
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "second").WithLocation(22, 41),
160980
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "first").WithLocation(30, 18),
160983
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "second").WithLocation(30, 43)
161019
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "first").WithLocation(8, 13),
161022
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "second").WithLocation(9, 13),
161025
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "first").WithLocation(13, 16),
161028
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "second").WithLocation(13, 41),
161031
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "first").WithLocation(18, 21),
161034
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "second").WithLocation(18, 46)
161128
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "c1").WithLocation(14, 13),
161131
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)
1862
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "n").WithLocation(7, 22),
1868
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "n").WithLocation(14, 23),
1874
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "n").WithLocation(22, 24),
1880
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "n").WithLocation(31, 26));
2254
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(62, 9),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
369
case ErrorCode.
WRN_NullableValueTypeMayBeNull
: