90 references to ControlKeyword
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (90)
Classification\SyntacticClassifierTests.cs (68)
192
ControlKeyword
("yield"),
193
ControlKeyword
("return"),
225
ControlKeyword
("yield"),
226
ControlKeyword
("return"),
236
ControlKeyword
("yield"),
237
ControlKeyword
("return"),
250
ControlKeyword
("yield"),
251
ControlKeyword
("return"),
259
ControlKeyword
("yield"),
260
ControlKeyword
("break"),
307
ControlKeyword
("await"),
2368
ControlKeyword
("return"),
2461
ControlKeyword
("yield"),
2462
ControlKeyword
("return"),
3241
ControlKeyword
("try"),
3243
ControlKeyword
("while"),
3248
ControlKeyword
("continue"),
3250
ControlKeyword
("break"),
3253
ControlKeyword
("switch"),
3258
ControlKeyword
("case"),
3261
ControlKeyword
("break"),
3263
ControlKeyword
("default"),
3265
ControlKeyword
("break"),
3269
ControlKeyword
("catch"),
3277
ControlKeyword
("finally"),
3291
ControlKeyword
("do"),
3294
ControlKeyword
("while"),
3299
ControlKeyword
("if"),
3305
ControlKeyword
("else"),
3332
ControlKeyword
("for"),
3364
ControlKeyword
("foreach"),
3368
ControlKeyword
("in"),
3400
ControlKeyword
("return"),
3416
ControlKeyword
("return"),
3434
ControlKeyword
("return"),
3457
ControlKeyword
("if"),
3463
ControlKeyword
("goto"),
3466
ControlKeyword
("if"),
3472
ControlKeyword
("return"),
3474
ControlKeyword
("else"),
3475
ControlKeyword
("throw"),
3590
ControlKeyword
("switch"),
3599
ControlKeyword
("when"),
3602
ControlKeyword
("throw"),
4288
ControlKeyword
("return"),
4350
ControlKeyword
("foreach"),
4354
ControlKeyword
("in"),
4502
ControlKeyword
("try"),
4505
ControlKeyword
("catch"),
4506
ControlKeyword
("when"),
4529
ControlKeyword
("try"),
4532
ControlKeyword
("catch"),
4538
ControlKeyword
("when"),
5225
ControlKeyword
("if"),
5253
ControlKeyword
("switch"),
5258
ControlKeyword
("case"),
5262
ControlKeyword
("break"),
5305
ControlKeyword
("switch"),
5314
ControlKeyword
("case"),
5321
ControlKeyword
("break"),
5323
ControlKeyword
("case"),
5332
ControlKeyword
("break"),
5352
ControlKeyword
("switch"),
5420
ControlKeyword
("if"),
5544
ControlKeyword
("foreach"),
5552
ControlKeyword
("in"),
5576
ControlKeyword
("try"),
5579
ControlKeyword
("catch"),
Classification\SyntacticClassifierTests_Preprocessor.cs (3)
1299
ControlKeyword
("if"),
1328
expected: Classifications(
ControlKeyword
("switch"), Punctuation.OpenParen, Number("1"), Punctuation.CloseParen,
1329
Punctuation.OpenCurly,
ControlKeyword
("case"), Keyword("int"), Keyword("_"), Punctuation.Colon, Punctuation.CloseCurly));
Classification\TotalClassifierTests.cs (12)
290
ControlKeyword
("return"),
309
ControlKeyword
("foreach"),
313
ControlKeyword
("in"),
1574
ControlKeyword
("return"),
2038
ControlKeyword
("if"),
2092
ControlKeyword
("if"),
2133
ControlKeyword
("if"),
2213
ControlKeyword
("if"),
2331
ControlKeyword
("foreach"),
2335
ControlKeyword
("in"),
2360
ControlKeyword
("foreach"),
2364
ControlKeyword
("in"),
Classification\TotalClassifierTests_Dynamic.cs (7)
227
ControlKeyword
("return"),
450
ControlKeyword
("return"),
670
ControlKeyword
("return"),
724
ControlKeyword
("foreach"),
728
ControlKeyword
("in"),
839
ControlKeyword
("goto"),
1025
ControlKeyword
("if"),