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