129 references to ControlKeyword
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (86)
Classification\SyntacticClassifierTests.cs (65)
182
ControlKeyword
("yield"),
183
ControlKeyword
("return"),
195
ControlKeyword
("yield"),
196
ControlKeyword
("return"),
207
ControlKeyword
("yield"),
208
ControlKeyword
("return"),
216
ControlKeyword
("yield"),
217
ControlKeyword
("break"),
2131
ControlKeyword
("return"),
2220
ControlKeyword
("yield"),
2221
ControlKeyword
("return"),
2978
ControlKeyword
("try"),
2980
ControlKeyword
("while"),
2985
ControlKeyword
("continue"),
2987
ControlKeyword
("break"),
2990
ControlKeyword
("switch"),
2995
ControlKeyword
("case"),
2998
ControlKeyword
("break"),
3000
ControlKeyword
("default"),
3002
ControlKeyword
("break"),
3006
ControlKeyword
("catch"),
3014
ControlKeyword
("finally"),
3028
ControlKeyword
("do"),
3031
ControlKeyword
("while"),
3036
ControlKeyword
("if"),
3042
ControlKeyword
("else"),
3069
ControlKeyword
("for"),
3101
ControlKeyword
("foreach"),
3105
ControlKeyword
("in"),
3137
ControlKeyword
("return"),
3153
ControlKeyword
("return"),
3171
ControlKeyword
("return"),
3194
ControlKeyword
("if"),
3200
ControlKeyword
("goto"),
3203
ControlKeyword
("if"),
3209
ControlKeyword
("return"),
3211
ControlKeyword
("else"),
3212
ControlKeyword
("throw"),
3325
ControlKeyword
("switch"),
3334
ControlKeyword
("when"),
3337
ControlKeyword
("throw"),
4007
ControlKeyword
("return"),
4067
ControlKeyword
("foreach"),
4071
ControlKeyword
("in"),
4189
ControlKeyword
("try"),
4192
ControlKeyword
("catch"),
4193
ControlKeyword
("when"),
4214
ControlKeyword
("try"),
4217
ControlKeyword
("catch"),
4223
ControlKeyword
("when"),
4868
ControlKeyword
("if"),
4894
ControlKeyword
("switch"),
4899
ControlKeyword
("case"),
4903
ControlKeyword
("break"),
4942
ControlKeyword
("switch"),
4951
ControlKeyword
("case"),
4958
ControlKeyword
("break"),
4960
ControlKeyword
("case"),
4969
ControlKeyword
("break"),
4987
ControlKeyword
("switch"),
5049
ControlKeyword
("if"),
5165
ControlKeyword
("foreach"),
5173
ControlKeyword
("in"),
5195
ControlKeyword
("try"),
5198
ControlKeyword
("catch"),
Classification\SyntacticClassifierTests_Preprocessor.cs (2)
1214
expected: Classifications(
ControlKeyword
("switch"), Punctuation.OpenParen, Number("1"), Punctuation.CloseParen,
1215
Punctuation.OpenCurly,
ControlKeyword
("case"), Keyword("int"), Keyword("_"), Punctuation.Colon, Punctuation.CloseCurly));
Classification\TotalClassifierTests.cs (12)
272
ControlKeyword
("return"),
291
ControlKeyword
("foreach"),
295
ControlKeyword
("in"),
1492
ControlKeyword
("return"),
1944
ControlKeyword
("if"),
1997
ControlKeyword
("if"),
2037
ControlKeyword
("if"),
2116
ControlKeyword
("if"),
2225
ControlKeyword
("foreach"),
2229
ControlKeyword
("in"),
2253
ControlKeyword
("foreach"),
2257
ControlKeyword
("in"),
Classification\TotalClassifierTests_Dynamic.cs (7)
224
ControlKeyword
("return"),
437
ControlKeyword
("return"),
639
ControlKeyword
("return"),
691
ControlKeyword
("foreach"),
695
ControlKeyword
("in"),
798
ControlKeyword
("goto"),
978
ControlKeyword
("if"),
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (43)
Classification\SyntacticClassifierTests.vb (43)
2100
ControlKeyword
("If"),
2140
ControlKeyword
("If"),
2175
ControlKeyword
("If"),
2183
ControlKeyword
("Then"),
2458
ControlKeyword
("If"),
2475
ControlKeyword
("For"),
2479
ControlKeyword
("To"),
2481
ControlKeyword
("Exit"),
2482
ControlKeyword
("For"))
2525
ControlKeyword
("Do"),
2526
ControlKeyword
("Until"),
4544
ControlKeyword
("Do"),
4545
ControlKeyword
("Loop"),
4546
ControlKeyword
("Until"),
4548
ControlKeyword
("Do"),
4549
ControlKeyword
("Loop"),
4551
ControlKeyword
("Until"),
4553
ControlKeyword
("Do"),
4554
ControlKeyword
("Until"),
4556
ControlKeyword
("Loop"),
4557
ControlKeyword
("Do"),
4559
ControlKeyword
("Until"),
4561
ControlKeyword
("Loop"),
4591
ControlKeyword
("Do"),
4592
ControlKeyword
("Loop"),
4593
ControlKeyword
("Until"),
4595
ControlKeyword
("Do"),
4596
ControlKeyword
("Loop"),
4599
ControlKeyword
("Until"),
4601
ControlKeyword
("Do"),
4602
ControlKeyword
("Until"),
4604
ControlKeyword
("Loop"),
4605
ControlKeyword
("Do"),
4608
ControlKeyword
("Until"),
4610
ControlKeyword
("Loop"),
5434
ControlKeyword
("Return"),
5456
ControlKeyword
("Return"),
5476
ControlKeyword
("GoTo"),
5493
ControlKeyword
("Try"),
5494
ControlKeyword
("Catch"),
5498
ControlKeyword
("End"),
5499
ControlKeyword
("Try"))
5507
ControlKeyword
("Throw"),