214 references to WRN_UnreferencedLabel
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (2)
279
case ErrorCode.
WRN_UnreferencedLabel
:
689
case ErrorCode.
WRN_UnreferencedLabel
:
FlowAnalysis\ControlFlowPass.cs (1)
143
Diagnostics.Add(ErrorCode.
WRN_UnreferencedLabel
, label.Locations[0]);
Generated\ErrorFacts.Generated.cs (1)
17
case ErrorCode.
WRN_UnreferencedLabel
:
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (9)
CodeGen\GotoTest.cs (9)
230
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "Lab1"));
848
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "L0").WithLocation(3, 5),
851
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "L1").WithLocation(6, 5));
914
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "L").WithLocation(5, 1),
937
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "L").WithLocation(3, 1));
1099
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "L2").WithLocation(5, 1),
1102
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "EOF").WithLocation(6, 1));
1111
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "L2").WithLocation(5, 1),
1114
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "EOF").WithLocation(6, 1));
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (83)
FlowAnalysis\LocalFunctions.cs (1)
359
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "https").WithLocation(10, 5));
Semantics\PatternMatchingTests.cs (2)
3034
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(6, 1)
3081
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(15, 1)
Semantics\PatternMatchingTests_Global.cs (67)
3206
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(2, 1),
3209
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "b").WithLocation(6, 1),
3212
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "c").WithLocation(8, 1),
3215
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "d").WithLocation(11, 1),
3256
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(2, 1),
3259
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "b").WithLocation(6, 1),
3265
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "c").WithLocation(8, 1),
3274
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "d").WithLocation(11, 1),
3352
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(2, 1),
3355
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "b").WithLocation(6, 1),
3358
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "c").WithLocation(8, 1),
3361
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "d").WithLocation(11, 1),
3402
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(2, 1),
3405
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "b").WithLocation(6, 1),
3411
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "c").WithLocation(8, 1),
3420
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "d").WithLocation(11, 1),
3480
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(3, 1),
3483
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "b").WithLocation(3, 3),
3486
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "c").WithLocation(3, 5)
3546
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(2, 1),
3549
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "c").WithLocation(6, 1),
3552
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "e").WithLocation(8, 1),
3555
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "g").WithLocation(11, 1),
3558
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "i").WithLocation(14, 1),
3604
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(2, 1),
3607
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "c").WithLocation(6, 1),
3613
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "e").WithLocation(8, 1),
3622
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "g").WithLocation(11, 1),
3628
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "i").WithLocation(14, 1),
3717
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(2, 1),
3720
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "c").WithLocation(6, 1),
3723
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "e").WithLocation(8, 1),
3726
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "g").WithLocation(11, 1),
3729
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "i").WithLocation(14, 1),
3775
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(2, 1),
3778
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "c").WithLocation(6, 1),
3784
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "e").WithLocation(8, 1),
3793
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "g").WithLocation(11, 1),
3799
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "i").WithLocation(14, 1),
3863
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(3, 1),
3866
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "b").WithLocation(3, 3),
3869
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "c").WithLocation(3, 5)
3936
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "l1").WithLocation(1, 1),
3939
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "l2").WithLocation(5, 1),
3942
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "l3").WithLocation(7, 1),
3945
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "l4").WithLocation(10, 1),
3948
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "l5").WithLocation(13, 1),
4006
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "l1").WithLocation(1, 1),
4009
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "l2").WithLocation(5, 1),
4015
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "l3").WithLocation(7, 1),
4024
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "l4").WithLocation(10, 1),
4030
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "l5").WithLocation(13, 1),
4134
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "l1").WithLocation(1, 1),
4137
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "l2").WithLocation(5, 1),
4140
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "l3").WithLocation(7, 1),
4143
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "l4").WithLocation(10, 1),
4146
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "l5").WithLocation(13, 1),
4204
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "l1").WithLocation(1, 1),
4207
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "l2").WithLocation(5, 1),
4213
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "l3").WithLocation(7, 1),
4222
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "l4").WithLocation(10, 1),
4228
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "l5").WithLocation(13, 1),
4302
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(3, 1),
4305
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "b").WithLocation(3, 3),
4308
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "c").WithLocation(3, 5)
6022
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "label").WithLocation(2, 1)
6041
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "label").WithLocation(2, 1),
Semantics\PatternMatchingTests_Scope.cs (12)
10526
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(12, 1),
10529
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "b").WithLocation(14, 1),
10532
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "c").WithLocation(16, 1),
10541
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(26, 1),
10547
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(33, 1),
10553
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(38, 1),
10562
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(59, 1),
10568
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(65, 1),
10574
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(73, 1),
10580
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(80, 1),
10583
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(85, 1)
10679
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(13, 1)
Semantics\PatternMatchingTests4.cs (1)
1517
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "x").WithLocation(9, 20)
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (5)
IOperation\IOperationTests_IBranchOperation.cs (5)
35
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "label1").WithLocation(6, 1)
1128
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "trylabel").WithLocation(12, 1),
1131
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "catchlabel").WithLocation(19, 1),
1134
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "finallyLabel").WithLocation(26, 1)
1546
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "label").WithLocation(13, 1)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (110)
Semantics\BindingTests.cs (2)
1839
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "@int1"));
2038
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "label").WithLocation(9, 13),
Semantics\ForLoopErrorTests.cs (1)
147
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "outerLoop"));
Semantics\LocalFunctionTests.cs (2)
3170
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "A").WithLocation(11, 9)
3985
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(7, 1),
Semantics\OutVarTests.cs (88)
14614
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(14, 1)
17323
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(12, 1),
17326
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "b").WithLocation(14, 1),
17329
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "c").WithLocation(16, 1),
17335
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(21, 1),
17341
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(26, 1),
17347
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(33, 1),
17353
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(38, 1),
17362
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(59, 1),
17368
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(65, 1),
17374
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(73, 1),
17380
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(80, 1),
17383
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(85, 1)
17485
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(13, 1)
17580
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(11, 1),
17583
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "b").WithLocation(11, 4),
17586
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "c").WithLocation(11, 7)
17639
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(15, 1)
28792
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(2, 1),
28795
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "b").WithLocation(6, 1),
28798
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "c").WithLocation(8, 1),
28801
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "d").WithLocation(11, 1),
28842
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(2, 1),
28845
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "b").WithLocation(6, 1),
28851
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "c").WithLocation(8, 1),
28860
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "d").WithLocation(11, 1),
28943
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(2, 1),
28946
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "b").WithLocation(6, 1),
28949
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "c").WithLocation(8, 1),
28952
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "d").WithLocation(11, 1),
28993
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(2, 1),
28996
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "b").WithLocation(6, 1),
29002
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "c").WithLocation(8, 1),
29011
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "d").WithLocation(11, 1),
29076
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(3, 1),
29079
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "b").WithLocation(3, 3),
29082
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "c").WithLocation(3, 5)
29147
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(2, 1),
29150
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "c").WithLocation(6, 1),
29153
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "e").WithLocation(8, 1),
29156
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "g").WithLocation(11, 1),
29159
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "i").WithLocation(14, 1),
29205
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(2, 1),
29208
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "c").WithLocation(6, 1),
29214
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "e").WithLocation(8, 1),
29223
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "g").WithLocation(11, 1),
29229
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "i").WithLocation(14, 1),
29323
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(2, 1),
29326
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "c").WithLocation(6, 1),
29329
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "e").WithLocation(8, 1),
29332
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "g").WithLocation(11, 1),
29335
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "i").WithLocation(14, 1),
29381
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(2, 1),
29384
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "c").WithLocation(6, 1),
29390
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "e").WithLocation(8, 1),
29399
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "g").WithLocation(11, 1),
29405
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "i").WithLocation(14, 1),
29478
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(3, 1),
29481
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "b").WithLocation(3, 3),
29484
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "c").WithLocation(3, 5)
29527
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(3, 1),
29530
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "b").WithLocation(3, 3),
29533
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "c").WithLocation(3, 5)
29604
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "l1").WithLocation(1, 1),
29607
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "l2").WithLocation(5, 1),
29610
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "l3").WithLocation(7, 1),
29613
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "l4").WithLocation(10, 1),
29616
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "l5").WithLocation(13, 1),
29674
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "l1").WithLocation(1, 1),
29677
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "l2").WithLocation(5, 1),
29683
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "l3").WithLocation(7, 1),
29692
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "l4").WithLocation(10, 1),
29698
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "l5").WithLocation(13, 1),
29805
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "l1").WithLocation(1, 1),
29808
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "l2").WithLocation(5, 1),
29811
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "l3").WithLocation(7, 1),
29814
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "l4").WithLocation(10, 1),
29817
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "l5").WithLocation(13, 1),
29875
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "l1").WithLocation(1, 1),
29878
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "l2").WithLocation(5, 1),
29884
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "l3").WithLocation(7, 1),
29893
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "l4").WithLocation(10, 1),
29899
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "l5").WithLocation(13, 1),
29980
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "a").WithLocation(3, 1),
29983
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "b").WithLocation(3, 3),
29986
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "c").WithLocation(3, 5)
31790
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "label").WithLocation(2, 1)
31818
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "label").WithLocation(2, 1),
Semantics\SemanticErrorTests.cs (14)
5209
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "label1")
5280
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "Label"));
5303
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "Label"));
5332
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "Label1"),
5333
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "Label2"));
5352
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "L"));
5405
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "label1"),
5406
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "label3"),
5407
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "label4"),
5408
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "label5"));
5441
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "label2")
5469
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "innerLoop"));
19046
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "l1").WithLocation(9, 7));
24493
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "value").WithLocation(6, 41),
Semantics\TopLevelStatementsTests.cs (1)
1501
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "d").WithLocation(8, 1),
Semantics\UsingDeclarationTests.cs (2)
196
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "label1").WithLocation(7, 9),
199
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "label2").WithLocation(8, 9),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (3)
Parsing\NullableParsingTests.cs (1)
830
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "t").WithLocation(1, 24));
Parsing\ParserErrorMessageTests.cs (1)
2462
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "MyLabel").WithLocation(6, 35));
Parsing\StatementAttributeParsingTests.cs (1)
233
Diagnostic(ErrorCode.
WRN_UnreferencedLabel
, "bar").WithLocation(7, 9));