396 references to WRN_NullableValueTypeMayBeNull
Microsoft.CodeAnalysis.CSharp (6)
Errors\ErrorFacts.cs (3)
39
nullableWarnings.Add(GetId(ErrorCode.
WRN_NullableValueTypeMayBeNull
));
444
case ErrorCode.
WRN_NullableValueTypeMayBeNull
:
1914
case ErrorCode.
WRN_NullableValueTypeMayBeNull
:
FlowAnalysis\NullableWalker.cs (2)
8151
ReportDiagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, diagnosticLocationOpt);
10911
ReportDiagnostic(isValueType ? ErrorCode.
WRN_NullableValueTypeMayBeNull
: ErrorCode.WRN_NullReferenceReceiver, syntax);
Generated\ErrorFacts.Generated.cs (1)
218
case ErrorCode.
WRN_NullableValueTypeMayBeNull
:
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (6)
Semantics\PatternMatchingTests_ListPatterns.cs (6)
4062
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "item2").WithLocation(16, 13),
4065
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "item2").WithLocation(18, 13),
4149
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "item2").WithLocation(17, 13),
4152
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "item2").WithLocation(19, 13),
4346
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "rest2").WithLocation(19, 13),
4476
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "rest2").WithLocation(20, 13),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (383)
Semantics\LocalFunctionTests.cs (1)
6150
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "getDefault<int?>()").WithLocation(13, 9),
Semantics\NullableReferenceTypesTests.cs (373)
4288
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2").WithLocation(8, 9),
4291
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2").WithLocation(15, 9)
4702
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2[0]").WithLocation(8, 9),
4705
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2[0]").WithLocation(15, 9)
7977
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s").WithLocation(10, 9)
25093
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "i").WithLocation(13, 24)
26923
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s17").WithLocation(82, 15),
26926
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s17").WithLocation(83, 15),
26929
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s18").WithLocation(86, 15),
26932
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s18").WithLocation(87, 15),
26935
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s19").WithLocation(91, 15),
26938
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s19").WithLocation(92, 15),
26941
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s20").WithLocation(95, 15),
26944
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s20").WithLocation(96, 15)
28216
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "new COpen<T?>().P1").WithLocation(29, 9),
28219
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "new CStruct<T>().P5").WithLocation(30, 9)
28444
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "new COpen<T?>().P1").WithLocation(18, 9),
28447
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "new CStruct<T>().P5").WithLocation(19, 9)
28663
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "new COpen<T?>()[0]").WithLocation(18, 9),
28666
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "new CStruct2<T>()[0]").WithLocation(19, 9)
28844
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "new CStruct<T>().f5").WithLocation(34, 9)
28917
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "f1").WithLocation(7, 9)
28991
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "c.f1").WithLocation(7, 9),
28994
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "c.f1").WithLocation(11, 9)
29782
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s17").WithLocation(82, 15),
29785
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s18").WithLocation(86, 15),
29788
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s19").WithLocation(91, 15),
29791
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s20").WithLocation(95, 15)
31200
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "c.M(p2)").WithLocation(8, 9)
37595
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x", isSuppressed: false).WithLocation(7, 9),
37881
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "value").WithLocation(14, 15),
37884
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "value").WithLocation(20, 15),
37890
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "value").WithLocation(26, 15)
42672
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "P1").WithLocation(8, 9),
42681
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "P1").WithLocation(13, 9),
43784
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1(t5)").WithLocation(41, 13),
43787
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F5(t5)").WithLocation(42, 13),
43790
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1(t5)").WithLocation(44, 13),
43793
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F5(t5)").WithLocation(45, 13));
43910
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1<T?>(t5)").WithLocation(40, 13),
43913
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F5<T>(t5)").WithLocation(41, 13),
43916
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1<T?>(t5)").WithLocation(43, 13),
43919
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F5<T>(t5)").WithLocation(44, 13));
44042
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1<T?>(t5)").WithLocation(40, 13),
44045
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F5<T>(t5)").WithLocation(41, 13),
44048
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1<T?>(t5)").WithLocation(43, 13),
44051
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F5<T>(t5)").WithLocation(44, 13));
44100
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2()").WithLocation(9, 13));
44237
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "C<V?>.F()").WithLocation(16, 13),
44246
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "C<int?>.F()").WithLocation(20, 13));
44430
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s17").WithLocation(67, 13),
44433
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s18").WithLocation(70, 13),
44436
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s19").WithLocation(74, 13),
44439
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s20").WithLocation(77, 13)
44590
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s16").WithLocation(67, 13),
44593
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s17").WithLocation(70, 13),
44596
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s18").WithLocation(74, 13),
44599
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s19").WithLocation(77, 13)
44656
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "i2").WithLocation(12, 13)
44816
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "o5").WithLocation(25, 13),
44825
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "o9").WithLocation(37, 13)
46692
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x4").WithLocation(33, 13)
51171
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "flag").WithLocation(8, 15)
55839
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x5 ?? y5").WithLocation(30, 10),
55848
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y5 ?? x5").WithLocation(31, 10),
55857
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x6 ?? y6").WithLocation(35, 10),
55863
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y6 ?? x6").WithLocation(36, 10)
60081
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "new { x = x, y = y }.x").WithLocation(6, 13),
60084
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "new { x = y, y = x }.y").WithLocation(9, 13),
60087
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "new { x, y }.x").WithLocation(10, 13),
60090
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "new { y, x }.x").WithLocation(12, 13));
60150
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "a.y").WithLocation(9, 13),
60153
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "a.x").WithLocation(13, 13));
74780
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "result1").WithLocation(9, 9),
74783
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "result2").WithLocation(12, 9),
78321
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t").WithLocation(17, 12),
78327
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t").WithLocation(20, 12)
78380
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "i").WithLocation(13, 12),
78383
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "i").WithLocation(16, 12),
83308
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(9, 9)
83365
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y2").WithLocation(11, 9),
83428
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "b3").WithLocation(29, 13),
83516
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(9, 9)
83541
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(9, 9)
83575
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(int)x1").WithLocation(5, 18),
83578
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(long)x3").WithLocation(14, 19));
83601
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(int)c?.i").WithLocation(7, 18));
83627
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "c.i").WithLocation(9, 13));
83846
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "default(S<V?>).F").WithLocation(14, 13)
83882
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "new S<V?>().F").WithLocation(14, 13)
83941
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x.F").WithLocation(12, 13),
83944
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y.F").WithLocation(13, 13)
84002
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x.F").WithLocation(12, 13),
84005
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y.F").WithLocation(13, 13)
84161
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x3.F").WithLocation(23, 13),
84164
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y3.F").WithLocation(24, 13)
84476
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x.F").WithLocation(6, 13));
84612
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "default((int, int?))/*T:(int, int?)*/.Item2").WithLocation(6, 13)
84638
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "new ValueTuple<int, int?>()/*T:(int, int?)*/.Item2").WithLocation(7, 13)
84695
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t.Item2").WithLocation(7, 13),
84698
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "u.Item2").WithLocation(8, 13)
84758
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t.Item2").WithLocation(8, 13),
84761
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "u.Item2").WithLocation(9, 13)
84856
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t.z").WithLocation(10, 13),
84865
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "u.z").WithLocation(13, 13)
84914
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x.Item3").WithLocation(12, 13),
84920
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y.Item3").WithLocation(15, 13),
84926
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "z.Item3").WithLocation(18, 13)
92090
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(a = new B() { F = null }).F").WithLocation(25, 13));
92752
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2.Item1").WithLocation(23, 9),
92764
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t3.Item1").WithLocation(29, 9),
93351
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(((T?, T?))t).Item2").WithLocation(12, 9));
123435
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(5, 13)
123473
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(5, 15));
123495
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)x").WithLocation(5, 16),
123498
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)default(T?)").WithLocation(9, 16));
123538
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)x").WithLocation(5, 13),
123541
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)x").WithLocation(8, 13),
123544
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)y").WithLocation(10, 13));
123579
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "((int, int))x").WithLocation(5, 17));
123604
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(6, 13),
123607
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(8, 13)
123634
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(6, 13),
123637
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "z").WithLocation(10, 13)
123666
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t1").WithLocation(8, 17),
123669
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2").WithLocation(13, 17)
123698
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t1").WithLocation(8, 17),
123701
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2").WithLocation(13, 17)
123749
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)t1").WithLocation(8, 17),
123807
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t3").WithLocation(24, 22),
123810
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t4").WithLocation(31, 33)
123849
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y1").WithLocation(7, 13),
123852
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y2").WithLocation(12, 13),
123855
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x3").WithLocation(18, 13),
123858
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y3").WithLocation(19, 13),
123861
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)y4").WithLocation(25, 13)
123900
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y1").WithLocation(7, 13),
123903
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y2").WithLocation(12, 13),
123906
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x3").WithLocation(18, 13),
123909
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y3").WithLocation(19, 13),
123912
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)y4").WithLocation(25, 13)
123936
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)(x1 != null ? x1 : y1)").WithLocation(5, 13));
124028
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "na1").WithLocation(23, 20),
124031
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "a1.B").WithLocation(24, 20),
124034
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "b1.C").WithLocation(25, 20),
124037
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(A)na2").WithLocation(36, 20),
124040
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(B)a2.B").WithLocation(37, 20),
124043
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(C)b2.C").WithLocation(38, 20)
124134
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(A)na3").WithLocation(47, 22),
124143
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(A)na4").WithLocation(62, 22),
124210
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(A)na2").WithLocation(39, 22),
124265
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ns").WithLocation(20, 21),
124274
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ns").WithLocation(35, 17)
124330
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl3").WithLocation(27, 17),
124333
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl4").WithLocation(29, 17),
124336
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(long)ni").WithLocation(41, 17)
124396
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(31, 17),
124399
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s4").WithLocation(33, 17),
124402
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ni").WithLocation(45, 20)
124450
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(11, 13),
124453
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(13, 13),
124456
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(16, 13),
124459
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(24, 17),
124462
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(26, 17),
124465
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(31, 17),
124468
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s4").WithLocation(33, 17)
124545
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(S)i").WithLocation(10, 13),
124548
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ns1").WithLocation(18, 17),
124551
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ns2").WithLocation(20, 17),
124554
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ns3").WithLocation(25, 17),
124557
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ns4").WithLocation(27, 17)
124602
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl1").WithLocation(28, 17),
124605
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl2").WithLocation(30, 17)
124650
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl1").WithLocation(11, 13),
124653
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl2").WithLocation(13, 13),
124656
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl1").WithLocation(21, 17),
124659
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl2").WithLocation(23, 17),
124662
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl1").WithLocation(28, 17),
124665
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl2").WithLocation(30, 17)
124763
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl1").WithLocation(11, 13),
124766
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl2").WithLocation(13, 13),
124769
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl1").WithLocation(21, 17),
124772
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl2").WithLocation(23, 17),
124775
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl3").WithLocation(28, 17),
124778
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "nl4").WithLocation(30, 17)
125115
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(14, 13),
125118
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(16, 13),
125121
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(24, 17),
125124
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(26, 17),
125130
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(33, 21),
125136
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s4").WithLocation(38, 21)
125226
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(14, 13),
125229
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(16, 13),
125232
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(24, 17),
125235
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(26, 17),
125238
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(31, 17),
125241
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s4").WithLocation(33, 17)
125486
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t3").WithLocation(28, 17),
125489
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t4").WithLocation(30, 17)
125575
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t1").WithLocation(11, 13),
125578
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2").WithLocation(13, 13),
125581
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t1").WithLocation(21, 17),
125584
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2").WithLocation(23, 17),
125587
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t3").WithLocation(28, 17),
125590
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t4").WithLocation(30, 17)
125635
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t1").WithLocation(11, 13),
125638
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2").WithLocation(13, 13),
125641
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t1").WithLocation(21, 17),
125644
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2").WithLocation(23, 17),
125647
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t3").WithLocation(28, 17),
125650
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t4").WithLocation(30, 17)
125698
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(11, 13),
125701
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(13, 13)
125803
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(11, 13),
125806
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(13, 13),
125809
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(21, 17),
125812
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(23, 17),
125818
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(30, 21),
125824
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s4").WithLocation(35, 21)
125867
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(26, 17),
125870
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s4").WithLocation(28, 17)
125915
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(11, 13),
125918
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(13, 13),
125921
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(21, 17),
125924
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(23, 17),
125927
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(28, 17),
125930
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s4").WithLocation(30, 17)
126014
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(11, 13),
126017
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(13, 13),
126020
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1").WithLocation(21, 17),
126023
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2").WithLocation(23, 17),
126026
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s3").WithLocation(28, 17),
126029
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s4").WithLocation(30, 17)
126074
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(19, 13),
126262
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T?)y1").WithLocation(6, 14),
126265
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "w2").WithLocation(13, 13)
126307
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(int?)(object)(U)x").WithLocation(17, 14),
126338
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "w1").WithLocation(8, 13),
126341
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "w2").WithLocation(15, 13)
126370
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ni").WithLocation(13, 13),
126373
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "ni").WithLocation(15, 13)
126400
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(7, 17),
126403
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(8, 17),
126406
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(12, 17)
126431
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(6, 13),
126434
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "z").WithLocation(11, 13)
126499
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "b").WithLocation(13, 13),
126502
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "b2").WithLocation(25, 17)
126564
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t").WithLocation(6, 9)
126629
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(int)(i & j)").WithLocation(6, 13),
126632
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(int)(i | j)").WithLocation(7, 13),
126635
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(int)(i ^ j)").WithLocation(8, 13),
126638
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(int)(~i)").WithLocation(9, 13),
126641
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(bool)(i & b)").WithLocation(20, 13),
126644
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(bool)(i | b)").WithLocation(21, 13),
126647
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(bool)(i ^ b)").WithLocation(22, 13),
126650
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(bool)(!i)").WithLocation(23, 13));
126775
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(17, 9),
126887
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x1 as T?").WithLocation(5, 14),
126890
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y1 as T?").WithLocation(6, 14),
126893
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y2 as T?").WithLocation(11, 14),
126896
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x3 as T?").WithLocation(15, 14),
126899
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x4 as T?").WithLocation(19, 14),
126902
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y4 as T?").WithLocation(20, 14),
126905
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x5 as T?").WithLocation(24, 14),
126908
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y5 as T?").WithLocation(25, 14),
126911
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x6 as T?").WithLocation(29, 14)
126969
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2 as T?").WithLocation(13, 14),
126981
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t4 as U?").WithLocation(29, 14),
126984
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t4 as U?").WithLocation(31, 18),
126987
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t4 as U?").WithLocation(33, 18),
127023
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "u as int?").WithLocation(10, 14),
127026
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "u as int?").WithLocation(17, 14)
127059
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t as U?").WithLocation(9, 14),
127065
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t as U?").WithLocation(17, 14),
127091
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "i").WithLocation(8, 15));
127117
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "c.i").WithLocation(9, 15));
127149
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "i").WithLocation(9, 15),
127152
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "i").WithLocation(18, 15));
127188
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "i").WithLocation(8, 15));
127212
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "(T)z").WithLocation(10, 14));
127236
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "z").WithLocation(10, 13)
127263
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t").WithLocation(13, 17)
127369
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t2").WithLocation(9, 13)
127404
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(12, 9),
127407
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(15, 9),
127443
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s").WithLocation(11, 13),
127446
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t").WithLocation(16, 13)
127483
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s").WithLocation(11, 27),
127486
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t").WithLocation(18, 27)
127899
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t.Item2").WithLocation(8, 13)
127921
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "t.Item2").WithLocation(8, 13)
129586
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y3").WithLocation(35, 17),
130858
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "z").WithLocation(14, 13));
130948
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "b.x").WithLocation(11, 9),
130951
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "b.y").WithLocation(12, 9),
131302
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(8, 13));
131326
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y").WithLocation(10, 13));
131683
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "C<T4?>.F").WithLocation(25, 13));
132134
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y4.A").WithLocation(41, 13),
132137
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y4.B").WithLocation(42, 13),
132140
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y5.A").WithLocation(48, 13),
132143
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "y5.B").WithLocation(49, 13));
138364
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "c.i").WithLocation(14, 17),
138370
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "c.i").WithLocation(26, 17));
142398
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "~Create2(x)").WithLocation(18, 20),
142404
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "~Create2(y)").WithLocation(22, 20));
142648
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1x + s2y").WithLocation(22, 10),
142654
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s1y + s2x").WithLocation(23, 10),
142663
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2x + s1y").WithLocation(24, 10),
142669
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2y + s1x").WithLocation(25, 10),
142678
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2x + s2y").WithLocation(26, 10),
142684
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s2y + s2x").WithLocation(27, 10),
147454
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1(y)").WithLocation(11, 9),
147457
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(y)").WithLocation(12, 9),
147460
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(y)").WithLocation(13, 9),
147463
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(y)").WithLocation(14, 9),
147466
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(default(T?))").WithLocation(16, 9),
147469
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(default(T?))").WithLocation(17, 9),
147472
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(default(T?))").WithLocation(18, 9));
147595
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1(y)").WithLocation(11, 9),
147598
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(y)").WithLocation(12, 9),
147601
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(y)").WithLocation(13, 9),
147604
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(y)").WithLocation(14, 9),
147607
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(default(int?))").WithLocation(16, 9),
147610
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(default(int?))").WithLocation(17, 9),
147613
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(default(int?))").WithLocation(18, 9));
147830
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1(y).P").WithLocation(11, 9),
147833
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(y).P").WithLocation(12, 9),
147836
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(y).P").WithLocation(13, 9),
147839
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(y).P").WithLocation(14, 9),
147842
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(default(T?)).P").WithLocation(16, 9),
147845
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(default(T?)).P").WithLocation(17, 9),
147848
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(default(T?)).P").WithLocation(18, 9));
147971
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1(y).P").WithLocation(11, 9),
147974
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(y).P").WithLocation(12, 9),
147977
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(y).P").WithLocation(13, 9),
147980
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(y).P").WithLocation(14, 9),
147983
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(default(int?)).P").WithLocation(16, 9),
147986
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(default(int?)).P").WithLocation(17, 9),
147989
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(default(int?)).P").WithLocation(18, 9));
148172
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1(y)").WithLocation(11, 9),
148175
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(y)").WithLocation(12, 9),
148178
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(y)").WithLocation(13, 9),
148181
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(y)").WithLocation(14, 9));
148286
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1(y)").WithLocation(11, 9),
148289
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(y)").WithLocation(12, 9),
148292
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(y)").WithLocation(13, 9),
148295
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(y)").WithLocation(14, 9));
148515
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F1(y)").WithLocation(11, 9),
148518
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(y)").WithLocation(12, 9),
148521
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(y)").WithLocation(13, 9),
148524
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(y)").WithLocation(14, 9),
148527
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F2(default(T?))").WithLocation(16, 9),
148530
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F3(default(T?))").WithLocation(17, 9),
148533
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "F4(default(T?))").WithLocation(18, 9));
151337
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "i").WithLocation(10, 13),
156381
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(9, 13),
156387
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(12, 17)
156436
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "first").WithLocation(13, 13),
156439
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "second").WithLocation(14, 13),
156442
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "first").WithLocation(22, 16),
156445
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "second").WithLocation(22, 41),
156448
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "first").WithLocation(30, 18),
156451
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "second").WithLocation(30, 43)
156487
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "first").WithLocation(8, 13),
156490
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "second").WithLocation(9, 13),
156493
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "first").WithLocation(13, 16),
156496
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "second").WithLocation(13, 41),
156499
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "first").WithLocation(18, 21),
156502
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "second").WithLocation(18, 46)
156596
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "c1").WithLocation(14, 13),
156599
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "c2").WithLocation(25, 13)
Semantics\NullableReferenceTypesVsPatterns.cs (9)
522
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "i").WithLocation(11, 13),
525
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "i").WithLocation(23, 13));
556
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s").WithLocation(17, 13),
559
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "s.Value.field").WithLocation(18, 13)
1865
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "n").WithLocation(7, 22),
1871
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "n").WithLocation(14, 23),
1877
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "n").WithLocation(22, 24),
1883
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "n").WithLocation(31, 26));
2257
Diagnostic(ErrorCode.
WRN_NullableValueTypeMayBeNull
, "x").WithLocation(62, 9),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
347
case ErrorCode.
WRN_NullableValueTypeMayBeNull
: