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