15 references to Classifications
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (15)
Classification\SemanticClassifierTests.cs (5)
67Classifications(Keyword("var"), Local("i"))); 90Classifications(Class("Class"), Keyword("dynamic"))); 3668Classifications(Keyword("nint"), Keyword("nuint"))); 3679Classifications(Class("nint"))); 3690Classifications(Class("nuint")));
Classification\SyntacticClassifierTests_Preprocessor.cs (10)
1291expected: Classifications(Identifier("M2"), Punctuation.OpenParen, Keyword("out"), Identifier("var"), 1301expected: Classifications(ControlKeyword("switch"), Punctuation.OpenParen, Number("1"), Punctuation.CloseParen, 1311expected: Classifications(Identifier("var"), Punctuation.OpenParen, Local("x"), Punctuation.Comma, 1322expected: Classifications(Punctuation.OpenParen, Identifier("var"), Keyword("_"), Punctuation.Comma, 1333expected: Classifications(Keyword("int"), Local("x"), Punctuation.Semicolon, Punctuation.OpenParen, 1345expected: Classifications(Identifier("M2"), Punctuation.OpenParen, Keyword("out"), Identifier("_"), Punctuation.CloseParen, 1355expected: Classifications(Identifier("_"), Operators.Equals, Number("1"), Punctuation.Semicolon)); 1364expected: Classifications(Identifier("x"), Operators.Equals, Punctuation.OpenParen, Parameter("_"), Punctuation.CloseParen, 1374expected: Classifications(Identifier("x"), Operators.Equals, Punctuation.OpenParen, Parameter("_"), Punctuation.Comma, Parameter("_"), Punctuation.CloseParen, 1383expected: Classifications(Keyword("int"), Local("_"), Punctuation.Semicolon, Identifier("_"), Operators.Equals,