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