905 references to ClassKeyword
Microsoft.CodeAnalysis.CSharp (21)
Parser\LanguageParser.cs (11)
344
case SyntaxKind.
ClassKeyword
:
1619
case SyntaxKind.
ClassKeyword
:
1695
case SyntaxKind.
ClassKeyword
:
1721
Debug.Assert(this.CurrentToken.Kind is SyntaxKind.
ClassKeyword
or SyntaxKind.StructKeyword or SyntaxKind.InterfaceKeyword ||
1856
recordModifier = this.CurrentToken.Kind is SyntaxKind.
ClassKeyword
or SyntaxKind.StructKeyword
1863
if (this.CurrentToken.Kind is SyntaxKind.StructKeyword or SyntaxKind.
ClassKeyword
&&
1894
case SyntaxKind.
ClassKeyword
:
2224
case SyntaxKind.
ClassKeyword
:
2254
SyntaxKind.
ClassKeyword
=>
2325
case SyntaxKind.
ClassKeyword
:
2377
case SyntaxKind.
ClassKeyword
:
SymbolDisplay\SymbolDisplayVisitor.Types.cs (2)
721
AddKeyword(SyntaxKind.
ClassKeyword
);
870
AddKeyword(SyntaxKind.
ClassKeyword
);
Syntax\SyntaxFactory.cs (3)
2873
=> SyntaxFactory.ClassDeclaration(attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.
ClassKeyword
), identifier, typeParameterList, parameterList, baseList, constraintClauses, SyntaxFactory.Token(SyntaxKind.OpenBraceToken), members, SyntaxFactory.Token(SyntaxKind.CloseBraceToken), default);
2877
=> SyntaxFactory.ClassDeclaration(default, default(SyntaxTokenList), SyntaxFactory.Token(SyntaxKind.
ClassKeyword
), identifier, null, null, null, default, SyntaxFactory.Token(SyntaxKind.OpenBraceToken), default, SyntaxFactory.Token(SyntaxKind.CloseBraceToken), default);
2881
=> SyntaxFactory.ClassDeclaration(default, default(SyntaxTokenList), SyntaxFactory.Token(SyntaxKind.
ClassKeyword
), SyntaxFactory.Identifier(identifier), null, null, null, default, SyntaxFactory.Token(SyntaxKind.OpenBraceToken), default, SyntaxFactory.Token(SyntaxKind.CloseBraceToken), default);
Syntax\SyntaxKindFacts.cs (3)
835
case SyntaxKind.
ClassKeyword
:
993
return SyntaxKind.
ClassKeyword
;
1641
case SyntaxKind.
ClassKeyword
:
Syntax\TypeDeclarationSyntax.cs (2)
57
return SyntaxKind.
ClassKeyword
;
72
return SyntaxKind.
ClassKeyword
;
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTokenExtensions.cs (1)
315
case SyntaxKind.
ClassKeyword
:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\Analyzers\CSharp\CodeFixes\TransposeRecordKeyword\CSharpTransposeRecordKeywordCodeFixProvider.cs (1)
54
if (classOrStructKeyword.Kind() is SyntaxKind.
ClassKeyword
or SyntaxKind.StructKeyword)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
693
is SyntaxKind.
ClassKeyword
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Formatting\Indentation\SmartTokenFormatterFormatRangeTests.cs (1)
2189
SyntaxKind.
ClassKeyword
);
Microsoft.CodeAnalysis.CSharp.Features (6)
Completion\CompletionProviders\CSharpSuggestionModeCompletionProvider.cs (1)
74
case SyntaxKind.
ClassKeyword
:
Completion\KeywordRecommenders\AllowsKeywordRecommender.cs (1)
45
.Any(c => c.ClassOrStructKeyword.Kind() == SyntaxKind.
ClassKeyword
))
Completion\KeywordRecommenders\ClassKeywordRecommender.cs (1)
29
: base(SyntaxKind.
ClassKeyword
)
Completion\KeywordRecommenders\RefKeywordRecommender.cs (1)
112
.Any(c => c.ClassOrStructKeyword.Kind() == SyntaxKind.
ClassKeyword
))
SignatureHelp\GenericNameSignatureHelpProvider.cs (1)
249
parts.Add(Keyword(SyntaxKind.
ClassKeyword
));
src\Analyzers\CSharp\CodeFixes\TransposeRecordKeyword\CSharpTransposeRecordKeywordCodeFixProvider.cs (1)
54
if (classOrStructKeyword.Kind() is SyntaxKind.
ClassKeyword
or SyntaxKind.StructKeyword)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (871)
Generated\Syntax.Test.xml.Generated.cs (8)
503
=> InternalSyntaxFactory.ClassDeclaration(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.SyntaxToken>(), InternalSyntaxFactory.Token(SyntaxKind.
ClassKeyword
), InternalSyntaxFactory.Identifier("Identifier"), null, null, null, new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.TypeParameterConstraintClauseSyntax>(), null, new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.MemberDeclarationSyntax>(), null, null);
539
=> InternalSyntaxFactory.ClassOrStructConstraint(SyntaxKind.ClassConstraint, InternalSyntaxFactory.Token(SyntaxKind.
ClassKeyword
), null);
2767
Assert.Equal(SyntaxKind.
ClassKeyword
, node.Keyword.Kind);
2956
Assert.Equal(SyntaxKind.
ClassKeyword
, node.ClassOrStructKeyword.Kind);
10719
=> SyntaxFactory.ClassDeclaration(new SyntaxList<AttributeListSyntax>(), new SyntaxTokenList(), SyntaxFactory.Token(SyntaxKind.
ClassKeyword
), SyntaxFactory.Identifier("Identifier"), default(TypeParameterListSyntax), default(ParameterListSyntax), default(BaseListSyntax), new SyntaxList<TypeParameterConstraintClauseSyntax>(), default(SyntaxToken), new SyntaxList<MemberDeclarationSyntax>(), default(SyntaxToken), default(SyntaxToken));
10755
=> SyntaxFactory.ClassOrStructConstraint(SyntaxKind.ClassConstraint, SyntaxFactory.Token(SyntaxKind.
ClassKeyword
), default(SyntaxToken));
12983
Assert.Equal(SyntaxKind.
ClassKeyword
, node.Keyword.Kind());
13172
Assert.Equal(SyntaxKind.
ClassKeyword
, node.ClassOrStructKeyword.Kind());
IncrementalParsing\IncrementalParsingTests.cs (8)
250
SyntaxKind.
ClassKeyword
,
272
SyntaxKind.
ClassKeyword
,
296
SyntaxKind.
ClassKeyword
,
321
SyntaxKind.
ClassKeyword
);
340
SyntaxKind.
ClassKeyword
);
383
SyntaxKind.
ClassKeyword
, // edge of change and directives different
427
SyntaxKind.
ClassKeyword
, // edge of change and directives different
677
N(SyntaxKind.
ClassKeyword
);
LexicalAndXml\SyntaxTokenParserTests.cs (17)
39
AssertToken(expectedKind: SyntaxKind.
ClassKeyword
, expectedContextualKind: SyntaxKind.None, new TextSpan(0, 22), """
78
AssertToken(expectedKind: SyntaxKind.
ClassKeyword
, expectedContextualKind: SyntaxKind.None, new TextSpan(0, 54), """
121
AssertToken(expectedKind: SyntaxKind.
ClassKeyword
, expectedContextualKind: SyntaxKind.None, new TextSpan(0, 16), """
162
AssertToken(expectedKind: SyntaxKind.
ClassKeyword
, expectedContextualKind: SyntaxKind.None, new TextSpan(18, 22), """
205
AssertToken(expectedKind: SyntaxKind.
ClassKeyword
, expectedContextualKind: SyntaxKind.None, new TextSpan(0, 6), "class ", parser.ParseNextToken());
223
AssertToken(expectedKind: SyntaxKind.
ClassKeyword
, expectedContextualKind: SyntaxKind.None, new TextSpan(0, 16), """
266
AssertToken(expectedKind: SyntaxKind.
ClassKeyword
, expectedContextualKind: SyntaxKind.None, new TextSpan(16, 5), "class", parser.ParseNextToken());
285
AssertToken(expectedKind: SyntaxKind.
ClassKeyword
, expectedContextualKind: SyntaxKind.None, new TextSpan(0, 6), "class ", parser.ParseNextToken());
311
AssertToken(expectedKind: SyntaxKind.
ClassKeyword
, expectedContextualKind: SyntaxKind.None, new TextSpan(11, 6), "class ", parser.ParseNextToken());
314
AssertToken(expectedKind: SyntaxKind.
ClassKeyword
, expectedContextualKind: SyntaxKind.None, new TextSpan(0, 17), "/* test */ class ", parser.ParseNextToken());
345
AssertToken(expectedKind: SyntaxKind.
ClassKeyword
, expectedContextualKind: SyntaxKind.None, new TextSpan(14, 6), "class ", parser.ParseNextToken());
348
AssertToken(expectedKind: SyntaxKind.
ClassKeyword
, expectedContextualKind: SyntaxKind.None, new TextSpan(0, 20), "/* test */\r\n\r\nclass ", parser.ParseNextToken());
362
AssertToken(expectedKind: SyntaxKind.
ClassKeyword
, expectedContextualKind: SyntaxKind.None, new TextSpan(0, 6), "class ", parser.ParseNextToken());
378
AssertToken(expectedKind: SyntaxKind.
ClassKeyword
, expectedContextualKind: SyntaxKind.None, new TextSpan(11, 6), "class ", parser.ParseNextToken());
381
AssertToken(expectedKind: SyntaxKind.
ClassKeyword
, expectedContextualKind: SyntaxKind.None, new TextSpan(0, 17), "/* test */ class ", parser.ParseNextToken());
401
AssertToken(expectedKind: SyntaxKind.
ClassKeyword
, expectedContextualKind: SyntaxKind.None, new TextSpan(12, 8), "\r\nclass ", parser.ParseNextToken());
404
AssertToken(expectedKind: SyntaxKind.
ClassKeyword
, expectedContextualKind: SyntaxKind.None, new TextSpan(0, 20), "/* test */\r\n\r\nclass ", parser.ParseNextToken());
Parsing\AllowsConstraintParsing.cs (38)
35
N(SyntaxKind.
ClassKeyword
);
88
N(SyntaxKind.
ClassKeyword
);
144
N(SyntaxKind.
ClassKeyword
);
193
N(SyntaxKind.
ClassKeyword
);
247
N(SyntaxKind.
ClassKeyword
);
306
N(SyntaxKind.
ClassKeyword
);
373
N(SyntaxKind.
ClassKeyword
);
430
N(SyntaxKind.
ClassKeyword
);
485
N(SyntaxKind.
ClassKeyword
);
543
N(SyntaxKind.
ClassKeyword
);
598
N(SyntaxKind.
ClassKeyword
);
661
N(SyntaxKind.
ClassKeyword
);
714
N(SyntaxKind.
ClassKeyword
);
772
N(SyntaxKind.
ClassKeyword
);
816
N(SyntaxKind.
ClassKeyword
);
843
N(SyntaxKind.
ClassKeyword
);
892
N(SyntaxKind.
ClassKeyword
);
915
N(SyntaxKind.
ClassKeyword
);
959
N(SyntaxKind.
ClassKeyword
);
982
N(SyntaxKind.
ClassKeyword
);
1031
N(SyntaxKind.
ClassKeyword
);
1054
N(SyntaxKind.
ClassKeyword
);
1112
N(SyntaxKind.
ClassKeyword
);
1166
N(SyntaxKind.
ClassKeyword
);
1187
N(SyntaxKind.
ClassKeyword
);
1220
N(SyntaxKind.
ClassKeyword
);
1274
N(SyntaxKind.
ClassKeyword
);
1331
N(SyntaxKind.
ClassKeyword
);
1388
N(SyntaxKind.
ClassKeyword
);
1445
N(SyntaxKind.
ClassKeyword
);
1501
N(SyntaxKind.
ClassKeyword
);
1570
N(SyntaxKind.
ClassKeyword
);
1601
N(SyntaxKind.
ClassKeyword
);
1624
N(SyntaxKind.
ClassKeyword
);
1678
N(SyntaxKind.
ClassKeyword
);
1735
N(SyntaxKind.
ClassKeyword
);
1792
N(SyntaxKind.
ClassKeyword
);
1849
N(SyntaxKind.
ClassKeyword
);
Parsing\AnonymousFunctionParsingTests.cs (25)
51
N(SyntaxKind.
ClassKeyword
);
152
N(SyntaxKind.
ClassKeyword
);
249
N(SyntaxKind.
ClassKeyword
);
350
N(SyntaxKind.
ClassKeyword
);
451
N(SyntaxKind.
ClassKeyword
);
555
N(SyntaxKind.
ClassKeyword
);
686
N(SyntaxKind.
ClassKeyword
);
804
N(SyntaxKind.
ClassKeyword
);
2298
N(SyntaxKind.
ClassKeyword
);
2378
N(SyntaxKind.
ClassKeyword
);
2495
N(SyntaxKind.
ClassKeyword
);
2643
N(SyntaxKind.
ClassKeyword
);
2791
N(SyntaxKind.
ClassKeyword
);
2917
N(SyntaxKind.
ClassKeyword
);
3053
N(SyntaxKind.
ClassKeyword
);
3176
N(SyntaxKind.
ClassKeyword
);
3316
N(SyntaxKind.
ClassKeyword
);
3469
N(SyntaxKind.
ClassKeyword
);
3622
N(SyntaxKind.
ClassKeyword
);
3754
N(SyntaxKind.
ClassKeyword
);
3899
N(SyntaxKind.
ClassKeyword
);
4031
N(SyntaxKind.
ClassKeyword
);
4180
N(SyntaxKind.
ClassKeyword
);
4342
N(SyntaxKind.
ClassKeyword
);
4504
N(SyntaxKind.
ClassKeyword
);
Parsing\AsyncParsingTests.cs (51)
50
N(SyntaxKind.
ClassKeyword
);
91
N(SyntaxKind.
ClassKeyword
);
131
N(SyntaxKind.
ClassKeyword
);
171
N(SyntaxKind.
ClassKeyword
);
211
N(SyntaxKind.
ClassKeyword
);
252
N(SyntaxKind.
ClassKeyword
);
297
N(SyntaxKind.
ClassKeyword
);
368
N(SyntaxKind.
ClassKeyword
);
402
N(SyntaxKind.
ClassKeyword
);
435
N(SyntaxKind.
ClassKeyword
);
475
N(SyntaxKind.
ClassKeyword
);
526
N(SyntaxKind.
ClassKeyword
);
560
N(SyntaxKind.
ClassKeyword
);
604
N(SyntaxKind.
ClassKeyword
);
639
N(SyntaxKind.
ClassKeyword
);
686
N(SyntaxKind.
ClassKeyword
);
732
N(SyntaxKind.
ClassKeyword
);
786
N(SyntaxKind.
ClassKeyword
);
848
N(SyntaxKind.
ClassKeyword
);
890
N(SyntaxKind.
ClassKeyword
);
934
N(SyntaxKind.
ClassKeyword
);
981
N(SyntaxKind.
ClassKeyword
);
1026
N(SyntaxKind.
ClassKeyword
);
1072
N(SyntaxKind.
ClassKeyword
);
1119
N(SyntaxKind.
ClassKeyword
);
1164
N(SyntaxKind.
ClassKeyword
);
1203
N(SyntaxKind.
ClassKeyword
);
1449
N(SyntaxKind.
ClassKeyword
);
1492
N(SyntaxKind.
ClassKeyword
);
1499
N(SyntaxKind.
ClassKeyword
);
1536
N(SyntaxKind.
ClassKeyword
);
1589
N(SyntaxKind.
ClassKeyword
);
1649
N(SyntaxKind.
ClassKeyword
);
1706
N(SyntaxKind.
ClassKeyword
);
1760
N(SyntaxKind.
ClassKeyword
);
1818
N(SyntaxKind.
ClassKeyword
);
1872
N(SyntaxKind.
ClassKeyword
);
1929
N(SyntaxKind.
ClassKeyword
);
1981
N(SyntaxKind.
ClassKeyword
);
2035
N(SyntaxKind.
ClassKeyword
);
2080
N(SyntaxKind.
ClassKeyword
);
2110
N(SyntaxKind.
ClassKeyword
);
2149
N(SyntaxKind.
ClassKeyword
);
2195
N(SyntaxKind.
ClassKeyword
);
2244
N(SyntaxKind.
ClassKeyword
);
2257
N(SyntaxKind.
ClassKeyword
);
2296
N(SyntaxKind.
ClassKeyword
);
2340
N(SyntaxKind.
ClassKeyword
);
2400
N(SyntaxKind.
ClassKeyword
);
2436
N(SyntaxKind.
ClassKeyword
);
2605
N(SyntaxKind.
ClassKeyword
);
Parsing\AsyncStreamsParsingTests.cs (6)
50
N(SyntaxKind.
ClassKeyword
);
128
N(SyntaxKind.
ClassKeyword
);
209
N(SyntaxKind.
ClassKeyword
);
291
N(SyntaxKind.
ClassKeyword
);
390
N(SyntaxKind.
ClassKeyword
);
484
N(SyntaxKind.
ClassKeyword
);
Parsing\AwaitParsingTests.cs (5)
44
N(SyntaxKind.
ClassKeyword
);
109
N(SyntaxKind.
ClassKeyword
);
173
N(SyntaxKind.
ClassKeyword
);
238
N(SyntaxKind.
ClassKeyword
);
346
N(SyntaxKind.
ClassKeyword
);
Parsing\CollectionExpressionParsingTests.cs (51)
1393
N(SyntaxKind.
ClassKeyword
);
6253
N(SyntaxKind.
ClassKeyword
);
6318
N(SyntaxKind.
ClassKeyword
);
7972
N(SyntaxKind.
ClassKeyword
);
8117
N(SyntaxKind.
ClassKeyword
);
8270
N(SyntaxKind.
ClassKeyword
);
8426
N(SyntaxKind.
ClassKeyword
);
8570
N(SyntaxKind.
ClassKeyword
);
8725
N(SyntaxKind.
ClassKeyword
);
8863
N(SyntaxKind.
ClassKeyword
);
8941
N(SyntaxKind.
ClassKeyword
);
9019
N(SyntaxKind.
ClassKeyword
);
9101
N(SyntaxKind.
ClassKeyword
);
9388
N(SyntaxKind.
ClassKeyword
);
9547
N(SyntaxKind.
ClassKeyword
);
9706
N(SyntaxKind.
ClassKeyword
);
9865
N(SyntaxKind.
ClassKeyword
);
10023
N(SyntaxKind.
ClassKeyword
);
10136
N(SyntaxKind.
ClassKeyword
);
10257
N(SyntaxKind.
ClassKeyword
);
10400
N(SyntaxKind.
ClassKeyword
);
10521
N(SyntaxKind.
ClassKeyword
);
10662
N(SyntaxKind.
ClassKeyword
);
10819
N(SyntaxKind.
ClassKeyword
);
10970
N(SyntaxKind.
ClassKeyword
);
11151
N(SyntaxKind.
ClassKeyword
);
11308
N(SyntaxKind.
ClassKeyword
);
11503
N(SyntaxKind.
ClassKeyword
);
11670
N(SyntaxKind.
ClassKeyword
);
11813
N(SyntaxKind.
ClassKeyword
);
11986
N(SyntaxKind.
ClassKeyword
);
12146
N(SyntaxKind.
ClassKeyword
);
12235
N(SyntaxKind.
ClassKeyword
);
12324
N(SyntaxKind.
ClassKeyword
);
13994
N(SyntaxKind.
ClassKeyword
);
14186
N(SyntaxKind.
ClassKeyword
);
14392
N(SyntaxKind.
ClassKeyword
);
14628
N(SyntaxKind.
ClassKeyword
);
14864
N(SyntaxKind.
ClassKeyword
);
15102
N(SyntaxKind.
ClassKeyword
);
15316
N(SyntaxKind.
ClassKeyword
);
15568
N(SyntaxKind.
ClassKeyword
);
15722
N(SyntaxKind.
ClassKeyword
);
15900
N(SyntaxKind.
ClassKeyword
);
16086
N(SyntaxKind.
ClassKeyword
);
16288
N(SyntaxKind.
ClassKeyword
);
16500
N(SyntaxKind.
ClassKeyword
);
16686
N(SyntaxKind.
ClassKeyword
);
16860
N(SyntaxKind.
ClassKeyword
);
16969
N(SyntaxKind.
ClassKeyword
);
17042
N(SyntaxKind.
ClassKeyword
);
Parsing\DeclarationParsingTests.cs (166)
785
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
812
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
839
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
866
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
893
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
920
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
947
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
974
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
1002
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
1029
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
1055
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
1086
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
1118
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
1160
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
1221
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
1265
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
1283
Assert.Equal(SyntaxKind.
ClassKeyword
, bound.ClassOrStructKeyword.Kind());
1306
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
1347
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
1366
Assert.Equal(SyntaxKind.
ClassKeyword
, classBound.ClassOrStructKeyword.Kind());
1403
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
1458
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
1504
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
1548
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
1571
Assert.Equal(SyntaxKind.
ClassKeyword
, classBound.ClassOrStructKeyword.Kind());
1720
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
1735
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
1760
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
1776
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
1801
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
1817
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
1842
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
1859
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
1884
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
1901
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
1926
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
1942
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
1967
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
1983
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
2446
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
2488
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
2534
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
2580
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
2625
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
2655
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
2683
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
2751
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
2997
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
3049
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
3110
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
3175
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
3249
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
3314
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
3366
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
3412
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
3493
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
3528
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
3575
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
3612
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
3672
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
3712
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
3766
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
3822
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
3867
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
3911
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
3956
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
4010
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
4073
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
4119
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
4173
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
4228
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
4301
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
4355
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
4409
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
4493
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
4549
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
4605
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
4689
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
4745
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
4799
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
4882
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
4939
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
5006
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
5074
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
5141
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
5217
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
5285
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
5365
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
5418
N(SyntaxKind.
ClassKeyword
);
5479
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
5542
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
5590
Assert.Equal(SyntaxKind.
ClassKeyword
, cs.Keyword.Kind());
6283
N(SyntaxKind.
ClassKeyword
);
6409
N(SyntaxKind.
ClassKeyword
);
6556
N(SyntaxKind.
ClassKeyword
);
6631
N(SyntaxKind.
ClassKeyword
);
6680
N(SyntaxKind.
ClassKeyword
);
6740
N(SyntaxKind.
ClassKeyword
);
6805
N(SyntaxKind.
ClassKeyword
);
6990
N(SyntaxKind.
ClassKeyword
);
7011
N(SyntaxKind.
ClassKeyword
);
7033
N(SyntaxKind.
ClassKeyword
);
7076
N(SyntaxKind.
ClassKeyword
);
7097
N(SyntaxKind.
ClassKeyword
);
7124
N(SyntaxKind.
ClassKeyword
);
7168
N(SyntaxKind.
ClassKeyword
);
7189
N(SyntaxKind.
ClassKeyword
);
7216
N(SyntaxKind.
ClassKeyword
);
8106
N(SyntaxKind.
ClassKeyword
);
8157
N(SyntaxKind.
ClassKeyword
);
8208
N(SyntaxKind.
ClassKeyword
);
8368
N(SyntaxKind.
ClassKeyword
);
8461
N(SyntaxKind.
ClassKeyword
);
8600
N(SyntaxKind.
ClassKeyword
);
8813
N(SyntaxKind.
ClassKeyword
);
8857
N(SyntaxKind.
ClassKeyword
);
8958
N(SyntaxKind.
ClassKeyword
);
9007
N(SyntaxKind.
ClassKeyword
);
9030
N(SyntaxKind.
ClassKeyword
);
9079
N(SyntaxKind.
ClassKeyword
);
9321
N(@struct ? SyntaxKind.StructKeyword : SyntaxKind.
ClassKeyword
);
9351
N(@struct ? SyntaxKind.StructKeyword : SyntaxKind.
ClassKeyword
);
9372
[InlineDataAttribute(SyntaxKind.ClassDeclaration, SyntaxKind.
ClassKeyword
)]
9396
[InlineDataAttribute(SyntaxKind.ClassDeclaration, SyntaxKind.
ClassKeyword
)]
9428
[InlineDataAttribute(SyntaxKind.ClassDeclaration, SyntaxKind.
ClassKeyword
)]
9465
[InlineDataAttribute(SyntaxKind.ClassDeclaration, SyntaxKind.
ClassKeyword
)]
9501
[InlineDataAttribute(SyntaxKind.ClassDeclaration, SyntaxKind.
ClassKeyword
)]
9536
[InlineDataAttribute(SyntaxKind.ClassDeclaration, SyntaxKind.
ClassKeyword
)]
9578
[InlineDataAttribute(SyntaxKind.ClassDeclaration, SyntaxKind.
ClassKeyword
)]
9617
[InlineDataAttribute(SyntaxKind.ClassDeclaration, SyntaxKind.
ClassKeyword
)]
9672
[InlineDataAttribute(SyntaxKind.ClassDeclaration, SyntaxKind.
ClassKeyword
)]
9720
[InlineDataAttribute(SyntaxKind.ClassDeclaration, SyntaxKind.
ClassKeyword
)]
9756
N(@struct ? SyntaxKind.StructKeyword : SyntaxKind.
ClassKeyword
);
9790
N(@struct ? SyntaxKind.StructKeyword : SyntaxKind.
ClassKeyword
);
9817
N(@struct ? SyntaxKind.StructKeyword : SyntaxKind.
ClassKeyword
);
9857
N(@struct ? SyntaxKind.StructKeyword : SyntaxKind.
ClassKeyword
);
9897
N(@struct ? SyntaxKind.StructKeyword : SyntaxKind.
ClassKeyword
);
9928
N(@struct ? SyntaxKind.StructKeyword : SyntaxKind.
ClassKeyword
);
9973
N(@struct ? SyntaxKind.StructKeyword : SyntaxKind.
ClassKeyword
);
10022
N(@struct ? SyntaxKind.StructKeyword : SyntaxKind.
ClassKeyword
);
10065
N(@struct ? SyntaxKind.StructKeyword : SyntaxKind.
ClassKeyword
);
10122
N(@struct ? SyntaxKind.StructKeyword : SyntaxKind.
ClassKeyword
);
10182
N(@struct ? SyntaxKind.StructKeyword : SyntaxKind.
ClassKeyword
);
10208
N(SyntaxKind.
ClassKeyword
);
10236
N(@struct ? SyntaxKind.StructKeyword : SyntaxKind.
ClassKeyword
);
10270
N(SyntaxKind.
ClassKeyword
);
10304
N(@struct ? SyntaxKind.StructKeyword : SyntaxKind.
ClassKeyword
);
10347
N(SyntaxKind.
ClassKeyword
);
10369
N(@struct ? SyntaxKind.StructKeyword : SyntaxKind.
ClassKeyword
);
10421
N(@struct ? SyntaxKind.StructKeyword : SyntaxKind.
ClassKeyword
);
10470
N(@struct ? SyntaxKind.StructKeyword : SyntaxKind.
ClassKeyword
);
10522
N(@struct ? SyntaxKind.StructKeyword : SyntaxKind.
ClassKeyword
);
10575
N(@struct ? SyntaxKind.StructKeyword : SyntaxKind.
ClassKeyword
);
10609
N(@struct ? SyntaxKind.StructKeyword : SyntaxKind.
ClassKeyword
);
10653
N(@struct ? SyntaxKind.StructKeyword : SyntaxKind.
ClassKeyword
);
10702
N(@struct ? SyntaxKind.StructKeyword : SyntaxKind.
ClassKeyword
);
10750
N(@struct ? SyntaxKind.StructKeyword : SyntaxKind.
ClassKeyword
);
10812
N(@struct ? SyntaxKind.StructKeyword : SyntaxKind.
ClassKeyword
);
10854
N(@struct ? SyntaxKind.StructKeyword : SyntaxKind.
ClassKeyword
);
10906
N(@struct ? SyntaxKind.StructKeyword : SyntaxKind.
ClassKeyword
);
10963
N(@struct ? SyntaxKind.StructKeyword : SyntaxKind.
ClassKeyword
);
10991
N(SyntaxKind.
ClassKeyword
);
11018
N(@struct ? SyntaxKind.StructKeyword : SyntaxKind.
ClassKeyword
);
11053
N(SyntaxKind.
ClassKeyword
);
11083
N(@struct ? SyntaxKind.StructKeyword : SyntaxKind.
ClassKeyword
);
11126
N(SyntaxKind.
ClassKeyword
);
Parsing\DeclarationParsingTests_MissingIdentifiers.cs (29)
55
N(SyntaxKind.
ClassKeyword
);
129
N(SyntaxKind.
ClassKeyword
);
137
N(SyntaxKind.
ClassKeyword
);
186
N(SyntaxKind.
ClassKeyword
);
246
N(SyntaxKind.
ClassKeyword
);
265
N(SyntaxKind.
ClassKeyword
);
347
N(SyntaxKind.
ClassKeyword
);
441
N(SyntaxKind.
ClassKeyword
);
568
N(SyntaxKind.
ClassKeyword
);
662
N(SyntaxKind.
ClassKeyword
);
744
N(SyntaxKind.
ClassKeyword
);
770
N(SyntaxKind.
ClassKeyword
);
833
N(SyntaxKind.
ClassKeyword
);
952
N(SyntaxKind.
ClassKeyword
);
1035
N(SyntaxKind.
ClassKeyword
);
1163
N(SyntaxKind.
ClassKeyword
);
2962
N(SyntaxKind.
ClassKeyword
);
3043
N(SyntaxKind.
ClassKeyword
);
3050
N(SyntaxKind.
ClassKeyword
);
3133
N(SyntaxKind.
ClassKeyword
);
3159
N(SyntaxKind.
ClassKeyword
);
3230
N(SyntaxKind.
ClassKeyword
);
3360
N(SyntaxKind.
ClassKeyword
);
3367
N(SyntaxKind.
ClassKeyword
);
3450
N(SyntaxKind.
ClassKeyword
);
3486
N(SyntaxKind.
ClassKeyword
);
3524
N(SyntaxKind.
ClassKeyword
);
3541
N(SyntaxKind.
ClassKeyword
);
3559
N(SyntaxKind.
ClassKeyword
);
Parsing\DeclarationScopeParsingTests.cs (10)
1419
N(SyntaxKind.
ClassKeyword
);
1549
N(SyntaxKind.
ClassKeyword
);
1620
N(SyntaxKind.
ClassKeyword
);
1749
N(SyntaxKind.
ClassKeyword
);
2154
N(SyntaxKind.
ClassKeyword
);
2178
N(SyntaxKind.
ClassKeyword
);
3037
N(SyntaxKind.
ClassKeyword
);
3184
N(SyntaxKind.
ClassKeyword
);
11616
N(SyntaxKind.
ClassKeyword
);
14233
N(SyntaxKind.
ClassKeyword
);
Parsing\DeconstructionTests.cs (20)
53
N(SyntaxKind.
ClassKeyword
);
127
N(SyntaxKind.
ClassKeyword
);
205
N(SyntaxKind.
ClassKeyword
);
281
N(SyntaxKind.
ClassKeyword
);
369
N(SyntaxKind.
ClassKeyword
);
453
N(SyntaxKind.
ClassKeyword
);
528
N(SyntaxKind.
ClassKeyword
);
604
N(SyntaxKind.
ClassKeyword
);
696
N(SyntaxKind.
ClassKeyword
);
786
N(SyntaxKind.
ClassKeyword
);
899
N(SyntaxKind.
ClassKeyword
);
976
N(SyntaxKind.
ClassKeyword
);
1063
N(SyntaxKind.
ClassKeyword
);
1137
N(SyntaxKind.
ClassKeyword
);
1236
N(SyntaxKind.
ClassKeyword
);
1334
N(SyntaxKind.
ClassKeyword
);
1419
N(SyntaxKind.
ClassKeyword
);
1512
N(SyntaxKind.
ClassKeyword
);
1767
N(SyntaxKind.
ClassKeyword
);
3390
N(SyntaxKind.
ClassKeyword
);
Parsing\ExpressionParsingTests.cs (20)
3074
N(SyntaxKind.
ClassKeyword
);
3166
N(SyntaxKind.
ClassKeyword
);
3266
N(SyntaxKind.
ClassKeyword
);
3356
N(SyntaxKind.
ClassKeyword
);
3430
N(SyntaxKind.
ClassKeyword
);
3512
N(SyntaxKind.
ClassKeyword
);
3591
N(SyntaxKind.
ClassKeyword
);
3664
N(SyntaxKind.
ClassKeyword
);
3749
N(SyntaxKind.
ClassKeyword
);
3841
N(SyntaxKind.
ClassKeyword
);
3931
N(SyntaxKind.
ClassKeyword
);
4022
N(SyntaxKind.
ClassKeyword
);
4109
N(SyntaxKind.
ClassKeyword
);
4203
N(SyntaxKind.
ClassKeyword
);
4300
N(SyntaxKind.
ClassKeyword
);
4405
N(SyntaxKind.
ClassKeyword
);
4506
N(SyntaxKind.
ClassKeyword
);
4597
N(SyntaxKind.
ClassKeyword
);
4690
N(SyntaxKind.
ClassKeyword
);
6277
N(SyntaxKind.
ClassKeyword
);
Parsing\FieldKeywordParsingTests.cs (40)
69
N(SyntaxKind.
ClassKeyword
);
129
N(SyntaxKind.
ClassKeyword
);
171
N(SyntaxKind.
ClassKeyword
);
222
N(SyntaxKind.
ClassKeyword
);
279
N(SyntaxKind.
ClassKeyword
);
341
N(SyntaxKind.
ClassKeyword
);
398
N(SyntaxKind.
ClassKeyword
);
464
N(SyntaxKind.
ClassKeyword
);
536
N(SyntaxKind.
ClassKeyword
);
615
N(SyntaxKind.
ClassKeyword
);
683
N(SyntaxKind.
ClassKeyword
);
763
N(SyntaxKind.
ClassKeyword
);
859
N(SyntaxKind.
ClassKeyword
);
909
N(SyntaxKind.
ClassKeyword
);
966
N(SyntaxKind.
ClassKeyword
);
1012
N(SyntaxKind.
ClassKeyword
);
1058
N(SyntaxKind.
ClassKeyword
);
1104
N(SyntaxKind.
ClassKeyword
);
1154
N(SyntaxKind.
ClassKeyword
);
1208
N(SyntaxKind.
ClassKeyword
);
1255
N(SyntaxKind.
ClassKeyword
);
1324
N(SyntaxKind.
ClassKeyword
);
1375
N(SyntaxKind.
ClassKeyword
);
1429
N(SyntaxKind.
ClassKeyword
);
1490
N(SyntaxKind.
ClassKeyword
);
1568
N(SyntaxKind.
ClassKeyword
);
1632
N(SyntaxKind.
ClassKeyword
);
1708
N(SyntaxKind.
ClassKeyword
);
1759
N(SyntaxKind.
ClassKeyword
);
1849
N(SyntaxKind.
ClassKeyword
);
1926
N(SyntaxKind.
ClassKeyword
);
1977
N(SyntaxKind.
ClassKeyword
);
2036
N(SyntaxKind.
ClassKeyword
);
2095
N(SyntaxKind.
ClassKeyword
);
2159
N(SyntaxKind.
ClassKeyword
);
2232
N(SyntaxKind.
ClassKeyword
);
2285
N(SyntaxKind.
ClassKeyword
);
2340
N(SyntaxKind.
ClassKeyword
);
2422
N(SyntaxKind.
ClassKeyword
);
2461
N(SyntaxKind.
ClassKeyword
);
Parsing\FileModifierParsingTests.cs (49)
43
[InlineData(SyntaxKind.
ClassKeyword
)]
69
[InlineData(SyntaxKind.
ClassKeyword
)]
123
[InlineData(SyntaxKind.
ClassKeyword
)]
462
N(SyntaxKind.
ClassKeyword
);
484
N(SyntaxKind.
ClassKeyword
);
495
[InlineData(SyntaxKind.
ClassKeyword
)]
528
[InlineData(SyntaxKind.
ClassKeyword
)]
578
N(SyntaxKind.
ClassKeyword
);
641
N(SyntaxKind.
ClassKeyword
);
674
N(SyntaxKind.
ClassKeyword
);
705
N(SyntaxKind.
ClassKeyword
);
711
N(SyntaxKind.
ClassKeyword
);
749
N(SyntaxKind.
ClassKeyword
);
814
N(SyntaxKind.
ClassKeyword
);
865
N(SyntaxKind.
ClassKeyword
);
916
N(SyntaxKind.
ClassKeyword
);
963
N(SyntaxKind.
ClassKeyword
);
1020
N(SyntaxKind.
ClassKeyword
);
1069
N(SyntaxKind.
ClassKeyword
);
1108
N(SyntaxKind.
ClassKeyword
);
1164
N(SyntaxKind.
ClassKeyword
);
1204
N(SyntaxKind.
ClassKeyword
);
1250
N(SyntaxKind.
ClassKeyword
);
1283
N(SyntaxKind.
ClassKeyword
);
1328
N(SyntaxKind.
ClassKeyword
);
1370
N(SyntaxKind.
ClassKeyword
);
1418
N(SyntaxKind.
ClassKeyword
);
1480
N(SyntaxKind.
ClassKeyword
);
1508
N(SyntaxKind.
ClassKeyword
);
1532
N(SyntaxKind.
ClassKeyword
);
1599
N(SyntaxKind.
ClassKeyword
);
1863
N(SyntaxKind.
ClassKeyword
);
2503
N(SyntaxKind.
ClassKeyword
);
2537
N(SyntaxKind.
ClassKeyword
);
2584
N(SyntaxKind.
ClassKeyword
);
2629
N(SyntaxKind.
ClassKeyword
);
2679
N(SyntaxKind.
ClassKeyword
);
2731
N(SyntaxKind.
ClassKeyword
);
2776
N(SyntaxKind.
ClassKeyword
);
2825
N(SyntaxKind.
ClassKeyword
);
2874
N(SyntaxKind.
ClassKeyword
);
2923
N(SyntaxKind.
ClassKeyword
);
2969
N(SyntaxKind.
ClassKeyword
);
3503
N(SyntaxKind.
ClassKeyword
);
3567
N(SyntaxKind.
ClassKeyword
);
3623
N(SyntaxKind.
ClassKeyword
);
3642
N(SyntaxKind.
ClassKeyword
);
3669
N(SyntaxKind.
ClassKeyword
);
3695
N(SyntaxKind.
ClassKeyword
);
Parsing\FunctionPointerTests.cs (2)
1715
N(SyntaxKind.
ClassKeyword
);
2216
N(SyntaxKind.
ClassKeyword
);
Parsing\LambdaAttributeParsingTests.cs (8)
3700
N(SyntaxKind.
ClassKeyword
);
3759
N(SyntaxKind.
ClassKeyword
);
3795
N(SyntaxKind.
ClassKeyword
);
3926
N(SyntaxKind.
ClassKeyword
);
4039
N(SyntaxKind.
ClassKeyword
);
4156
N(SyntaxKind.
ClassKeyword
);
4305
N(SyntaxKind.
ClassKeyword
);
4439
N(SyntaxKind.
ClassKeyword
);
Parsing\LambdaParameterParsingTests.cs (5)
60
N(SyntaxKind.
ClassKeyword
);
171
N(SyntaxKind.
ClassKeyword
);
290
N(SyntaxKind.
ClassKeyword
);
416
N(SyntaxKind.
ClassKeyword
);
545
N(SyntaxKind.
ClassKeyword
);
Parsing\LambdaReturnTypeParsingTests.cs (4)
5668
N(SyntaxKind.
ClassKeyword
);
5721
N(SyntaxKind.
ClassKeyword
);
5787
N(SyntaxKind.
ClassKeyword
);
5844
N(SyntaxKind.
ClassKeyword
);
Parsing\LocalFunctionParsingTests.cs (21)
112
N(SyntaxKind.
ClassKeyword
);
378
N(SyntaxKind.
ClassKeyword
);
572
N(SyntaxKind.
ClassKeyword
);
641
N(SyntaxKind.
ClassKeyword
);
732
N(SyntaxKind.
ClassKeyword
);
818
N(SyntaxKind.
ClassKeyword
);
922
N(SyntaxKind.
ClassKeyword
);
1002
N(SyntaxKind.
ClassKeyword
);
1096
N(SyntaxKind.
ClassKeyword
);
1409
N(SyntaxKind.
ClassKeyword
);
1749
N(SyntaxKind.
ClassKeyword
);
1864
N(SyntaxKind.
ClassKeyword
);
2049
N(SyntaxKind.
ClassKeyword
);
2145
N(SyntaxKind.
ClassKeyword
);
2228
N(SyntaxKind.
ClassKeyword
);
2318
N(SyntaxKind.
ClassKeyword
);
2415
N(SyntaxKind.
ClassKeyword
);
2584
N(SyntaxKind.
ClassKeyword
);
2674
N(SyntaxKind.
ClassKeyword
);
2805
N(SyntaxKind.
ClassKeyword
);
2907
N(SyntaxKind.
ClassKeyword
);
Parsing\MemberDeclarationParsingTests.cs (46)
158
N(SyntaxKind.
ClassKeyword
);
1889
N(SyntaxKind.
ClassKeyword
);
1896
N(SyntaxKind.
ClassKeyword
);
2092
N(SyntaxKind.
ClassKeyword
);
2099
N(SyntaxKind.
ClassKeyword
);
9178
N(SyntaxKind.
ClassKeyword
);
9299
N(SyntaxKind.
ClassKeyword
);
9370
N(SyntaxKind.
ClassKeyword
);
9456
N(SyntaxKind.
ClassKeyword
);
9506
N(SyntaxKind.
ClassKeyword
);
9527
N(SyntaxKind.
ClassKeyword
);
9561
N(SyntaxKind.
ClassKeyword
);
10182
N(SyntaxKind.
ClassKeyword
);
10219
N(SyntaxKind.
ClassKeyword
);
10388
N(SyntaxKind.
ClassKeyword
);
10442
N(SyntaxKind.
ClassKeyword
);
10471
[InlineData("class", SyntaxKind.ClassDeclaration, SyntaxKind.
ClassKeyword
)]
10520
N(SyntaxKind.
ClassKeyword
);
10554
[InlineData("class", SyntaxKind.ClassDeclaration, SyntaxKind.
ClassKeyword
)]
10605
N(SyntaxKind.
ClassKeyword
);
10657
[InlineData("class", SyntaxKind.ClassDeclaration, SyntaxKind.
ClassKeyword
)]
10713
N(SyntaxKind.
ClassKeyword
);
10759
N(SyntaxKind.
ClassKeyword
);
10772
[InlineData("class", SyntaxKind.ClassDeclaration, SyntaxKind.
ClassKeyword
)]
10838
N(SyntaxKind.
ClassKeyword
);
10884
N(SyntaxKind.
ClassKeyword
);
10928
[InlineData("class", SyntaxKind.ClassDeclaration, SyntaxKind.
ClassKeyword
)]
11013
N(SyntaxKind.
ClassKeyword
);
11059
N(SyntaxKind.
ClassKeyword
);
11103
[InlineData("class", SyntaxKind.ClassDeclaration, SyntaxKind.
ClassKeyword
)]
11187
N(SyntaxKind.
ClassKeyword
);
11233
N(SyntaxKind.
ClassKeyword
);
11276
[InlineData("class", SyntaxKind.ClassDeclaration, SyntaxKind.
ClassKeyword
)]
11356
N(SyntaxKind.
ClassKeyword
);
11407
[InlineData("class", SyntaxKind.ClassDeclaration, SyntaxKind.
ClassKeyword
)]
11468
N(SyntaxKind.
ClassKeyword
);
11483
N(SyntaxKind.
ClassKeyword
);
11552
N(SyntaxKind.
ClassKeyword
);
11640
N(SyntaxKind.
ClassKeyword
);
11937
N(SyntaxKind.
ClassKeyword
);
11996
N(SyntaxKind.
ClassKeyword
);
12058
N(SyntaxKind.
ClassKeyword
);
12261
N(SyntaxKind.
ClassKeyword
);
12287
N(SyntaxKind.
ClassKeyword
);
12352
N(SyntaxKind.
ClassKeyword
);
12378
N(SyntaxKind.
ClassKeyword
);
Parsing\NameParsingTests.cs (9)
839
N(SyntaxKind.
ClassKeyword
);
937
N(SyntaxKind.
ClassKeyword
);
1043
N(SyntaxKind.
ClassKeyword
);
1059
N(SyntaxKind.
ClassKeyword
);
1168
N(SyntaxKind.
ClassKeyword
);
1184
N(SyntaxKind.
ClassKeyword
);
1297
N(SyntaxKind.
ClassKeyword
);
1313
N(SyntaxKind.
ClassKeyword
);
1334
N(SyntaxKind.
ClassKeyword
);
Parsing\NullableParsingTests.cs (2)
50
N(SyntaxKind.
ClassKeyword
);
1333
N(SyntaxKind.
ClassKeyword
);
Parsing\ParserErrorMessageTests.cs (1)
5737
N(SyntaxKind.
ClassKeyword
);
Parsing\ParserRegressionTests.cs (6)
268
N(SyntaxKind.
ClassKeyword
);
361
N(SyntaxKind.
ClassKeyword
);
495
N(SyntaxKind.
ClassKeyword
);
585
N(SyntaxKind.
ClassKeyword
);
675
N(SyntaxKind.
ClassKeyword
);
763
N(SyntaxKind.
ClassKeyword
);
Parsing\ParsingErrorRecoveryTests.cs (6)
93
N(SyntaxKind.
ClassKeyword
);
5198
N(SyntaxKind.
ClassKeyword
);
5310
N(SyntaxKind.
ClassKeyword
);
5457
N(SyntaxKind.
ClassKeyword
);
5570
N(SyntaxKind.
ClassKeyword
);
5707
N(SyntaxKind.
ClassKeyword
);
Parsing\PatternParsingTests.cs (1)
181
N(SyntaxKind.
ClassKeyword
);
Parsing\RecordParsing.cs (28)
42
N(SyntaxKind.
ClassKeyword
);
481
N(SyntaxKind.
ClassKeyword
);
525
N(SyntaxKind.
ClassKeyword
);
570
N(SyntaxKind.
ClassKeyword
);
583
N(SyntaxKind.
ClassKeyword
);
603
N(SyntaxKind.
ClassKeyword
);
624
N(SyntaxKind.
ClassKeyword
);
643
N(SyntaxKind.
ClassKeyword
);
669
N(SyntaxKind.
ClassKeyword
);
682
N(SyntaxKind.
ClassKeyword
);
737
N(SyntaxKind.
ClassKeyword
);
787
N(SyntaxKind.
ClassKeyword
);
857
N(SyntaxKind.
ClassKeyword
);
938
N(SyntaxKind.
ClassKeyword
);
983
N(SyntaxKind.
ClassKeyword
);
1031
N(SyntaxKind.
ClassKeyword
);
1065
N(SyntaxKind.
ClassKeyword
);
1139
N(SyntaxKind.
ClassKeyword
);
1263
N(SyntaxKind.
ClassKeyword
);
1379
N(SyntaxKind.
ClassKeyword
);
2265
N(SyntaxKind.
ClassKeyword
);
2985
N(SyntaxKind.
ClassKeyword
);
3022
N(SyntaxKind.
ClassKeyword
);
3368
M(SyntaxKind.
ClassKeyword
);
3413
M(SyntaxKind.
ClassKeyword
);
3569
N(SyntaxKind.
ClassKeyword
);
4185
N(@struct ? SyntaxKind.StructKeyword : SyntaxKind.
ClassKeyword
);
4228
N(SyntaxKind.
ClassKeyword
);
Parsing\RefFieldParsingTests.cs (1)
657
N(SyntaxKind.
ClassKeyword
);
Parsing\ScriptParsingTests.cs (5)
1009
N(SyntaxKind.
ClassKeyword
);
1031
N(SyntaxKind.
ClassKeyword
);
1060
N(SyntaxKind.
ClassKeyword
);
1090
N(SyntaxKind.
ClassKeyword
);
2395
N(SyntaxKind.
ClassKeyword
);
Parsing\SeparatedSyntaxListParsingTests.cs (4)
65
N(SyntaxKind.
ClassKeyword
);
362
N(SyntaxKind.
ClassKeyword
);
632
N(SyntaxKind.
ClassKeyword
);
803
N(SyntaxKind.
ClassKeyword
);
Parsing\SingleLineDeclarationParsingTests.cs (2)
569
N(SyntaxKind.
ClassKeyword
);
607
N(SyntaxKind.
ClassKeyword
);
Parsing\StatementAttributeParsingTests.cs (86)
35
N(SyntaxKind.
ClassKeyword
);
101
N(SyntaxKind.
ClassKeyword
);
168
N(SyntaxKind.
ClassKeyword
);
256
N(SyntaxKind.
ClassKeyword
);
351
N(SyntaxKind.
ClassKeyword
);
436
N(SyntaxKind.
ClassKeyword
);
517
N(SyntaxKind.
ClassKeyword
);
583
N(SyntaxKind.
ClassKeyword
);
652
N(SyntaxKind.
ClassKeyword
);
726
N(SyntaxKind.
ClassKeyword
);
803
N(SyntaxKind.
ClassKeyword
);
878
N(SyntaxKind.
ClassKeyword
);
953
N(SyntaxKind.
ClassKeyword
);
1031
N(SyntaxKind.
ClassKeyword
);
1105
N(SyntaxKind.
ClassKeyword
);
1207
N(SyntaxKind.
ClassKeyword
);
1341
N(SyntaxKind.
ClassKeyword
);
1417
N(SyntaxKind.
ClassKeyword
);
1503
N(SyntaxKind.
ClassKeyword
);
1587
N(SyntaxKind.
ClassKeyword
);
1706
N(SyntaxKind.
ClassKeyword
);
1776
N(SyntaxKind.
ClassKeyword
);
1846
N(SyntaxKind.
ClassKeyword
);
1916
N(SyntaxKind.
ClassKeyword
);
2001
N(SyntaxKind.
ClassKeyword
);
2098
N(SyntaxKind.
ClassKeyword
);
2174
N(SyntaxKind.
ClassKeyword
);
2250
N(SyntaxKind.
ClassKeyword
);
2330
N(SyntaxKind.
ClassKeyword
);
2427
N(SyntaxKind.
ClassKeyword
);
2555
N(SyntaxKind.
ClassKeyword
);
2659
N(SyntaxKind.
ClassKeyword
);
2738
N(SyntaxKind.
ClassKeyword
);
2823
N(SyntaxKind.
ClassKeyword
);
2926
N(SyntaxKind.
ClassKeyword
);
3011
N(SyntaxKind.
ClassKeyword
);
3114
N(SyntaxKind.
ClassKeyword
);
3193
N(SyntaxKind.
ClassKeyword
);
3272
N(SyntaxKind.
ClassKeyword
);
3355
N(SyntaxKind.
ClassKeyword
);
3435
N(SyntaxKind.
ClassKeyword
);
3517
N(SyntaxKind.
ClassKeyword
);
3599
N(SyntaxKind.
ClassKeyword
);
3689
N(SyntaxKind.
ClassKeyword
);
3770
N(SyntaxKind.
ClassKeyword
);
3844
N(SyntaxKind.
ClassKeyword
);
3937
N(SyntaxKind.
ClassKeyword
);
4020
N(SyntaxKind.
ClassKeyword
);
4105
N(SyntaxKind.
ClassKeyword
);
4190
N(SyntaxKind.
ClassKeyword
);
4272
N(SyntaxKind.
ClassKeyword
);
4349
N(SyntaxKind.
ClassKeyword
);
4437
N(SyntaxKind.
ClassKeyword
);
4526
N(SyntaxKind.
ClassKeyword
);
4623
N(SyntaxKind.
ClassKeyword
);
4701
N(SyntaxKind.
ClassKeyword
);
4776
N(SyntaxKind.
ClassKeyword
);
4871
N(SyntaxKind.
ClassKeyword
);
4970
N(SyntaxKind.
ClassKeyword
);
5047
N(SyntaxKind.
ClassKeyword
);
5119
N(SyntaxKind.
ClassKeyword
);
5207
N(SyntaxKind.
ClassKeyword
);
5285
N(SyntaxKind.
ClassKeyword
);
5371
N(SyntaxKind.
ClassKeyword
);
5448
N(SyntaxKind.
ClassKeyword
);
5533
N(SyntaxKind.
ClassKeyword
);
5642
N(SyntaxKind.
ClassKeyword
);
5742
N(SyntaxKind.
ClassKeyword
);
5848
N(SyntaxKind.
ClassKeyword
);
5947
N(SyntaxKind.
ClassKeyword
);
6043
N(SyntaxKind.
ClassKeyword
);
6135
N(SyntaxKind.
ClassKeyword
);
6213
N(SyntaxKind.
ClassKeyword
);
6305
N(SyntaxKind.
ClassKeyword
);
6383
N(SyntaxKind.
ClassKeyword
);
6462
N(SyntaxKind.
ClassKeyword
);
6549
N(SyntaxKind.
ClassKeyword
);
6654
N(SyntaxKind.
ClassKeyword
);
6793
N(SyntaxKind.
ClassKeyword
);
6887
N(SyntaxKind.
ClassKeyword
);
6973
N(SyntaxKind.
ClassKeyword
);
7056
N(SyntaxKind.
ClassKeyword
);
7147
N(SyntaxKind.
ClassKeyword
);
7248
N(SyntaxKind.
ClassKeyword
);
7356
N(SyntaxKind.
ClassKeyword
);
7469
N(SyntaxKind.
ClassKeyword
);
Parsing\StatementParsingTests.cs (4)
2701
N(SyntaxKind.
ClassKeyword
);
4306
N(SyntaxKind.
ClassKeyword
);
4443
N(SyntaxKind.
ClassKeyword
);
4607
N(SyntaxKind.
ClassKeyword
);
Parsing\SuppressNullableWarningExpressionParsingTests.cs (1)
39
N(SyntaxKind.
ClassKeyword
);
Parsing\SwitchExpressionParsingTests.cs (20)
496
N(SyntaxKind.
ClassKeyword
);
581
N(SyntaxKind.
ClassKeyword
);
670
N(SyntaxKind.
ClassKeyword
);
753
N(SyntaxKind.
ClassKeyword
);
832
N(SyntaxKind.
ClassKeyword
);
920
N(SyntaxKind.
ClassKeyword
);
1015
N(SyntaxKind.
ClassKeyword
);
1097
N(SyntaxKind.
ClassKeyword
);
1176
N(SyntaxKind.
ClassKeyword
);
1270
N(SyntaxKind.
ClassKeyword
);
1377
N(SyntaxKind.
ClassKeyword
);
1472
N(SyntaxKind.
ClassKeyword
);
1551
N(SyntaxKind.
ClassKeyword
);
1634
N(SyntaxKind.
ClassKeyword
);
1711
N(SyntaxKind.
ClassKeyword
);
1785
N(SyntaxKind.
ClassKeyword
);
1861
N(SyntaxKind.
ClassKeyword
);
1937
N(SyntaxKind.
ClassKeyword
);
2017
N(SyntaxKind.
ClassKeyword
);
2103
N(SyntaxKind.
ClassKeyword
);
Parsing\TopLevelStatementsParsingTests.cs (10)
184
N(SyntaxKind.
ClassKeyword
);
279
N(SyntaxKind.
ClassKeyword
);
372
N(SyntaxKind.
ClassKeyword
);
452
N(SyntaxKind.
ClassKeyword
);
618
N(SyntaxKind.
ClassKeyword
);
682
N(SyntaxKind.
ClassKeyword
);
822
N(SyntaxKind.
ClassKeyword
);
1248
N(SyntaxKind.
ClassKeyword
);
3155
N(SyntaxKind.
ClassKeyword
);
3248
N(SyntaxKind.
ClassKeyword
);
Parsing\TypeArgumentListParsingTests.cs (29)
41
N(SyntaxKind.
ClassKeyword
);
157
N(SyntaxKind.
ClassKeyword
);
285
N(SyntaxKind.
ClassKeyword
);
418
N(SyntaxKind.
ClassKeyword
);
566
N(SyntaxKind.
ClassKeyword
);
711
N(SyntaxKind.
ClassKeyword
);
1026
N(SyntaxKind.
ClassKeyword
);
1165
N(SyntaxKind.
ClassKeyword
);
1307
N(SyntaxKind.
ClassKeyword
);
1440
N(SyntaxKind.
ClassKeyword
);
1560
N(SyntaxKind.
ClassKeyword
);
1664
N(SyntaxKind.
ClassKeyword
);
1765
N(SyntaxKind.
ClassKeyword
);
1887
N(SyntaxKind.
ClassKeyword
);
2020
N(SyntaxKind.
ClassKeyword
);
2154
N(SyntaxKind.
ClassKeyword
);
2285
N(SyntaxKind.
ClassKeyword
);
2386
N(SyntaxKind.
ClassKeyword
);
2495
N(SyntaxKind.
ClassKeyword
);
2597
N(SyntaxKind.
ClassKeyword
);
2715
N(SyntaxKind.
ClassKeyword
);
2851
N(SyntaxKind.
ClassKeyword
);
2952
N(SyntaxKind.
ClassKeyword
);
3053
N(SyntaxKind.
ClassKeyword
);
3154
N(SyntaxKind.
ClassKeyword
);
3255
N(SyntaxKind.
ClassKeyword
);
3368
N(SyntaxKind.
ClassKeyword
);
3487
N(SyntaxKind.
ClassKeyword
);
3603
N(SyntaxKind.
ClassKeyword
);
Parsing\UsingDirectiveParsingTests.cs (17)
1647
N(SyntaxKind.
ClassKeyword
);
1753
N(SyntaxKind.
ClassKeyword
);
2127
N(SyntaxKind.
ClassKeyword
);
2201
N(SyntaxKind.
ClassKeyword
);
2278
N(SyntaxKind.
ClassKeyword
);
2355
N(SyntaxKind.
ClassKeyword
);
2431
N(SyntaxKind.
ClassKeyword
);
2514
N(SyntaxKind.
ClassKeyword
);
2609
N(SyntaxKind.
ClassKeyword
);
2739
N(SyntaxKind.
ClassKeyword
);
2863
N(SyntaxKind.
ClassKeyword
);
2981
N(SyntaxKind.
ClassKeyword
);
3079
N(SyntaxKind.
ClassKeyword
);
3720
N(SyntaxKind.
ClassKeyword
);
3727
N(SyntaxKind.
ClassKeyword
);
3882
N(SyntaxKind.
ClassKeyword
);
3889
N(SyntaxKind.
ClassKeyword
);
Parsing\ValueTupleTests.cs (7)
40
N(SyntaxKind.
ClassKeyword
);
123
N(SyntaxKind.
ClassKeyword
);
235
N(SyntaxKind.
ClassKeyword
);
339
N(SyntaxKind.
ClassKeyword
);
447
N(SyntaxKind.
ClassKeyword
);
519
N(SyntaxKind.
ClassKeyword
);
626
N(SyntaxKind.
ClassKeyword
);
Syntax\SyntaxFactoryTests.cs (1)
86
Assert.Equal(SyntaxKind.
ClassKeyword
, c.Keyword.Kind());
Syntax\SyntaxNodeTests.cs (2)
2038
SyntaxKind.
ClassKeyword
,
2059
SyntaxKind.
ClassKeyword
,
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTokenExtensions.cs (1)
315
case SyntaxKind.
ClassKeyword
:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
693
is SyntaxKind.
ClassKeyword
Microsoft.VisualStudio.LanguageServices.CSharp (1)
LanguageService\CSharpHelpContextService.cs (1)
494
if (token.IsKind(SyntaxKind.
ClassKeyword
) && token.Parent is ClassOrStructConstraintSyntax)