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)
1318expected: Classifications(Identifier("M2"), Punctuation.OpenParen, Keyword("out"), Identifier("var"), 1328expected: Classifications(ControlKeyword("switch"), Punctuation.OpenParen, Number("1"), Punctuation.CloseParen, 1338expected: Classifications(Identifier("var"), Punctuation.OpenParen, Local("x"), Punctuation.Comma, 1349expected: Classifications(Punctuation.OpenParen, Identifier("var"), Keyword("_"), Punctuation.Comma, 1360expected: Classifications(Keyword("int"), Local("x"), Punctuation.Semicolon, Punctuation.OpenParen, 1372expected: Classifications(Identifier("M2"), Punctuation.OpenParen, Keyword("out"), Identifier("_"), Punctuation.CloseParen, 1382expected: Classifications(Identifier("_"), Operators.Equals, Number("1"), Punctuation.Semicolon)); 1391expected: Classifications(Identifier("x"), Operators.Equals, Punctuation.OpenParen, Parameter("_"), Punctuation.CloseParen, 1401expected: Classifications(Identifier("x"), Operators.Equals, Punctuation.OpenParen, Parameter("_"), Punctuation.Comma, Parameter("_"), Punctuation.CloseParen, 1410expected: Classifications(Keyword("int"), Local("_"), Punctuation.Semicolon, Identifier("_"), Operators.Equals,