1238 references to ClassDeclaration
Microsoft.Analyzers.Extra (1)
CallAnalysis\Fixers\LegacyLoggingFixer.cs (1)
270
var allClasses = allNodes.Where(d => d.IsKind(SyntaxKind.
ClassDeclaration
)).OfType<ClassDeclarationSyntax>();
Microsoft.AspNetCore.App.Analyzers (1)
WebApplicationBuilder\PublicPartialProgramClassAnalyzer.cs (1)
31
}, SyntaxKind.
ClassDeclaration
);
Microsoft.CodeAnalysis.CSharp (29)
Binder\Binder_Statements.cs (1)
3677
Debug.Assert(typeDecl.Kind() is SyntaxKind.RecordDeclaration or SyntaxKind.
ClassDeclaration
or SyntaxKind.RecordStructDeclaration or SyntaxKind.StructDeclaration);
Binder\LocalBinderFactory.cs (1)
177
Debug.Assert(node.Kind() is SyntaxKind.RecordDeclaration or SyntaxKind.
ClassDeclaration
);
Compilation\MethodBodySemanticModel.cs (2)
100
case SyntaxKind.
ClassDeclaration
:
262
Debug.Assert(typeDecl.Kind() is (SyntaxKind.RecordDeclaration or SyntaxKind.
ClassDeclaration
));
Compilation\SyntaxTreeSemanticModel.cs (5)
802
case SyntaxKind.
ClassDeclaration
:
872
case SyntaxKind.
ClassDeclaration
:
1090
case SyntaxKind.
ClassDeclaration
:
1655
case SyntaxKind.
ClassDeclaration
:
2433
if (typeDeclaration.Kind() is (SyntaxKind.RecordDeclaration or SyntaxKind.
ClassDeclaration
))
Declarations\DeclarationKind.cs (1)
35
case SyntaxKind.
ClassDeclaration
: return DeclarationKind.Class;
Declarations\DeclarationTreeBuilder.cs (2)
731
else if (node.Kind() is SyntaxKind.
ClassDeclaration
or SyntaxKind.StructDeclaration or SyntaxKind.InterfaceDeclaration)
1086
case SyntaxKind.
ClassDeclaration
:
Declarations\MergedTypeDeclaration.cs (1)
76
case SyntaxKind.
ClassDeclaration
:
Parser\LanguageParser.cs (3)
793
case SyntaxKind.
ClassDeclaration
:
2385
case SyntaxKind.
ClassDeclaration
:
5094
case SyntaxKind.
ClassDeclaration
:
src\Compilers\CSharp\CSharpAnalyzerDriver\CSharpDeclarationComputer.cs (1)
101
case SyntaxKind.
ClassDeclaration
:
Symbols\Source\SourceConstructorSymbolBase.cs (1)
30
Debug.Assert(syntax.Kind() is SyntaxKind.ConstructorDeclaration or SyntaxKind.RecordDeclaration or SyntaxKind.RecordStructDeclaration or SyntaxKind.
ClassDeclaration
or SyntaxKind.StructDeclaration);
Symbols\Source\SourceMemberContainerSymbol.cs (1)
3543
case SyntaxKind.
ClassDeclaration
:
Symbols\Source\SourceNamedTypeSymbol.cs (3)
117
case SyntaxKind.
ClassDeclaration
:
159
case SyntaxKind.
ClassDeclaration
:
468
case SyntaxKind.
ClassDeclaration
:
Symbols\Synthesized\Records\SynthesizedPrimaryConstructor.cs (1)
25
Debug.Assert(syntax.Kind() is SyntaxKind.RecordDeclaration or SyntaxKind.RecordStructDeclaration or SyntaxKind.
ClassDeclaration
or SyntaxKind.StructDeclaration);
Syntax\LambdaUtilities.cs (1)
418
case SyntaxKind.
ClassDeclaration
:
Syntax\SyntaxKindFacts.cs (2)
379
case SyntaxKind.
ClassDeclaration
:
836
return SyntaxKind.
ClassDeclaration
;
Syntax\TypeDeclarationSyntax.cs (3)
37
if (Kind() is (SyntaxKind.RecordDeclaration or SyntaxKind.
ClassDeclaration
))
71
case SyntaxKind.
ClassDeclaration
:
123
case SyntaxKind.
ClassDeclaration
:
Microsoft.CodeAnalysis.CSharp.CodeStyle (9)
src\Analyzers\CSharp\Analyzers\AddAccessibilityModifiers\CSharpAddAccessibilityModifiers.cs (1)
68
case SyntaxKind.
ClassDeclaration
:
src\Analyzers\CSharp\Analyzers\AddAccessibilityModifiers\CSharpAddAccessibilityModifiersDiagnosticAnalyzer.cs (1)
48
SyntaxKind.
ClassDeclaration
or
src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryNullableDirective\CSharpRemoveUnnecessaryNullableDirectiveDiagnosticAnalyzer.cs (1)
65
SyntaxKind.
ClassDeclaration
or
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\MemberDeclarationSyntaxExtensions.cs (3)
35
case SyntaxKind.
ClassDeclaration
:
74
case SyntaxKind.
ClassDeclaration
:
96
case SyntaxKind.
ClassDeclaration
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (2)
30
case SyntaxKind.
ClassDeclaration
:
157
case SyntaxKind.
ClassDeclaration
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
153
public int ClassDeclaration => (int)SyntaxKind.
ClassDeclaration
;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (16)
src\Analyzers\CSharp\CodeFixes\GenerateDefaultConstructors\CSharpGenerateDefaultConstructorsService.cs (1)
46
if (baseList.Parent is TypeDeclarationSyntax(SyntaxKind.
ClassDeclaration
or SyntaxKind.RecordDeclaration) parentTypeDecl &&
src\Analyzers\CSharp\CodeFixes\ImplementInterface\CSharpImplementInterfaceService.cs (1)
52
SyntaxKind.
ClassDeclaration
or
src\Analyzers\CSharp\CodeFixes\MakeTypeAbstract\CSharpMakeTypeAbstractCodeFixProvider.cs (1)
50
if (enclosingType?.Kind() is SyntaxKind.
ClassDeclaration
or SyntaxKind.RecordDeclaration &&
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationHelpers.cs (1)
232
SyntaxKind.
ClassDeclaration
=> CodeGenerationDestination.ClassType,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpDeclarationComparer.cs (3)
30
{ SyntaxKind.
ClassDeclaration
, 13 },
138
case SyntaxKind.
ClassDeclaration
:
352
else if (node.Kind() is SyntaxKind.StructDeclaration or SyntaxKind.
ClassDeclaration
or SyntaxKind.RecordDeclaration or SyntaxKind.RecordStructDeclaration)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\NamedTypeGenerator.cs (2)
172
case SyntaxKind.
ClassDeclaration
:
210
namedType.TypeKind == TypeKind.Interface ? SyntaxKind.InterfaceDeclaration : SyntaxKind.
ClassDeclaration
;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\CSharpSyntaxContext.cs (1)
231
targetToken.Parent.Parent is (kind: SyntaxKind.
ClassDeclaration
or SyntaxKind.RecordDeclaration);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
1217
typeDecl.IsKind(SyntaxKind.
ClassDeclaration
) &&
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Utilities\SyntaxKindSet.cs (5)
72
SyntaxKind.
ClassDeclaration
,
82
SyntaxKind.
ClassDeclaration
,
91
SyntaxKind.
ClassDeclaration
,
97
SyntaxKind.
ClassDeclaration
,
103
SyntaxKind.
ClassDeclaration
,
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
CompleteStatement\CompleteStatementCommandHandler.cs (1)
374
case SyntaxKind.
ClassDeclaration
:
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (8)
Diagnostics\DiagnosticAnalyzerTests.cs (3)
245
context.RegisterSyntaxNodeAction(AnalyzeNode, SyntaxKind.Attribute, SyntaxKind.
ClassDeclaration
, SyntaxKind.UsingDirective);
258
case SyntaxKind.
ClassDeclaration
:
1630
protected override SyntaxKind ClassDeclarationSyntaxKind => SyntaxKind.
ClassDeclaration
;
Semantics\PrimaryConstructorTests.cs (5)
1130
Assert.Equal(SyntaxKind.
ClassDeclaration
, baseWithargs.Parent.Parent.Kind());
3759
context.RegisterSyntaxNodeAction(Handle6, SyntaxKind.
ClassDeclaration
);
4328
Assert.Equal(SyntaxKind.
ClassDeclaration
, context.Operation.Syntax.Kind());
4332
Assert.Equal(SyntaxKind.
ClassDeclaration
, context.Operation.Syntax.Kind());
5025
context.RegisterSyntaxNodeAction(Handle6, SyntaxKind.
ClassDeclaration
);
Microsoft.CodeAnalysis.CSharp.Features (23)
ChangeSignature\CSharpChangeSignatureService.cs (3)
53
SyntaxKind.
ClassDeclaration
,
106
SyntaxKind.
ClassDeclaration
,
308
or SyntaxKind.
ClassDeclaration
)
Completion\CompletionProviders\ExplicitInterfaceTypeCompletionProvider.cs (1)
151
=> node.Kind() is SyntaxKind.
ClassDeclaration
or SyntaxKind.StructDeclaration or
Completion\KeywordRecommenders\BaseKeywordRecommender.cs (1)
54
token.Parent.Parent?.Parent is (kind: SyntaxKind.
ClassDeclaration
or SyntaxKind.RecordDeclaration))
Completion\KeywordRecommenders\FieldKeywordRecommender.cs (1)
19
SyntaxKind.
ClassDeclaration
,
Completion\KeywordRecommenders\MethodKeywordRecommender.cs (1)
30
or TypeDeclarationSyntax(kind: SyntaxKind.
ClassDeclaration
or SyntaxKind.StructDeclaration) { ParameterList: not null }
Diagnostics\Analyzers\CSharpSimplifyTypeNamesDiagnosticAnalyzer.cs (1)
42
SyntaxKind.
ClassDeclaration
or
DocumentationComments\CSharpDocumentationCommentSnippetService.cs (1)
53
case SyntaxKind.
ClassDeclaration
:
EditAndContinue\BreakpointSpans.cs (1)
186
case SyntaxKind.
ClassDeclaration
:
EditAndContinue\SyntaxComparer.cs (3)
322
case SyntaxKind.
ClassDeclaration
:
588
case SyntaxKind.
ClassDeclaration
:
1425
case SyntaxKind.
ClassDeclaration
:
InitializeParameter\CSharpInitializeMemberFromPrimaryConstructorParameterCodeRefactoringProvider.cs (1)
51
if (selectedParameter.Parent is not ParameterListSyntax { Parent: TypeDeclarationSyntax(kind: SyntaxKind.
ClassDeclaration
or SyntaxKind.StructDeclaration) typeDeclaration })
Organizing\Organizers\MemberDeclarationsOrganizer.Comparer.cs (1)
168
case SyntaxKind.
ClassDeclaration
:
src\Analyzers\CSharp\Analyzers\AddAccessibilityModifiers\CSharpAddAccessibilityModifiers.cs (1)
68
case SyntaxKind.
ClassDeclaration
:
src\Analyzers\CSharp\Analyzers\AddAccessibilityModifiers\CSharpAddAccessibilityModifiersDiagnosticAnalyzer.cs (1)
48
SyntaxKind.
ClassDeclaration
or
src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryNullableDirective\CSharpRemoveUnnecessaryNullableDirectiveDiagnosticAnalyzer.cs (1)
65
SyntaxKind.
ClassDeclaration
or
src\Analyzers\CSharp\CodeFixes\GenerateDefaultConstructors\CSharpGenerateDefaultConstructorsService.cs (1)
46
if (baseList.Parent is TypeDeclarationSyntax(SyntaxKind.
ClassDeclaration
or SyntaxKind.RecordDeclaration) parentTypeDecl &&
src\Analyzers\CSharp\CodeFixes\ImplementInterface\CSharpImplementInterfaceService.cs (1)
52
SyntaxKind.
ClassDeclaration
or
src\Analyzers\CSharp\CodeFixes\MakeTypeAbstract\CSharpMakeTypeAbstractCodeFixProvider.cs (1)
50
if (enclosingType?.Kind() is SyntaxKind.
ClassDeclaration
or SyntaxKind.RecordDeclaration &&
src\Compilers\CSharp\CSharpAnalyzerDriver\CSharpDeclarationComputer.cs (1)
101
case SyntaxKind.
ClassDeclaration
:
src\Compilers\CSharp\Portable\Syntax\LambdaUtilities.cs (1)
418
case SyntaxKind.
ClassDeclaration
:
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (14)
Diagnostics\Configuration\ConfigureSeverity\AllAnalyzersSeverityConfigurationTests.cs (1)
39
SyntaxKind.
ClassDeclaration
);
Diagnostics\Configuration\ConfigureSeverity\CategoryBasedSeverityConfigurationTests.cs (1)
39
SyntaxKind.
ClassDeclaration
);
Diagnostics\Configuration\ConfigureSeverity\DotNetDiagnosticSeverityBasedSeverityConfigurationTests.cs (1)
39
SyntaxKind.
ClassDeclaration
);
Diagnostics\Suppression\RemoveSuppressionTests.cs (1)
44
=> context.RegisterSyntaxNodeAction(AnalyzeNode, SyntaxKind.
ClassDeclaration
);
Diagnostics\Suppression\SuppressionTest_FixMultipleTests.cs (1)
46
=> context.RegisterSyntaxNodeAction(AnalyzeNode, SyntaxKind.
ClassDeclaration
);
Diagnostics\Suppression\SuppressionTests.cs (9)
704
=> context.RegisterSyntaxNodeAction(AnalyzeNode, SyntaxKind.
ClassDeclaration
);
814
=> context.RegisterSyntaxNodeAction(AnalyzeNode, SyntaxKind.
ClassDeclaration
);
877
=> context.RegisterSyntaxNodeAction(AnalyzeNode, SyntaxKind.
ClassDeclaration
);
927
=> context.RegisterSyntaxNodeAction(AnalyzeNode, SyntaxKind.
ClassDeclaration
);
1068
=> context.RegisterSyntaxNodeAction(AnalyzeNode, SyntaxKind.
ClassDeclaration
, SyntaxKind.EnumDeclaration, SyntaxKind.NamespaceDeclaration, SyntaxKind.MethodDeclaration, SyntaxKind.PropertyDeclaration, SyntaxKind.FieldDeclaration, SyntaxKind.EventDeclaration);
1074
case SyntaxKind.
ClassDeclaration
:
2062
=> context.RegisterSyntaxNodeAction(AnalyzeNode, SyntaxKind.
ClassDeclaration
, SyntaxKind.NamespaceDeclaration, SyntaxKind.MethodDeclaration);
2068
case SyntaxKind.
ClassDeclaration
:
2458
=> context.RegisterSyntaxNodeAction(AnalyzeNode, SyntaxKind.
ClassDeclaration
);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (8)
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (3)
4691
var decl = (ClassDeclarationSyntax)tree.GetCompilationUnitRoot().DescendantNodes().Last(n => n.IsKind(SyntaxKind.
ClassDeclaration
));
4706
var decl = (ClassDeclarationSyntax)tree.GetCompilationUnitRoot().DescendantNodes().Last(n => n.IsKind(SyntaxKind.
ClassDeclaration
));
4721
var decl = (ClassDeclarationSyntax)tree.GetCompilationUnitRoot().DescendantNodes().Last(n => n.IsKind(SyntaxKind.
ClassDeclaration
));
Symbols\SymbolEqualityTests.cs (5)
674
var member1Syntax = (FieldDeclarationSyntax)root.DescendantNodes().Last(sn => sn.Kind() == SyntaxKind.
ClassDeclaration
).DescendantNodes().First(sn => sn.Kind() == SyntaxKind.FieldDeclaration);
675
var member2Syntax = (FieldDeclarationSyntax)root.DescendantNodes().Last(sn => sn.Kind() == SyntaxKind.
ClassDeclaration
).DescendantNodes().Last(sn => sn.Kind() == SyntaxKind.FieldDeclaration);
776
var member1Syntax = (ClassDeclarationSyntax)root.DescendantNodes().First(sn => sn.Kind() == SyntaxKind.
ClassDeclaration
);
827
var member1Syntax = (ClassDeclarationSyntax)root.DescendantNodes().First(sn => sn.Kind() == SyntaxKind.
ClassDeclaration
);
888
var member1Syntax = (ClassDeclarationSyntax)root.DescendantNodes().First(sn => sn.Kind() == SyntaxKind.
ClassDeclaration
);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1061)
IncrementalParsing\IncrementalParsingTests.cs (17)
58
SyntaxKind.
ClassDeclaration
,
85
SyntaxKind.
ClassDeclaration
,
106
SyntaxKind.
ClassDeclaration
,
142
SyntaxKind.
ClassDeclaration
,
159
SyntaxKind.
ClassDeclaration
,
175
SyntaxKind.
ClassDeclaration
,
227
SyntaxKind.
ClassDeclaration
,
249
SyntaxKind.
ClassDeclaration
,
271
SyntaxKind.
ClassDeclaration
,
295
SyntaxKind.
ClassDeclaration
,
320
SyntaxKind.
ClassDeclaration
,
339
SyntaxKind.
ClassDeclaration
,
378
SyntaxKind.
ClassDeclaration
, // class declaration on edge before change
382
SyntaxKind.
ClassDeclaration
, // class declaration on edge after change
422
SyntaxKind.
ClassDeclaration
, // class declaration on edge before change
426
SyntaxKind.
ClassDeclaration
, // class declaration on edge after change
674
N(SyntaxKind.
ClassDeclaration
);
LexicalAndXml\PreprocessorTests.cs (33)
738
new MemberInfo { Kind = SyntaxKind.
ClassDeclaration
, Text = "A" },
739
new MemberInfo { Kind = SyntaxKind.
ClassDeclaration
, Text = "C" });
762
new MemberInfo { Kind = SyntaxKind.
ClassDeclaration
, Text = "B" },
763
new MemberInfo { Kind = SyntaxKind.
ClassDeclaration
, Text = "C" });
786
new MemberInfo { Kind = SyntaxKind.
ClassDeclaration
, Text = "A" },
787
new MemberInfo { Kind = SyntaxKind.
ClassDeclaration
, Text = "C" });
810
new MemberInfo { Kind = SyntaxKind.
ClassDeclaration
, Text = "B" },
811
new MemberInfo { Kind = SyntaxKind.
ClassDeclaration
, Text = "C" });
834
new MemberInfo { Kind = SyntaxKind.
ClassDeclaration
, Text = "A" },
835
new MemberInfo { Kind = SyntaxKind.
ClassDeclaration
, Text = "C" });
857
VerifyMembers(node, new MemberInfo { Kind = SyntaxKind.
ClassDeclaration
, Text = "C" });
882
VerifyMembers(node, new MemberInfo { Kind = SyntaxKind.
ClassDeclaration
, Text = "A" },
883
new MemberInfo { Kind = SyntaxKind.
ClassDeclaration
, Text = "D" });
908
VerifyMembers(node, new MemberInfo { Kind = SyntaxKind.
ClassDeclaration
, Text = "B" }, new MemberInfo { Kind = SyntaxKind.
ClassDeclaration
, Text = "D" });
933
VerifyMembers(node, new MemberInfo { Kind = SyntaxKind.
ClassDeclaration
, Text = "C" }, new MemberInfo { Kind = SyntaxKind.
ClassDeclaration
, Text = "D" });
958
VerifyMembers(node, new MemberInfo { Kind = SyntaxKind.
ClassDeclaration
, Text = "A" }, new MemberInfo { Kind = SyntaxKind.
ClassDeclaration
, Text = "D" });
986
VerifyMembers(node, new MemberInfo { Kind = SyntaxKind.
ClassDeclaration
, Text = "A" }, new MemberInfo { Kind = SyntaxKind.
ClassDeclaration
, Text = "E" });
1014
VerifyMembers(node, new MemberInfo { Kind = SyntaxKind.
ClassDeclaration
, Text = "C" },
1015
new MemberInfo { Kind = SyntaxKind.
ClassDeclaration
, Text = "E" });
1043
VerifyMembers(node, new MemberInfo { Kind = SyntaxKind.
ClassDeclaration
, Text = "D" },
1044
new MemberInfo { Kind = SyntaxKind.
ClassDeclaration
, Text = "E" });
1685
Assert.Equal(SyntaxKind.
ClassDeclaration
, node.Members[0].Kind());
1704
VerifyMembers(node, new MemberInfo { Kind = SyntaxKind.
ClassDeclaration
, Text = "B" });
2402
new MemberInfo { Kind = SyntaxKind.
ClassDeclaration
, Status = NodeStatus.Unspecified, Status2 = NodeStatus.Defined, Text = defSym });
2488
new MemberInfo { Kind = SyntaxKind.
ClassDeclaration
, Status = NodeStatus.Unspecified, Status2 = NodeStatus.Unspecified, Text = defSym });
2509
new MemberInfo { Kind = SyntaxKind.
ClassDeclaration
, Status = NodeStatus.Unspecified, Text = defSym, Status2 = NodeStatus.Defined });
2563
new MemberInfo { Kind = SyntaxKind.
ClassDeclaration
, Status = NodeStatus.Unspecified, Status2 = NodeStatus.Undefined, Text = defSym });
2766
VerifyMembers(node, new MemberInfo { Kind = SyntaxKind.
ClassDeclaration
, Status = NodeStatus.Unspecified, Text = "ZZZ" });
2787
new MemberInfo { Kind = SyntaxKind.
ClassDeclaration
, Status = NodeStatus.Unspecified, Status2 = NodeStatus.Undefined, Text = defSym });
LexicalAndXml\XmlDocCommentTests.cs (3)
148
Assert.Equal(SyntaxKind.
ClassDeclaration
, tree.GetCompilationUnitRoot().Members[0].Kind());
194
Assert.Equal(SyntaxKind.
ClassDeclaration
, tree.GetCompilationUnitRoot().Members[0].Kind());
1290
Assert.Equal(SyntaxKind.
ClassDeclaration
, tree.GetCompilationUnitRoot().ChildNodesAndTokens()[0].Kind());
Parsing\AllowsConstraintParsing.cs (32)
33
N(SyntaxKind.
ClassDeclaration
);
86
N(SyntaxKind.
ClassDeclaration
);
142
N(SyntaxKind.
ClassDeclaration
);
191
N(SyntaxKind.
ClassDeclaration
);
245
N(SyntaxKind.
ClassDeclaration
);
304
N(SyntaxKind.
ClassDeclaration
);
371
N(SyntaxKind.
ClassDeclaration
);
428
N(SyntaxKind.
ClassDeclaration
);
483
N(SyntaxKind.
ClassDeclaration
);
541
N(SyntaxKind.
ClassDeclaration
);
596
N(SyntaxKind.
ClassDeclaration
);
659
N(SyntaxKind.
ClassDeclaration
);
712
N(SyntaxKind.
ClassDeclaration
);
770
N(SyntaxKind.
ClassDeclaration
);
841
N(SyntaxKind.
ClassDeclaration
);
913
N(SyntaxKind.
ClassDeclaration
);
980
N(SyntaxKind.
ClassDeclaration
);
1052
N(SyntaxKind.
ClassDeclaration
);
1110
N(SyntaxKind.
ClassDeclaration
);
1164
N(SyntaxKind.
ClassDeclaration
);
1218
N(SyntaxKind.
ClassDeclaration
);
1272
N(SyntaxKind.
ClassDeclaration
);
1329
N(SyntaxKind.
ClassDeclaration
);
1386
N(SyntaxKind.
ClassDeclaration
);
1443
N(SyntaxKind.
ClassDeclaration
);
1499
N(SyntaxKind.
ClassDeclaration
);
1568
N(SyntaxKind.
ClassDeclaration
);
1622
N(SyntaxKind.
ClassDeclaration
);
1676
N(SyntaxKind.
ClassDeclaration
);
1733
N(SyntaxKind.
ClassDeclaration
);
1790
N(SyntaxKind.
ClassDeclaration
);
1847
N(SyntaxKind.
ClassDeclaration
);
Parsing\AnonymousFunctionParsingTests.cs (25)
48
N(SyntaxKind.
ClassDeclaration
);
149
N(SyntaxKind.
ClassDeclaration
);
246
N(SyntaxKind.
ClassDeclaration
);
347
N(SyntaxKind.
ClassDeclaration
);
448
N(SyntaxKind.
ClassDeclaration
);
552
N(SyntaxKind.
ClassDeclaration
);
683
N(SyntaxKind.
ClassDeclaration
);
801
N(SyntaxKind.
ClassDeclaration
);
2296
N(SyntaxKind.
ClassDeclaration
);
2376
N(SyntaxKind.
ClassDeclaration
);
2492
N(SyntaxKind.
ClassDeclaration
);
2640
N(SyntaxKind.
ClassDeclaration
);
2788
N(SyntaxKind.
ClassDeclaration
);
2914
N(SyntaxKind.
ClassDeclaration
);
3050
N(SyntaxKind.
ClassDeclaration
);
3173
N(SyntaxKind.
ClassDeclaration
);
3313
N(SyntaxKind.
ClassDeclaration
);
3466
N(SyntaxKind.
ClassDeclaration
);
3619
N(SyntaxKind.
ClassDeclaration
);
3751
N(SyntaxKind.
ClassDeclaration
);
3896
N(SyntaxKind.
ClassDeclaration
);
4028
N(SyntaxKind.
ClassDeclaration
);
4177
N(SyntaxKind.
ClassDeclaration
);
4339
N(SyntaxKind.
ClassDeclaration
);
4501
N(SyntaxKind.
ClassDeclaration
);
Parsing\AsyncParsingTests.cs (51)
48
N(SyntaxKind.
ClassDeclaration
);
89
N(SyntaxKind.
ClassDeclaration
);
129
N(SyntaxKind.
ClassDeclaration
);
169
N(SyntaxKind.
ClassDeclaration
);
209
N(SyntaxKind.
ClassDeclaration
);
250
N(SyntaxKind.
ClassDeclaration
);
295
N(SyntaxKind.
ClassDeclaration
);
366
N(SyntaxKind.
ClassDeclaration
);
400
N(SyntaxKind.
ClassDeclaration
);
433
N(SyntaxKind.
ClassDeclaration
);
473
N(SyntaxKind.
ClassDeclaration
);
524
N(SyntaxKind.
ClassDeclaration
);
558
N(SyntaxKind.
ClassDeclaration
);
602
N(SyntaxKind.
ClassDeclaration
);
637
N(SyntaxKind.
ClassDeclaration
);
684
N(SyntaxKind.
ClassDeclaration
);
730
N(SyntaxKind.
ClassDeclaration
);
784
N(SyntaxKind.
ClassDeclaration
);
846
N(SyntaxKind.
ClassDeclaration
);
888
N(SyntaxKind.
ClassDeclaration
);
932
N(SyntaxKind.
ClassDeclaration
);
979
N(SyntaxKind.
ClassDeclaration
);
1024
N(SyntaxKind.
ClassDeclaration
);
1070
N(SyntaxKind.
ClassDeclaration
);
1117
N(SyntaxKind.
ClassDeclaration
);
1162
N(SyntaxKind.
ClassDeclaration
);
1201
N(SyntaxKind.
ClassDeclaration
);
1447
N(SyntaxKind.
ClassDeclaration
);
1490
N(SyntaxKind.
ClassDeclaration
);
1495
N(SyntaxKind.
ClassDeclaration
);
1534
N(SyntaxKind.
ClassDeclaration
);
1587
N(SyntaxKind.
ClassDeclaration
);
1647
N(SyntaxKind.
ClassDeclaration
);
1704
N(SyntaxKind.
ClassDeclaration
);
1758
N(SyntaxKind.
ClassDeclaration
);
1816
N(SyntaxKind.
ClassDeclaration
);
1870
N(SyntaxKind.
ClassDeclaration
);
1927
N(SyntaxKind.
ClassDeclaration
);
1979
N(SyntaxKind.
ClassDeclaration
);
2033
N(SyntaxKind.
ClassDeclaration
);
2078
N(SyntaxKind.
ClassDeclaration
);
2108
N(SyntaxKind.
ClassDeclaration
);
2147
N(SyntaxKind.
ClassDeclaration
);
2193
N(SyntaxKind.
ClassDeclaration
);
2242
N(SyntaxKind.
ClassDeclaration
);
2255
N(SyntaxKind.
ClassDeclaration
);
2294
N(SyntaxKind.
ClassDeclaration
);
2338
N(SyntaxKind.
ClassDeclaration
);
2398
N(SyntaxKind.
ClassDeclaration
);
2434
N(SyntaxKind.
ClassDeclaration
);
2603
N(SyntaxKind.
ClassDeclaration
);
Parsing\AsyncStreamsParsingTests.cs (6)
48
N(SyntaxKind.
ClassDeclaration
);
126
N(SyntaxKind.
ClassDeclaration
);
207
N(SyntaxKind.
ClassDeclaration
);
289
N(SyntaxKind.
ClassDeclaration
);
388
N(SyntaxKind.
ClassDeclaration
);
482
N(SyntaxKind.
ClassDeclaration
);
Parsing\AwaitParsingTests.cs (5)
42
N(SyntaxKind.
ClassDeclaration
);
107
N(SyntaxKind.
ClassDeclaration
);
171
N(SyntaxKind.
ClassDeclaration
);
236
N(SyntaxKind.
ClassDeclaration
);
344
N(SyntaxKind.
ClassDeclaration
);
Parsing\CollectionExpressionParsingTests.cs (51)
1391
N(SyntaxKind.
ClassDeclaration
);
6251
N(SyntaxKind.
ClassDeclaration
);
6316
N(SyntaxKind.
ClassDeclaration
);
7970
N(SyntaxKind.
ClassDeclaration
);
8115
N(SyntaxKind.
ClassDeclaration
);
8268
N(SyntaxKind.
ClassDeclaration
);
8424
N(SyntaxKind.
ClassDeclaration
);
8568
N(SyntaxKind.
ClassDeclaration
);
8723
N(SyntaxKind.
ClassDeclaration
);
8861
N(SyntaxKind.
ClassDeclaration
);
8939
N(SyntaxKind.
ClassDeclaration
);
9017
N(SyntaxKind.
ClassDeclaration
);
9099
N(SyntaxKind.
ClassDeclaration
);
9386
N(SyntaxKind.
ClassDeclaration
);
9545
N(SyntaxKind.
ClassDeclaration
);
9704
N(SyntaxKind.
ClassDeclaration
);
9863
N(SyntaxKind.
ClassDeclaration
);
10021
N(SyntaxKind.
ClassDeclaration
);
10134
N(SyntaxKind.
ClassDeclaration
);
10255
N(SyntaxKind.
ClassDeclaration
);
10398
N(SyntaxKind.
ClassDeclaration
);
10519
N(SyntaxKind.
ClassDeclaration
);
10660
N(SyntaxKind.
ClassDeclaration
);
10817
N(SyntaxKind.
ClassDeclaration
);
10968
N(SyntaxKind.
ClassDeclaration
);
11149
N(SyntaxKind.
ClassDeclaration
);
11306
N(SyntaxKind.
ClassDeclaration
);
11501
N(SyntaxKind.
ClassDeclaration
);
11668
N(SyntaxKind.
ClassDeclaration
);
11811
N(SyntaxKind.
ClassDeclaration
);
11984
N(SyntaxKind.
ClassDeclaration
);
12144
N(SyntaxKind.
ClassDeclaration
);
12233
N(SyntaxKind.
ClassDeclaration
);
12322
N(SyntaxKind.
ClassDeclaration
);
13992
N(SyntaxKind.
ClassDeclaration
);
14184
N(SyntaxKind.
ClassDeclaration
);
14390
N(SyntaxKind.
ClassDeclaration
);
14626
N(SyntaxKind.
ClassDeclaration
);
14862
N(SyntaxKind.
ClassDeclaration
);
15100
N(SyntaxKind.
ClassDeclaration
);
15314
N(SyntaxKind.
ClassDeclaration
);
15566
N(SyntaxKind.
ClassDeclaration
);
15720
N(SyntaxKind.
ClassDeclaration
);
15898
N(SyntaxKind.
ClassDeclaration
);
16084
N(SyntaxKind.
ClassDeclaration
);
16286
N(SyntaxKind.
ClassDeclaration
);
16498
N(SyntaxKind.
ClassDeclaration
);
16684
N(SyntaxKind.
ClassDeclaration
);
16858
N(SyntaxKind.
ClassDeclaration
);
16967
N(SyntaxKind.
ClassDeclaration
);
17040
N(SyntaxKind.
ClassDeclaration
);
Parsing\DeclarationParsingTests.cs (153)
780
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
806
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
833
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
860
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
887
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
914
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
941
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
968
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
995
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1023
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1050
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1081
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1113
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1155
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1216
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1260
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1301
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1342
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1398
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1453
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1499
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1543
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1715
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1730
Assert.Equal(SyntaxKind.
ClassDeclaration
, cs.Members[0].Kind());
1755
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1770
Assert.Equal(SyntaxKind.
ClassDeclaration
, cs.Members[0].Kind());
1796
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1811
Assert.Equal(SyntaxKind.
ClassDeclaration
, cs.Members[0].Kind());
1837
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1852
Assert.Equal(SyntaxKind.
ClassDeclaration
, cs.Members[0].Kind());
1879
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1894
Assert.Equal(SyntaxKind.
ClassDeclaration
, cs.Members[0].Kind());
1921
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1936
Assert.Equal(SyntaxKind.
ClassDeclaration
, cs.Members[0].Kind());
1962
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1977
Assert.Equal(SyntaxKind.
ClassDeclaration
, cs.Members[0].Kind());
2441
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
2483
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
2529
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
2575
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
2620
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
2650
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
2678
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
2746
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
2992
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3044
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3105
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3170
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3244
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3309
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3361
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3407
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3488
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3523
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3570
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3607
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3667
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3707
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3761
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3817
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3862
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3906
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3951
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4005
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4068
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4114
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4168
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4223
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4296
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4350
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4404
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4459
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4488
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4544
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4600
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4684
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4740
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4794
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4877
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4934
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
5001
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
5069
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
5136
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
5212
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
5280
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
5360
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
5416
N(SyntaxKind.
ClassDeclaration
);
5474
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
5537
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
5585
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
6281
N(SyntaxKind.
ClassDeclaration
);
6407
N(SyntaxKind.
ClassDeclaration
);
6554
N(SyntaxKind.
ClassDeclaration
);
6629
N(SyntaxKind.
ClassDeclaration
);
6678
N(SyntaxKind.
ClassDeclaration
);
6738
N(SyntaxKind.
ClassDeclaration
);
6803
N(SyntaxKind.
ClassDeclaration
);
6988
N(SyntaxKind.
ClassDeclaration
);
7031
N(SyntaxKind.
ClassDeclaration
);
7074
N(SyntaxKind.
ClassDeclaration
);
7122
N(SyntaxKind.
ClassDeclaration
);
7166
N(SyntaxKind.
ClassDeclaration
);
7214
N(SyntaxKind.
ClassDeclaration
);
8104
N(SyntaxKind.
ClassDeclaration
);
8155
N(SyntaxKind.
ClassDeclaration
);
8206
N(SyntaxKind.
ClassDeclaration
);
8366
N(SyntaxKind.
ClassDeclaration
);
8459
N(SyntaxKind.
ClassDeclaration
);
8598
N(SyntaxKind.
ClassDeclaration
);
8811
N(SyntaxKind.
ClassDeclaration
);
8855
N(SyntaxKind.
ClassDeclaration
);
8956
N(SyntaxKind.
ClassDeclaration
);
9028
N(SyntaxKind.
ClassDeclaration
);
9319
N(@struct ? SyntaxKind.StructDeclaration : SyntaxKind.
ClassDeclaration
);
9349
N(@struct ? SyntaxKind.StructDeclaration : SyntaxKind.
ClassDeclaration
);
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)]
9754
N(@struct ? SyntaxKind.StructDeclaration : SyntaxKind.
ClassDeclaration
);
9788
N(@struct ? SyntaxKind.StructDeclaration : SyntaxKind.
ClassDeclaration
);
9815
N(@struct ? SyntaxKind.StructDeclaration : SyntaxKind.
ClassDeclaration
);
9855
N(@struct ? SyntaxKind.StructDeclaration : SyntaxKind.
ClassDeclaration
);
9895
N(@struct ? SyntaxKind.StructDeclaration : SyntaxKind.
ClassDeclaration
);
9926
N(@struct ? SyntaxKind.StructDeclaration : SyntaxKind.
ClassDeclaration
);
9971
N(@struct ? SyntaxKind.StructDeclaration : SyntaxKind.
ClassDeclaration
);
10020
N(@struct ? SyntaxKind.StructDeclaration : SyntaxKind.
ClassDeclaration
);
10063
N(@struct ? SyntaxKind.StructDeclaration : SyntaxKind.
ClassDeclaration
);
10120
N(@struct ? SyntaxKind.StructDeclaration : SyntaxKind.
ClassDeclaration
);
10180
N(@struct ? SyntaxKind.StructDeclaration : SyntaxKind.
ClassDeclaration
);
10234
N(@struct ? SyntaxKind.StructDeclaration : SyntaxKind.
ClassDeclaration
);
10302
N(@struct ? SyntaxKind.StructDeclaration : SyntaxKind.
ClassDeclaration
);
10367
N(@struct ? SyntaxKind.StructDeclaration : SyntaxKind.
ClassDeclaration
);
10419
N(@struct ? SyntaxKind.StructDeclaration : SyntaxKind.
ClassDeclaration
);
10468
N(@struct ? SyntaxKind.StructDeclaration : SyntaxKind.
ClassDeclaration
);
10520
N(@struct ? SyntaxKind.StructDeclaration : SyntaxKind.
ClassDeclaration
);
10573
N(@struct ? SyntaxKind.StructDeclaration : SyntaxKind.
ClassDeclaration
);
10607
N(@struct ? SyntaxKind.StructDeclaration : SyntaxKind.
ClassDeclaration
);
10651
N(@struct ? SyntaxKind.StructDeclaration : SyntaxKind.
ClassDeclaration
);
10700
N(@struct ? SyntaxKind.StructDeclaration : SyntaxKind.
ClassDeclaration
);
10748
N(@struct ? SyntaxKind.StructDeclaration : SyntaxKind.
ClassDeclaration
);
10810
N(@struct ? SyntaxKind.StructDeclaration : SyntaxKind.
ClassDeclaration
);
10852
N(@struct ? SyntaxKind.StructDeclaration : SyntaxKind.
ClassDeclaration
);
10904
N(@struct ? SyntaxKind.StructDeclaration : SyntaxKind.
ClassDeclaration
);
10961
N(@struct ? SyntaxKind.StructDeclaration : SyntaxKind.
ClassDeclaration
);
11016
N(@struct ? SyntaxKind.StructDeclaration : SyntaxKind.
ClassDeclaration
);
11081
N(@struct ? SyntaxKind.StructDeclaration : SyntaxKind.
ClassDeclaration
);
Parsing\DeclarationParsingTests_MissingIdentifiers.cs (22)
51
N(SyntaxKind.
ClassDeclaration
);
126
N(SyntaxKind.
ClassDeclaration
);
134
N(SyntaxKind.
ClassDeclaration
);
183
N(SyntaxKind.
ClassDeclaration
);
243
N(SyntaxKind.
ClassDeclaration
);
262
N(SyntaxKind.
ClassDeclaration
);
344
N(SyntaxKind.
ClassDeclaration
);
438
N(SyntaxKind.
ClassDeclaration
);
564
N(SyntaxKind.
ClassDeclaration
);
659
N(SyntaxKind.
ClassDeclaration
);
741
N(SyntaxKind.
ClassDeclaration
);
767
N(SyntaxKind.
ClassDeclaration
);
829
N(SyntaxKind.
ClassDeclaration
);
949
N(SyntaxKind.
ClassDeclaration
);
1031
N(SyntaxKind.
ClassDeclaration
);
1160
N(SyntaxKind.
ClassDeclaration
);
3047
N(SyntaxKind.
ClassDeclaration
);
3156
N(SyntaxKind.
ClassDeclaration
);
3364
N(SyntaxKind.
ClassDeclaration
);
3521
N(SyntaxKind.
ClassDeclaration
);
3538
N(SyntaxKind.
ClassDeclaration
);
3556
N(SyntaxKind.
ClassDeclaration
);
Parsing\DeclarationScopeParsingTests.cs (10)
1417
N(SyntaxKind.
ClassDeclaration
);
1547
N(SyntaxKind.
ClassDeclaration
);
1618
N(SyntaxKind.
ClassDeclaration
);
1747
N(SyntaxKind.
ClassDeclaration
);
2152
N(SyntaxKind.
ClassDeclaration
);
2176
N(SyntaxKind.
ClassDeclaration
);
3035
N(SyntaxKind.
ClassDeclaration
);
3182
N(SyntaxKind.
ClassDeclaration
);
11614
N(SyntaxKind.
ClassDeclaration
);
14231
N(SyntaxKind.
ClassDeclaration
);
Parsing\DeconstructionTests.cs (20)
51
N(SyntaxKind.
ClassDeclaration
);
125
N(SyntaxKind.
ClassDeclaration
);
203
N(SyntaxKind.
ClassDeclaration
);
279
N(SyntaxKind.
ClassDeclaration
);
367
N(SyntaxKind.
ClassDeclaration
);
451
N(SyntaxKind.
ClassDeclaration
);
526
N(SyntaxKind.
ClassDeclaration
);
602
N(SyntaxKind.
ClassDeclaration
);
694
N(SyntaxKind.
ClassDeclaration
);
784
N(SyntaxKind.
ClassDeclaration
);
897
N(SyntaxKind.
ClassDeclaration
);
974
N(SyntaxKind.
ClassDeclaration
);
1061
N(SyntaxKind.
ClassDeclaration
);
1135
N(SyntaxKind.
ClassDeclaration
);
1234
N(SyntaxKind.
ClassDeclaration
);
1332
N(SyntaxKind.
ClassDeclaration
);
1417
N(SyntaxKind.
ClassDeclaration
);
1510
N(SyntaxKind.
ClassDeclaration
);
1765
N(SyntaxKind.
ClassDeclaration
);
3388
N(SyntaxKind.
ClassDeclaration
);
Parsing\ExpressionParsingTests.cs (20)
3072
N(SyntaxKind.
ClassDeclaration
);
3164
N(SyntaxKind.
ClassDeclaration
);
3264
N(SyntaxKind.
ClassDeclaration
);
3354
N(SyntaxKind.
ClassDeclaration
);
3428
N(SyntaxKind.
ClassDeclaration
);
3510
N(SyntaxKind.
ClassDeclaration
);
3589
N(SyntaxKind.
ClassDeclaration
);
3662
N(SyntaxKind.
ClassDeclaration
);
3747
N(SyntaxKind.
ClassDeclaration
);
3839
N(SyntaxKind.
ClassDeclaration
);
3929
N(SyntaxKind.
ClassDeclaration
);
4020
N(SyntaxKind.
ClassDeclaration
);
4107
N(SyntaxKind.
ClassDeclaration
);
4201
N(SyntaxKind.
ClassDeclaration
);
4298
N(SyntaxKind.
ClassDeclaration
);
4403
N(SyntaxKind.
ClassDeclaration
);
4504
N(SyntaxKind.
ClassDeclaration
);
4595
N(SyntaxKind.
ClassDeclaration
);
4688
N(SyntaxKind.
ClassDeclaration
);
6275
N(SyntaxKind.
ClassDeclaration
);
Parsing\FieldKeywordParsingTests.cs (40)
67
N(SyntaxKind.
ClassDeclaration
);
127
N(SyntaxKind.
ClassDeclaration
);
169
N(SyntaxKind.
ClassDeclaration
);
220
N(SyntaxKind.
ClassDeclaration
);
277
N(SyntaxKind.
ClassDeclaration
);
339
N(SyntaxKind.
ClassDeclaration
);
396
N(SyntaxKind.
ClassDeclaration
);
462
N(SyntaxKind.
ClassDeclaration
);
534
N(SyntaxKind.
ClassDeclaration
);
613
N(SyntaxKind.
ClassDeclaration
);
681
N(SyntaxKind.
ClassDeclaration
);
761
N(SyntaxKind.
ClassDeclaration
);
857
N(SyntaxKind.
ClassDeclaration
);
907
N(SyntaxKind.
ClassDeclaration
);
964
N(SyntaxKind.
ClassDeclaration
);
1010
N(SyntaxKind.
ClassDeclaration
);
1056
N(SyntaxKind.
ClassDeclaration
);
1102
N(SyntaxKind.
ClassDeclaration
);
1152
N(SyntaxKind.
ClassDeclaration
);
1206
N(SyntaxKind.
ClassDeclaration
);
1253
N(SyntaxKind.
ClassDeclaration
);
1322
N(SyntaxKind.
ClassDeclaration
);
1373
N(SyntaxKind.
ClassDeclaration
);
1427
N(SyntaxKind.
ClassDeclaration
);
1488
N(SyntaxKind.
ClassDeclaration
);
1566
N(SyntaxKind.
ClassDeclaration
);
1630
N(SyntaxKind.
ClassDeclaration
);
1706
N(SyntaxKind.
ClassDeclaration
);
1757
N(SyntaxKind.
ClassDeclaration
);
1847
N(SyntaxKind.
ClassDeclaration
);
1924
N(SyntaxKind.
ClassDeclaration
);
1975
N(SyntaxKind.
ClassDeclaration
);
2034
N(SyntaxKind.
ClassDeclaration
);
2093
N(SyntaxKind.
ClassDeclaration
);
2157
N(SyntaxKind.
ClassDeclaration
);
2230
N(SyntaxKind.
ClassDeclaration
);
2283
N(SyntaxKind.
ClassDeclaration
);
2338
N(SyntaxKind.
ClassDeclaration
);
2420
N(SyntaxKind.
ClassDeclaration
);
2459
N(SyntaxKind.
ClassDeclaration
);
Parsing\FileModifierParsingTests.cs (40)
457
N(SyntaxKind.
ClassDeclaration
);
479
N(SyntaxKind.
ClassDeclaration
);
574
N(SyntaxKind.
ClassDeclaration
);
637
N(SyntaxKind.
ClassDeclaration
);
670
N(SyntaxKind.
ClassDeclaration
);
702
N(SyntaxKind.
ClassDeclaration
);
707
N(SyntaxKind.
ClassDeclaration
);
746
N(SyntaxKind.
ClassDeclaration
);
811
N(SyntaxKind.
ClassDeclaration
);
862
N(SyntaxKind.
ClassDeclaration
);
913
N(SyntaxKind.
ClassDeclaration
);
960
N(SyntaxKind.
ClassDeclaration
);
1017
N(SyntaxKind.
ClassDeclaration
);
1066
N(SyntaxKind.
ClassDeclaration
);
1105
N(SyntaxKind.
ClassDeclaration
);
1161
N(SyntaxKind.
ClassDeclaration
);
1201
N(SyntaxKind.
ClassDeclaration
);
1246
N(SyntaxKind.
ClassDeclaration
);
1280
N(SyntaxKind.
ClassDeclaration
);
1325
N(SyntaxKind.
ClassDeclaration
);
1367
N(SyntaxKind.
ClassDeclaration
);
1415
N(SyntaxKind.
ClassDeclaration
);
1477
N(SyntaxKind.
ClassDeclaration
);
1505
N(SyntaxKind.
ClassDeclaration
);
1529
N(SyntaxKind.
ClassDeclaration
);
1594
N(SyntaxKind.
ClassDeclaration
);
1858
N(SyntaxKind.
ClassDeclaration
);
2496
N(SyntaxKind.
ClassDeclaration
);
2534
N(SyntaxKind.
ClassDeclaration
);
2581
N(SyntaxKind.
ClassDeclaration
);
2626
N(SyntaxKind.
ClassDeclaration
);
2676
N(SyntaxKind.
ClassDeclaration
);
2728
N(SyntaxKind.
ClassDeclaration
);
2773
N(SyntaxKind.
ClassDeclaration
);
2822
N(SyntaxKind.
ClassDeclaration
);
2871
N(SyntaxKind.
ClassDeclaration
);
2920
N(SyntaxKind.
ClassDeclaration
);
2966
N(SyntaxKind.
ClassDeclaration
);
3500
N(SyntaxKind.
ClassDeclaration
);
3564
N(SyntaxKind.
ClassDeclaration
);
Parsing\FunctionPointerTests.cs (2)
1713
N(SyntaxKind.
ClassDeclaration
);
2214
N(SyntaxKind.
ClassDeclaration
);
Parsing\LambdaAttributeParsingTests.cs (8)
3698
N(SyntaxKind.
ClassDeclaration
);
3723
N(SyntaxKind.
ClassDeclaration
);
3793
N(SyntaxKind.
ClassDeclaration
);
3924
N(SyntaxKind.
ClassDeclaration
);
4037
N(SyntaxKind.
ClassDeclaration
);
4154
N(SyntaxKind.
ClassDeclaration
);
4303
N(SyntaxKind.
ClassDeclaration
);
4437
N(SyntaxKind.
ClassDeclaration
);
Parsing\LambdaParameterParsingTests.cs (5)
58
N(SyntaxKind.
ClassDeclaration
);
169
N(SyntaxKind.
ClassDeclaration
);
288
N(SyntaxKind.
ClassDeclaration
);
414
N(SyntaxKind.
ClassDeclaration
);
543
N(SyntaxKind.
ClassDeclaration
);
Parsing\LambdaReturnTypeParsingTests.cs (4)
5624
N(SyntaxKind.
ClassDeclaration
);
5682
N(SyntaxKind.
ClassDeclaration
);
5735
N(SyntaxKind.
ClassDeclaration
);
5801
N(SyntaxKind.
ClassDeclaration
);
Parsing\LocalFunctionParsingTests.cs (21)
110
N(SyntaxKind.
ClassDeclaration
);
376
N(SyntaxKind.
ClassDeclaration
);
570
N(SyntaxKind.
ClassDeclaration
);
639
N(SyntaxKind.
ClassDeclaration
);
730
N(SyntaxKind.
ClassDeclaration
);
816
N(SyntaxKind.
ClassDeclaration
);
920
N(SyntaxKind.
ClassDeclaration
);
1000
N(SyntaxKind.
ClassDeclaration
);
1094
N(SyntaxKind.
ClassDeclaration
);
1407
N(SyntaxKind.
ClassDeclaration
);
1747
N(SyntaxKind.
ClassDeclaration
);
1862
N(SyntaxKind.
ClassDeclaration
);
2047
N(SyntaxKind.
ClassDeclaration
);
2143
N(SyntaxKind.
ClassDeclaration
);
2226
N(SyntaxKind.
ClassDeclaration
);
2316
N(SyntaxKind.
ClassDeclaration
);
2413
N(SyntaxKind.
ClassDeclaration
);
2582
N(SyntaxKind.
ClassDeclaration
);
2672
N(SyntaxKind.
ClassDeclaration
);
2802
N(SyntaxKind.
ClassDeclaration
);
2904
N(SyntaxKind.
ClassDeclaration
);
Parsing\MemberDeclarationParsingTests.cs (37)
156
N(SyntaxKind.
ClassDeclaration
);
1887
N(SyntaxKind.
ClassDeclaration
);
1894
N(SyntaxKind.
ClassDeclaration
);
2090
N(SyntaxKind.
ClassDeclaration
);
2097
N(SyntaxKind.
ClassDeclaration
);
9176
N(SyntaxKind.
ClassDeclaration
);
9297
N(SyntaxKind.
ClassDeclaration
);
9368
N(SyntaxKind.
ClassDeclaration
);
9454
N(SyntaxKind.
ClassDeclaration
);
9504
N(SyntaxKind.
ClassDeclaration
);
9559
N(SyntaxKind.
ClassDeclaration
);
10179
N(SyntaxKind.
ClassDeclaration
);
10216
N(SyntaxKind.
ClassDeclaration
);
10385
N(SyntaxKind.
ClassDeclaration
);
10439
N(SyntaxKind.
ClassDeclaration
);
10471
[InlineData("class", SyntaxKind.
ClassDeclaration
, SyntaxKind.ClassKeyword)]
10554
[InlineData("class", SyntaxKind.
ClassDeclaration
, SyntaxKind.ClassKeyword)]
10657
[InlineData("class", SyntaxKind.
ClassDeclaration
, SyntaxKind.ClassKeyword)]
10757
N(SyntaxKind.
ClassDeclaration
);
10772
[InlineData("class", SyntaxKind.
ClassDeclaration
, SyntaxKind.ClassKeyword)]
10882
N(SyntaxKind.
ClassDeclaration
);
10928
[InlineData("class", SyntaxKind.
ClassDeclaration
, SyntaxKind.ClassKeyword)]
11057
N(SyntaxKind.
ClassDeclaration
);
11103
[InlineData("class", SyntaxKind.
ClassDeclaration
, SyntaxKind.ClassKeyword)]
11231
N(SyntaxKind.
ClassDeclaration
);
11276
[InlineData("class", SyntaxKind.
ClassDeclaration
, SyntaxKind.ClassKeyword)]
11407
[InlineData("class", SyntaxKind.
ClassDeclaration
, SyntaxKind.ClassKeyword)]
11466
N(SyntaxKind.
ClassDeclaration
);
11550
N(SyntaxKind.
ClassDeclaration
);
11638
N(SyntaxKind.
ClassDeclaration
);
11935
N(SyntaxKind.
ClassDeclaration
);
11994
N(SyntaxKind.
ClassDeclaration
);
12056
N(SyntaxKind.
ClassDeclaration
);
12259
N(SyntaxKind.
ClassDeclaration
);
12284
N(SyntaxKind.
ClassDeclaration
);
12350
N(SyntaxKind.
ClassDeclaration
);
12375
N(SyntaxKind.
ClassDeclaration
);
Parsing\NameParsingTests.cs (9)
837
N(SyntaxKind.
ClassDeclaration
);
935
N(SyntaxKind.
ClassDeclaration
);
1041
N(SyntaxKind.
ClassDeclaration
);
1057
N(SyntaxKind.
ClassDeclaration
);
1166
N(SyntaxKind.
ClassDeclaration
);
1182
N(SyntaxKind.
ClassDeclaration
);
1295
N(SyntaxKind.
ClassDeclaration
);
1311
N(SyntaxKind.
ClassDeclaration
);
1332
N(SyntaxKind.
ClassDeclaration
);
Parsing\NullableParsingTests.cs (2)
48
N(SyntaxKind.
ClassDeclaration
);
1331
N(SyntaxKind.
ClassDeclaration
);
Parsing\ParserErrorMessageTests.cs (1)
5714
N(SyntaxKind.
ClassDeclaration
);
Parsing\ParserRegressionTests.cs (6)
266
N(SyntaxKind.
ClassDeclaration
);
359
N(SyntaxKind.
ClassDeclaration
);
493
N(SyntaxKind.
ClassDeclaration
);
583
N(SyntaxKind.
ClassDeclaration
);
673
N(SyntaxKind.
ClassDeclaration
);
761
N(SyntaxKind.
ClassDeclaration
);
Parsing\ParsingErrorRecoveryTests.cs (249)
91
N(SyntaxKind.
ClassDeclaration
);
307
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
500
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
641
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
656
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
670
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
685
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
700
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
716
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
733
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
751
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
860
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
861
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[1].Kind());
877
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
878
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[1].Kind());
893
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
894
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[1].Kind());
910
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
911
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[1].Kind());
927
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
942
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
956
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
971
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
986
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1000
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1013
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1027
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1040
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1054
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1068
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1081
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1095
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1108
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1122
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1138
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1153
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1167
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1181
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1197
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1212
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1226
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1240
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1257
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1273
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1288
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1302
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1317
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1332
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1346
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1361
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1376
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1390
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1391
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[1].Kind());
1408
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1409
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[1].Kind());
1425
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1426
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[1].Kind());
1443
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1458
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1472
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1487
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1502
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1516
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1531
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1549
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1567
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1586
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1606
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1625
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1645
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1662
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1679
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1697
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1715
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1734
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1752
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1772
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1789
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1806
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1824
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1841
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1860
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1879
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1899
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1918
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1939
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1957
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1974
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
1991
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
2023
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
2062
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
2082
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
2101
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
2122
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
2140
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
2171
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
2189
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
2206
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
2225
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
2265
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
2286
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
2306
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
2328
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
2476
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[1].Kind());
2495
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[1].Kind());
2513
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[1].Kind());
2530
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[1].Kind());
2546
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[1].Kind());
2563
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[1].Kind());
2579
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[1].Kind());
2594
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[1].Kind());
2827
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[1].Kind());
2842
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[1].Kind());
2857
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[1].Kind());
2871
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
2888
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
2904
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
2922
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
2938
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
2954
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
2970
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
2986
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3002
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3020
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3038
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3061
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3085
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3109
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3131
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3154
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3177
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3200
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3223
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3246
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3267
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3288
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3309
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3330
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3351
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3372
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3394
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3417
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3440
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3463
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3487
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3510
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3533
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3576
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3601
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3626
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3652
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3676
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3700
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3725
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3749
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3773
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3797
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3822
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3846
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3870
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3895
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3921
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3947
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3974
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
3999
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4024
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4050
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4071
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4116
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4137
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4158
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4179
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4201
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4223
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4246
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4269
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4290
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4313
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4336
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4362
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4384
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4410
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4437
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4458
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4481
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4506
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4531
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4553
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4578
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4604
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4631
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4658
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4686
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4713
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4740
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4769
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4798
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4828
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4857
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4886
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4913
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4940
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4967
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
4995
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
5022
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
5050
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
5076
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
5106
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
5135
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
5165
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
5196
N(SyntaxKind.
ClassDeclaration
);
5308
N(SyntaxKind.
ClassDeclaration
);
5455
N(SyntaxKind.
ClassDeclaration
);
5568
N(SyntaxKind.
ClassDeclaration
);
5705
N(SyntaxKind.
ClassDeclaration
);
5818
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
5857
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
5886
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
5915
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
5945
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
5974
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
6008
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
6035
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
6062
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
6089
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
6117
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
6144
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
6174
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
6205
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
6233
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
6280
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
6314
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
6344
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
6402
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
6426
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
6451
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
6486
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
6490
Assert.Equal(SyntaxKind.
ClassDeclaration
, agg.Members[1].Kind());
6525
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
6529
Assert.Equal(SyntaxKind.
ClassDeclaration
, agg.Members[1].Kind());
6627
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
6672
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
6716
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
6765
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
6813
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
6860
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
6912
Assert.Equal(SyntaxKind.
ClassDeclaration
, file.Members[0].Kind());
6938
Assert.Equal(SyntaxKind.
ClassDeclaration
, item1.Members[1].Kind());
7280
Assert.Equal(SyntaxKind.
ClassDeclaration
, classDecl.Kind());
Parsing\PatternParsingTests.cs (1)
179
N(SyntaxKind.
ClassDeclaration
);
Parsing\RecordParsing.cs (11)
40
N(SyntaxKind.
ClassDeclaration
);
600
N(SyntaxKind.
ClassDeclaration
);
640
N(SyntaxKind.
ClassDeclaration
);
785
N(SyntaxKind.
ClassDeclaration
);
855
N(SyntaxKind.
ClassDeclaration
);
1062
N(SyntaxKind.
ClassDeclaration
);
1136
N(SyntaxKind.
ClassDeclaration
);
1261
N(SyntaxKind.
ClassDeclaration
);
1377
N(SyntaxKind.
ClassDeclaration
);
2263
N(SyntaxKind.
ClassDeclaration
);
2983
N(SyntaxKind.
ClassDeclaration
);
Parsing\RefFieldParsingTests.cs (1)
655
N(SyntaxKind.
ClassDeclaration
);
Parsing\ScriptParsingTests.cs (5)
1006
N(SyntaxKind.
ClassDeclaration
);
1027
N(SyntaxKind.
ClassDeclaration
);
1055
N(SyntaxKind.
ClassDeclaration
);
1084
N(SyntaxKind.
ClassDeclaration
);
2381
N(SyntaxKind.
ClassDeclaration
);
Parsing\SeparatedSyntaxListParsingTests.cs (4)
63
N(SyntaxKind.
ClassDeclaration
);
360
N(SyntaxKind.
ClassDeclaration
);
630
N(SyntaxKind.
ClassDeclaration
);
801
N(SyntaxKind.
ClassDeclaration
);
Parsing\SingleLineDeclarationParsingTests.cs (2)
567
N(SyntaxKind.
ClassDeclaration
);
605
N(SyntaxKind.
ClassDeclaration
);
Parsing\StatementAttributeParsingTests.cs (86)
33
N(SyntaxKind.
ClassDeclaration
);
99
N(SyntaxKind.
ClassDeclaration
);
166
N(SyntaxKind.
ClassDeclaration
);
254
N(SyntaxKind.
ClassDeclaration
);
349
N(SyntaxKind.
ClassDeclaration
);
434
N(SyntaxKind.
ClassDeclaration
);
515
N(SyntaxKind.
ClassDeclaration
);
581
N(SyntaxKind.
ClassDeclaration
);
650
N(SyntaxKind.
ClassDeclaration
);
724
N(SyntaxKind.
ClassDeclaration
);
801
N(SyntaxKind.
ClassDeclaration
);
876
N(SyntaxKind.
ClassDeclaration
);
951
N(SyntaxKind.
ClassDeclaration
);
1029
N(SyntaxKind.
ClassDeclaration
);
1103
N(SyntaxKind.
ClassDeclaration
);
1205
N(SyntaxKind.
ClassDeclaration
);
1339
N(SyntaxKind.
ClassDeclaration
);
1415
N(SyntaxKind.
ClassDeclaration
);
1501
N(SyntaxKind.
ClassDeclaration
);
1585
N(SyntaxKind.
ClassDeclaration
);
1704
N(SyntaxKind.
ClassDeclaration
);
1774
N(SyntaxKind.
ClassDeclaration
);
1844
N(SyntaxKind.
ClassDeclaration
);
1914
N(SyntaxKind.
ClassDeclaration
);
1999
N(SyntaxKind.
ClassDeclaration
);
2096
N(SyntaxKind.
ClassDeclaration
);
2172
N(SyntaxKind.
ClassDeclaration
);
2248
N(SyntaxKind.
ClassDeclaration
);
2328
N(SyntaxKind.
ClassDeclaration
);
2425
N(SyntaxKind.
ClassDeclaration
);
2553
N(SyntaxKind.
ClassDeclaration
);
2657
N(SyntaxKind.
ClassDeclaration
);
2736
N(SyntaxKind.
ClassDeclaration
);
2821
N(SyntaxKind.
ClassDeclaration
);
2924
N(SyntaxKind.
ClassDeclaration
);
3009
N(SyntaxKind.
ClassDeclaration
);
3112
N(SyntaxKind.
ClassDeclaration
);
3191
N(SyntaxKind.
ClassDeclaration
);
3270
N(SyntaxKind.
ClassDeclaration
);
3353
N(SyntaxKind.
ClassDeclaration
);
3433
N(SyntaxKind.
ClassDeclaration
);
3515
N(SyntaxKind.
ClassDeclaration
);
3597
N(SyntaxKind.
ClassDeclaration
);
3687
N(SyntaxKind.
ClassDeclaration
);
3768
N(SyntaxKind.
ClassDeclaration
);
3842
N(SyntaxKind.
ClassDeclaration
);
3935
N(SyntaxKind.
ClassDeclaration
);
4018
N(SyntaxKind.
ClassDeclaration
);
4103
N(SyntaxKind.
ClassDeclaration
);
4188
N(SyntaxKind.
ClassDeclaration
);
4270
N(SyntaxKind.
ClassDeclaration
);
4347
N(SyntaxKind.
ClassDeclaration
);
4435
N(SyntaxKind.
ClassDeclaration
);
4524
N(SyntaxKind.
ClassDeclaration
);
4621
N(SyntaxKind.
ClassDeclaration
);
4699
N(SyntaxKind.
ClassDeclaration
);
4774
N(SyntaxKind.
ClassDeclaration
);
4869
N(SyntaxKind.
ClassDeclaration
);
4968
N(SyntaxKind.
ClassDeclaration
);
5045
N(SyntaxKind.
ClassDeclaration
);
5117
N(SyntaxKind.
ClassDeclaration
);
5205
N(SyntaxKind.
ClassDeclaration
);
5283
N(SyntaxKind.
ClassDeclaration
);
5369
N(SyntaxKind.
ClassDeclaration
);
5446
N(SyntaxKind.
ClassDeclaration
);
5531
N(SyntaxKind.
ClassDeclaration
);
5640
N(SyntaxKind.
ClassDeclaration
);
5740
N(SyntaxKind.
ClassDeclaration
);
5846
N(SyntaxKind.
ClassDeclaration
);
5945
N(SyntaxKind.
ClassDeclaration
);
6041
N(SyntaxKind.
ClassDeclaration
);
6133
N(SyntaxKind.
ClassDeclaration
);
6211
N(SyntaxKind.
ClassDeclaration
);
6303
N(SyntaxKind.
ClassDeclaration
);
6381
N(SyntaxKind.
ClassDeclaration
);
6460
N(SyntaxKind.
ClassDeclaration
);
6547
N(SyntaxKind.
ClassDeclaration
);
6652
N(SyntaxKind.
ClassDeclaration
);
6791
N(SyntaxKind.
ClassDeclaration
);
6885
N(SyntaxKind.
ClassDeclaration
);
6971
N(SyntaxKind.
ClassDeclaration
);
7054
N(SyntaxKind.
ClassDeclaration
);
7145
N(SyntaxKind.
ClassDeclaration
);
7246
N(SyntaxKind.
ClassDeclaration
);
7354
N(SyntaxKind.
ClassDeclaration
);
7467
N(SyntaxKind.
ClassDeclaration
);
Parsing\StatementParsingTests.cs (4)
2699
N(SyntaxKind.
ClassDeclaration
);
4304
N(SyntaxKind.
ClassDeclaration
);
4441
N(SyntaxKind.
ClassDeclaration
);
4605
N(SyntaxKind.
ClassDeclaration
);
Parsing\SuppressNullableWarningExpressionParsingTests.cs (1)
37
N(SyntaxKind.
ClassDeclaration
);
Parsing\SwitchExpressionParsingTests.cs (20)
494
N(SyntaxKind.
ClassDeclaration
);
579
N(SyntaxKind.
ClassDeclaration
);
668
N(SyntaxKind.
ClassDeclaration
);
751
N(SyntaxKind.
ClassDeclaration
);
830
N(SyntaxKind.
ClassDeclaration
);
918
N(SyntaxKind.
ClassDeclaration
);
1013
N(SyntaxKind.
ClassDeclaration
);
1095
N(SyntaxKind.
ClassDeclaration
);
1174
N(SyntaxKind.
ClassDeclaration
);
1268
N(SyntaxKind.
ClassDeclaration
);
1375
N(SyntaxKind.
ClassDeclaration
);
1470
N(SyntaxKind.
ClassDeclaration
);
1549
N(SyntaxKind.
ClassDeclaration
);
1632
N(SyntaxKind.
ClassDeclaration
);
1709
N(SyntaxKind.
ClassDeclaration
);
1783
N(SyntaxKind.
ClassDeclaration
);
1859
N(SyntaxKind.
ClassDeclaration
);
1935
N(SyntaxKind.
ClassDeclaration
);
2015
N(SyntaxKind.
ClassDeclaration
);
2101
N(SyntaxKind.
ClassDeclaration
);
Parsing\TopLevelStatementsParsingTests.cs (9)
182
N(SyntaxKind.
ClassDeclaration
);
277
N(SyntaxKind.
ClassDeclaration
);
370
N(SyntaxKind.
ClassDeclaration
);
450
N(SyntaxKind.
ClassDeclaration
);
616
N(SyntaxKind.
ClassDeclaration
);
680
N(SyntaxKind.
ClassDeclaration
);
819
N(SyntaxKind.
ClassDeclaration
);
1245
N(SyntaxKind.
ClassDeclaration
);
3246
N(SyntaxKind.
ClassDeclaration
);
Parsing\TypeArgumentListParsingTests.cs (21)
41
N(SyntaxKind.
ClassDeclaration
);
157
N(SyntaxKind.
ClassDeclaration
);
285
N(SyntaxKind.
ClassDeclaration
);
418
N(SyntaxKind.
ClassDeclaration
);
566
N(SyntaxKind.
ClassDeclaration
);
710
N(SyntaxKind.
ClassDeclaration
);
1026
N(SyntaxKind.
ClassDeclaration
);
1165
N(SyntaxKind.
ClassDeclaration
);
1307
N(SyntaxKind.
ClassDeclaration
);
1440
N(SyntaxKind.
ClassDeclaration
);
1560
N(SyntaxKind.
ClassDeclaration
);
1664
N(SyntaxKind.
ClassDeclaration
);
1765
N(SyntaxKind.
ClassDeclaration
);
1887
N(SyntaxKind.
ClassDeclaration
);
2020
N(SyntaxKind.
ClassDeclaration
);
2154
N(SyntaxKind.
ClassDeclaration
);
2285
N(SyntaxKind.
ClassDeclaration
);
2386
N(SyntaxKind.
ClassDeclaration
);
2495
N(SyntaxKind.
ClassDeclaration
);
2597
N(SyntaxKind.
ClassDeclaration
);
2715
N(SyntaxKind.
ClassDeclaration
);
Parsing\UsingDirectiveParsingTests.cs (17)
1645
N(SyntaxKind.
ClassDeclaration
);
1751
N(SyntaxKind.
ClassDeclaration
);
2125
N(SyntaxKind.
ClassDeclaration
);
2199
N(SyntaxKind.
ClassDeclaration
);
2276
N(SyntaxKind.
ClassDeclaration
);
2353
N(SyntaxKind.
ClassDeclaration
);
2429
N(SyntaxKind.
ClassDeclaration
);
2512
N(SyntaxKind.
ClassDeclaration
);
2607
N(SyntaxKind.
ClassDeclaration
);
2737
N(SyntaxKind.
ClassDeclaration
);
2861
N(SyntaxKind.
ClassDeclaration
);
2979
N(SyntaxKind.
ClassDeclaration
);
3077
N(SyntaxKind.
ClassDeclaration
);
3678
N(SyntaxKind.
ClassDeclaration
);
3725
N(SyntaxKind.
ClassDeclaration
);
3840
N(SyntaxKind.
ClassDeclaration
);
3887
N(SyntaxKind.
ClassDeclaration
);
Parsing\ValueTupleTests.cs (7)
38
N(SyntaxKind.
ClassDeclaration
);
121
N(SyntaxKind.
ClassDeclaration
);
233
N(SyntaxKind.
ClassDeclaration
);
337
N(SyntaxKind.
ClassDeclaration
);
445
N(SyntaxKind.
ClassDeclaration
);
517
N(SyntaxKind.
ClassDeclaration
);
624
N(SyntaxKind.
ClassDeclaration
);
Microsoft.CodeAnalysis.CSharp.Workspaces (27)
Classification\ClassificationHelpers.cs (2)
289
SyntaxKind.
ClassDeclaration
=> ClassificationTypeNames.ClassName,
340
SyntaxKind.
ClassDeclaration
=> ClassificationTypeNames.ClassName,
CodeGeneration\CSharpSyntaxGenerator.cs (4)
141
case SyntaxKind.
ClassDeclaration
:
714
var kind = isRecord ? SyntaxKind.RecordDeclaration : SyntaxKind.
ClassDeclaration
;
1543
case SyntaxKind.
ClassDeclaration
:
2263
case SyntaxKind.
ClassDeclaration
:
FindSymbols\CSharpDeclaredSymbolInfoFactoryService.cs (2)
231
SyntaxKind.
ClassDeclaration
=> DeclaredSymbolInfoKind.Class,
619
case SyntaxKind.
ClassDeclaration
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\MemberDeclarationSyntaxExtensions.cs (3)
35
case SyntaxKind.
ClassDeclaration
:
74
case SyntaxKind.
ClassDeclaration
:
96
case SyntaxKind.
ClassDeclaration
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (2)
30
case SyntaxKind.
ClassDeclaration
:
157
case SyntaxKind.
ClassDeclaration
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
153
public int ClassDeclaration => (int)SyntaxKind.
ClassDeclaration
;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationHelpers.cs (1)
232
SyntaxKind.
ClassDeclaration
=> CodeGenerationDestination.ClassType,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpDeclarationComparer.cs (3)
30
{ SyntaxKind.
ClassDeclaration
, 13 },
138
case SyntaxKind.
ClassDeclaration
:
352
else if (node.Kind() is SyntaxKind.StructDeclaration or SyntaxKind.
ClassDeclaration
or SyntaxKind.RecordDeclaration or SyntaxKind.RecordStructDeclaration)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\NamedTypeGenerator.cs (2)
172
case SyntaxKind.
ClassDeclaration
:
210
namedType.TypeKind == TypeKind.Interface ? SyntaxKind.InterfaceDeclaration : SyntaxKind.
ClassDeclaration
;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\CSharpSyntaxContext.cs (1)
231
targetToken.Parent.Parent is (kind: SyntaxKind.
ClassDeclaration
or SyntaxKind.RecordDeclaration);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
1217
typeDecl.IsKind(SyntaxKind.
ClassDeclaration
) &&
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Utilities\SyntaxKindSet.cs (5)
72
SyntaxKind.
ClassDeclaration
,
82
SyntaxKind.
ClassDeclaration
,
91
SyntaxKind.
ClassDeclaration
,
97
SyntaxKind.
ClassDeclaration
,
103
SyntaxKind.
ClassDeclaration
,
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\CommonDiagnosticAnalyzers.cs (1)
2937
context.RegisterSyntaxNodeAction(context => HandleCallback(context.Node.GetLocation(), context.Compilation, context.ReportDiagnostic, context.CancellationToken), CodeAnalysis.CSharp.SyntaxKind.
ClassDeclaration
);
Microsoft.CodeAnalysis.Workspaces.UnitTests (9)
SyntaxPathTests.cs (9)
196
Assert.Equal(SyntaxKind.
ClassDeclaration
, n1.Kind());
198
Assert.Equal(SyntaxKind.
ClassDeclaration
, n2.Kind());
261
Assert.Equal(SyntaxKind.
ClassDeclaration
, n1.Kind());
292
Assert.Equal(SyntaxKind.
ClassDeclaration
, n1.Kind());
320
Assert.Equal(SyntaxKind.
ClassDeclaration
, n1.Kind());
322
Assert.Equal(SyntaxKind.
ClassDeclaration
, n2.Kind());
349
Assert.Equal(SyntaxKind.
ClassDeclaration
, n1.Kind());
388
Assert.Equal(SyntaxKind.
ClassDeclaration
, n1.Kind());
406
Assert.Equal(SyntaxKind.
ClassDeclaration
, node.Kind());
Microsoft.Extensions.Logging.Generators (1)
LoggerMessageGenerator.Parser.cs (1)
547
kind == SyntaxKind.
ClassDeclaration
||
Microsoft.Extensions.Options.SourceGeneration (2)
Parser.cs (2)
162
kind == SyntaxKind.
ClassDeclaration
||
180
SyntaxKind.
ClassDeclaration
=> "class",
Microsoft.Gen.Logging (1)
Parsing\Parser.cs (1)
333
kind == SyntaxKind.
ClassDeclaration
||
Microsoft.Gen.Metrics (1)
Parser.cs (1)
150
kind is SyntaxKind.
ClassDeclaration
or
Microsoft.Gen.MetricsReports (1)
src\Generators\Microsoft.Gen.Metrics\Parser.cs (1)
150
kind is SyntaxKind.
ClassDeclaration
or
Microsoft.ML.InternalCodeAnalyzer (1)
NameAnalyzer.cs (1)
81
context.RegisterSyntaxNodeAction(AnalyzeClass, SyntaxKind.
ClassDeclaration
);
Microsoft.VisualStudio.LanguageServices.CSharp (21)
CodeModel\CSharpCodeModelService.cs (17)
93
case SyntaxKind.
ClassDeclaration
:
126
case SyntaxKind.
ClassDeclaration
:
149
case SyntaxKind.
ClassDeclaration
:
544
case SyntaxKind.
ClassDeclaration
:
598
case SyntaxKind.
ClassDeclaration
:
803
case SyntaxKind.
ClassDeclaration
:
882
case SyntaxKind.
ClassDeclaration
:
3495
case SyntaxKind.
ClassDeclaration
:
3526
is SyntaxKind.
ClassDeclaration
3709
if (node.IsKind(SyntaxKind.
ClassDeclaration
))
3723
if (node.Kind() is not (SyntaxKind.
ClassDeclaration
or SyntaxKind.InterfaceDeclaration))
3734
if (typeDeclaration.IsKind(SyntaxKind.
ClassDeclaration
))
3756
if (node.Kind() is not (SyntaxKind.
ClassDeclaration
or SyntaxKind.InterfaceDeclaration))
3773
if (!isFirst && node.IsKind(SyntaxKind.
ClassDeclaration
))
3806
if (node.Kind() is SyntaxKind.
ClassDeclaration
or SyntaxKind.StructDeclaration)
3816
if (node.Kind() is not (SyntaxKind.
ClassDeclaration
or SyntaxKind.StructDeclaration))
3851
if (node.Kind() is not (SyntaxKind.
ClassDeclaration
or SyntaxKind.StructDeclaration))
CodeModel\CSharpCodeModelService.NodeLocator.cs (2)
43
case SyntaxKind.
ClassDeclaration
:
94
case SyntaxKind.
ClassDeclaration
:
CodeModel\CSharpCodeModelService.NodeNameGenerator.cs (1)
171
case SyntaxKind.
ClassDeclaration
:
Progression\CSharpProgressionLanguageService.cs (1)
63
if (node.Kind() is SyntaxKind.
ClassDeclaration
or
System.Text.Json.SourceGeneration (1)
Helpers\RoslynExtensions.cs (1)
262
case SyntaxKind.
ClassDeclaration
:
System.Text.RegularExpressions.Generator (1)
RegexGenerator.Parser.cs (1)
244
SyntaxKind.
ClassDeclaration
or