250 references to StructDeclaration
Microsoft.CodeAnalysis.CSharp (23)
Binder\Binder_Statements.cs (1)
3677Debug.Assert(typeDecl.Kind() is SyntaxKind.RecordDeclaration or SyntaxKind.ClassDeclaration or SyntaxKind.RecordStructDeclaration or SyntaxKind.StructDeclaration);
Compilation\SyntaxTreeSemanticModel.cs (1)
1654case SyntaxKind.StructDeclaration:
Declarations\DeclarationKind.cs (1)
37case SyntaxKind.StructDeclaration: return DeclarationKind.Struct;
Declarations\DeclarationTreeBuilder.cs (2)
731else if (node.Kind() is SyntaxKind.ClassDeclaration or SyntaxKind.StructDeclaration or SyntaxKind.InterfaceDeclaration) 1087case SyntaxKind.StructDeclaration:
Declarations\MergedTypeDeclaration.cs (1)
77case SyntaxKind.StructDeclaration:
Parser\LanguageParser.cs (4)
792case SyntaxKind.StructDeclaration: 2386case SyntaxKind.StructDeclaration: 2425const SyntaxKind parentKind = SyntaxKind.StructDeclaration; 5095case SyntaxKind.StructDeclaration:
src\Compilers\CSharp\CSharpAnalyzerDriver\CSharpDeclarationComputer.cs (1)
102case SyntaxKind.StructDeclaration:
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 (2)
3544case SyntaxKind.StructDeclaration: 4129&& type.Kind() is (SyntaxKind.RecordStructDeclaration or SyntaxKind.StructDeclaration));
Symbols\Source\SourceNamedTypeSymbol.cs (3)
119case SyntaxKind.StructDeclaration: 160case SyntaxKind.StructDeclaration: 469case SyntaxKind.StructDeclaration:
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)
419case SyntaxKind.StructDeclaration:
Syntax\SyntaxKindFacts.cs (2)
380case SyntaxKind.StructDeclaration: 838return SyntaxKind.StructDeclaration;
Syntax\TypeDeclarationSyntax.cs (2)
73case SyntaxKind.StructDeclaration: 125case SyntaxKind.StructDeclaration:
Microsoft.CodeAnalysis.CSharp.CodeStyle (9)
src\Analyzers\CSharp\Analyzers\AddAccessibilityModifiers\CSharpAddAccessibilityModifiers.cs (1)
70case SyntaxKind.StructDeclaration:
src\Analyzers\CSharp\Analyzers\AddAccessibilityModifiers\CSharpAddAccessibilityModifiersDiagnosticAnalyzer.cs (1)
49SyntaxKind.StructDeclaration or
src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryNullableDirective\CSharpRemoveUnnecessaryNullableDirectiveDiagnosticAnalyzer.cs (1)
67SyntaxKind.StructDeclaration or
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\MemberDeclarationSyntaxExtensions.cs (3)
38case SyntaxKind.StructDeclaration: 77case SyntaxKind.StructDeclaration: 99case SyntaxKind.StructDeclaration:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (2)
32case SyntaxKind.StructDeclaration: 160case SyntaxKind.StructDeclaration:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
157public int? StructDeclaration => (int)SyntaxKind.StructDeclaration;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (11)
src\Analyzers\CSharp\CodeFixes\ImplementInterface\CSharpImplementInterfaceService.cs (1)
53SyntaxKind.StructDeclaration or
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationHelpers.cs (1)
238SyntaxKind.StructDeclaration => CodeGenerationDestination.StructType,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpDeclarationComparer.cs (3)
29{ SyntaxKind.StructDeclaration, 12 }, 136case SyntaxKind.StructDeclaration: 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)
169case SyntaxKind.StructDeclaration: 209var kind = namedType.TypeKind == TypeKind.Struct ? SyntaxKind.StructDeclaration :
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Utilities\SyntaxKindSet.cs (4)
74SyntaxKind.StructDeclaration, 84SyntaxKind.StructDeclaration, 105SyntaxKind.StructDeclaration, 111SyntaxKind.StructDeclaration,
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
CompleteStatement\CompleteStatementCommandHandler.cs (1)
375case SyntaxKind.StructDeclaration:
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (3)
Semantics\PrimaryConstructorTests.cs (3)
5261context.RegisterSyntaxNodeAction(Handle6, SyntaxKind.StructDeclaration); 5344Assert.Equal(SyntaxKind.StructDeclaration, record.Kind()); 5981context.RegisterSyntaxNodeAction(Handle6, SyntaxKind.StructDeclaration);
Microsoft.CodeAnalysis.CSharp.Features (23)
ChangeSignature\CSharpChangeSignatureService.cs (3)
52SyntaxKind.StructDeclaration, 105SyntaxKind.StructDeclaration, 307or SyntaxKind.StructDeclaration
Completion\CompletionProviders\ExplicitInterfaceTypeCompletionProvider.cs (1)
151=> node.Kind() is SyntaxKind.ClassDeclaration or SyntaxKind.StructDeclaration or
Completion\KeywordRecommenders\FieldKeywordRecommender.cs (1)
18SyntaxKind.StructDeclaration,
Completion\KeywordRecommenders\MethodKeywordRecommender.cs (1)
30or TypeDeclarationSyntax(kind: SyntaxKind.ClassDeclaration or SyntaxKind.StructDeclaration) { ParameterList: not null }
Completion\KeywordRecommenders\ReadOnlyKeywordRecommender.cs (1)
63type.Kind() is SyntaxKind.StructDeclaration or SyntaxKind.RecordStructDeclaration &&
Diagnostics\Analyzers\CSharpSimplifyTypeNamesDiagnosticAnalyzer.cs (1)
44SyntaxKind.StructDeclaration or
DocumentationComments\CSharpDocumentationCommentSnippetService.cs (1)
56case SyntaxKind.StructDeclaration:
EditAndContinue\BreakpointSpans.cs (1)
185case SyntaxKind.StructDeclaration:
EditAndContinue\SyntaxComparer.cs (3)
324case SyntaxKind.StructDeclaration: 589case SyntaxKind.StructDeclaration: 1426case SyntaxKind.StructDeclaration:
GenerateType\CSharpGenerateTypeService.cs (2)
106SyntaxKind.StructDeclaration or 669if (baseList.Parent.Kind() is SyntaxKind.InterfaceDeclaration or SyntaxKind.StructDeclaration or SyntaxKind.RecordStructDeclaration)
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)
170case SyntaxKind.StructDeclaration:
src\Analyzers\CSharp\Analyzers\AddAccessibilityModifiers\CSharpAddAccessibilityModifiers.cs (1)
70case SyntaxKind.StructDeclaration:
src\Analyzers\CSharp\Analyzers\AddAccessibilityModifiers\CSharpAddAccessibilityModifiersDiagnosticAnalyzer.cs (1)
49SyntaxKind.StructDeclaration or
src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryNullableDirective\CSharpRemoveUnnecessaryNullableDirectiveDiagnosticAnalyzer.cs (1)
67SyntaxKind.StructDeclaration or
src\Analyzers\CSharp\CodeFixes\ImplementInterface\CSharpImplementInterfaceService.cs (1)
53SyntaxKind.StructDeclaration or
src\Compilers\CSharp\CSharpAnalyzerDriver\CSharpDeclarationComputer.cs (1)
102case SyntaxKind.StructDeclaration:
src\Compilers\CSharp\Portable\Syntax\LambdaUtilities.cs (1)
419case SyntaxKind.StructDeclaration:
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (7)
SymbolDisplay\SymbolDisplayTests.cs (7)
6867var declarations = semanticModel.SyntaxTree.GetRoot().DescendantNodes().Where(n => n.Kind() == SyntaxKind.StructDeclaration).Cast<BaseTypeDeclarationSyntax>().ToArray(); 6905var declarations = semanticModel.SyntaxTree.GetRoot().DescendantNodes().Where(n => n.Kind() == SyntaxKind.StructDeclaration).Cast<BaseTypeDeclarationSyntax>().ToArray(); 6943var declarations = semanticModel.SyntaxTree.GetRoot().DescendantNodes().Where(n => n.Kind() == SyntaxKind.StructDeclaration).Cast<BaseTypeDeclarationSyntax>().ToArray(); 7003var declaration = (BaseTypeDeclarationSyntax)semanticModel.SyntaxTree.GetRoot().DescendantNodes().Single(n => n.Kind() == SyntaxKind.StructDeclaration); 7075var declaration = (BaseTypeDeclarationSyntax)semanticModel.SyntaxTree.GetRoot().DescendantNodes().Single(n => n.Kind() == SyntaxKind.StructDeclaration); 7335var declaration = (BaseTypeDeclarationSyntax)semanticModel.SyntaxTree.GetRoot().DescendantNodes().Single(n => n.Kind() == SyntaxKind.StructDeclaration); 7488var declaration = (BaseTypeDeclarationSyntax)semanticModel.SyntaxTree.GetRoot().DescendantNodes().Single(n => n.Kind() == SyntaxKind.StructDeclaration);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (122)
IncrementalParsing\IncrementalParsingTests.cs (1)
211SyntaxKind.StructDeclaration,
Parsing\DeclarationParsingTests.cs (45)
1690Assert.Equal(SyntaxKind.StructDeclaration, file.Members[0].Kind()); 2793Assert.Equal(SyntaxKind.StructDeclaration, file.Members[0].Kind()); 2840Assert.Equal(SyntaxKind.StructDeclaration, file.Members[0].Kind()); 2890Assert.Equal(SyntaxKind.StructDeclaration, file.Members[0].Kind()); 2931Assert.Equal(SyntaxKind.StructDeclaration, file.Members[0].Kind()); 9319N(@struct ? SyntaxKind.StructDeclaration : SyntaxKind.ClassDeclaration); 9349N(@struct ? SyntaxKind.StructDeclaration : SyntaxKind.ClassDeclaration); 9371[InlineDataAttribute(SyntaxKind.StructDeclaration, SyntaxKind.StructKeyword)] 9395[InlineDataAttribute(SyntaxKind.StructDeclaration, SyntaxKind.StructKeyword)] 9427[InlineDataAttribute(SyntaxKind.StructDeclaration, SyntaxKind.StructKeyword)] 9464[InlineDataAttribute(SyntaxKind.StructDeclaration, SyntaxKind.StructKeyword)] 9500[InlineDataAttribute(SyntaxKind.StructDeclaration, SyntaxKind.StructKeyword)] 9535[InlineDataAttribute(SyntaxKind.StructDeclaration, SyntaxKind.StructKeyword)] 9577[InlineDataAttribute(SyntaxKind.StructDeclaration, SyntaxKind.StructKeyword)] 9616[InlineDataAttribute(SyntaxKind.StructDeclaration, SyntaxKind.StructKeyword)] 9671[InlineDataAttribute(SyntaxKind.StructDeclaration, SyntaxKind.StructKeyword)] 9719[InlineDataAttribute(SyntaxKind.StructDeclaration, SyntaxKind.StructKeyword)] 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 (18)
1983N(SyntaxKind.StructDeclaration); 2058N(SyntaxKind.StructDeclaration); 2066N(SyntaxKind.StructDeclaration); 2115N(SyntaxKind.StructDeclaration); 2175N(SyntaxKind.StructDeclaration); 2194N(SyntaxKind.StructDeclaration); 2276N(SyntaxKind.StructDeclaration); 2370N(SyntaxKind.StructDeclaration); 2487N(SyntaxKind.StructDeclaration); 2594N(SyntaxKind.StructDeclaration); 2711N(SyntaxKind.StructDeclaration); 2827N(SyntaxKind.StructDeclaration); 3703N(SyntaxKind.StructDeclaration); 3812N(SyntaxKind.StructDeclaration); 4007N(SyntaxKind.StructDeclaration); 4164N(SyntaxKind.StructDeclaration); 4181N(SyntaxKind.StructDeclaration); 4199N(SyntaxKind.StructDeclaration);
Parsing\DeclarationScopeParsingTests.cs (18)
11149N(SyntaxKind.StructDeclaration); 11168N(SyntaxKind.StructDeclaration); 11253N(SyntaxKind.StructDeclaration); 11545N(SyntaxKind.StructDeclaration); 11584N(SyntaxKind.StructDeclaration); 13543N(SyntaxKind.StructDeclaration); 13605N(SyntaxKind.StructDeclaration); 13675N(SyntaxKind.StructDeclaration); 13761N(SyntaxKind.StructDeclaration); 13874N(SyntaxKind.StructDeclaration); 13973N(SyntaxKind.StructDeclaration); 14032N(SyntaxKind.StructDeclaration); 14093N(SyntaxKind.StructDeclaration); 14161N(SyntaxKind.StructDeclaration); 14286N(SyntaxKind.StructDeclaration); 14369N(SyntaxKind.StructDeclaration); 14431N(SyntaxKind.StructDeclaration); 14499N(SyntaxKind.StructDeclaration);
Parsing\FileModifierParsingTests.cs (5)
311N(SyntaxKind.StructDeclaration); 374N(SyntaxKind.StructDeclaration); 437N(SyntaxKind.StructDeclaration); 1570N(SyntaxKind.StructDeclaration); 1834N(SyntaxKind.StructDeclaration);
Parsing\MemberDeclarationParsingTests.cs (8)
10472[InlineData("struct", SyntaxKind.StructDeclaration, SyntaxKind.StructKeyword)] 10555[InlineData("struct", SyntaxKind.StructDeclaration, SyntaxKind.StructKeyword)] 10658[InlineData("struct", SyntaxKind.StructDeclaration, SyntaxKind.StructKeyword)] 10773[InlineData("struct", SyntaxKind.StructDeclaration, SyntaxKind.StructKeyword)] 10929[InlineData("struct", SyntaxKind.StructDeclaration, SyntaxKind.StructKeyword)] 11104[InlineData("struct", SyntaxKind.StructDeclaration, SyntaxKind.StructKeyword)] 11277[InlineData("struct", SyntaxKind.StructDeclaration, SyntaxKind.StructKeyword)] 11408[InlineData("struct", SyntaxKind.StructDeclaration, SyntaxKind.StructKeyword)]
Parsing\RecordParsing.cs (8)
2788N(SyntaxKind.StructDeclaration); 3302N(SyntaxKind.StructDeclaration); 3322N(SyntaxKind.StructDeclaration); 3342N(SyntaxKind.StructDeclaration); 3777N(SyntaxKind.StructDeclaration); 3827N(SyntaxKind.StructDeclaration); 3975N(SyntaxKind.StructDeclaration); 4038N(SyntaxKind.StructDeclaration);
Parsing\RefFieldParsingTests.cs (11)
26N(SyntaxKind.StructDeclaration); 63N(SyntaxKind.StructDeclaration); 104N(SyntaxKind.StructDeclaration); 140N(SyntaxKind.StructDeclaration); 174N(SyntaxKind.StructDeclaration); 232N(SyntaxKind.StructDeclaration); 297N(SyntaxKind.StructDeclaration); 357N(SyntaxKind.StructDeclaration); 407N(SyntaxKind.StructDeclaration); 469N(SyntaxKind.StructDeclaration); 558N(SyntaxKind.StructDeclaration);
Parsing\ScriptParsingTests.cs (1)
2400N(SyntaxKind.StructDeclaration);
Parsing\TopLevelStatementsParsingTests.cs (4)
3094N(SyntaxKind.StructDeclaration); 3113N(SyntaxKind.StructDeclaration); 3127N(SyntaxKind.StructDeclaration); 3572N(SyntaxKind.StructDeclaration);
Parsing\TypeArgumentListParsingTests.cs (1)
866N(SyntaxKind.StructDeclaration);
Parsing\UsingDirectiveParsingTests.cs (2)
639N(SyntaxKind.StructDeclaration); 691N(SyntaxKind.StructDeclaration);
Microsoft.CodeAnalysis.CSharp.Workspaces (25)
Classification\ClassificationHelpers.cs (2)
293SyntaxKind.StructDeclaration => ClassificationTypeNames.StructName, 342SyntaxKind.StructDeclaration => ClassificationTypeNames.StructName,
CodeGeneration\CSharpSyntaxGenerator.cs (4)
142case SyntaxKind.StructDeclaration: 761var kind = isRecord ? SyntaxKind.RecordStructDeclaration : SyntaxKind.StructDeclaration; 1555case SyntaxKind.StructDeclaration: 2264case SyntaxKind.StructDeclaration:
FindSymbols\CSharpDeclaredSymbolInfoFactoryService.cs (2)
233SyntaxKind.StructDeclaration => DeclaredSymbolInfoKind.Struct, 621case SyntaxKind.StructDeclaration:
Simplification\Simplifiers\ExpressionSimplifier.cs (1)
395if (constructor == null || constructor.GetRequiredParent().Kind() is not (SyntaxKind.StructDeclaration or SyntaxKind.RecordStructDeclaration))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\MemberDeclarationSyntaxExtensions.cs (3)
38case SyntaxKind.StructDeclaration: 77case SyntaxKind.StructDeclaration: 99case SyntaxKind.StructDeclaration:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (2)
32case SyntaxKind.StructDeclaration: 160case SyntaxKind.StructDeclaration:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
157public int? StructDeclaration => (int)SyntaxKind.StructDeclaration;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationHelpers.cs (1)
238SyntaxKind.StructDeclaration => CodeGenerationDestination.StructType,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpDeclarationComparer.cs (3)
29{ SyntaxKind.StructDeclaration, 12 }, 136case SyntaxKind.StructDeclaration: 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)
169case SyntaxKind.StructDeclaration: 209var kind = namedType.TypeKind == TypeKind.Struct ? SyntaxKind.StructDeclaration :
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Utilities\SyntaxKindSet.cs (4)
74SyntaxKind.StructDeclaration, 84SyntaxKind.StructDeclaration, 105SyntaxKind.StructDeclaration, 111SyntaxKind.StructDeclaration,
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
SyntaxPathTests.cs (2)
351Assert.Equal(SyntaxKind.StructDeclaration, n2.Kind()); 390Assert.Equal(SyntaxKind.StructDeclaration, n2.Kind());
Microsoft.Extensions.Logging.Generators (1)
LoggerMessageGenerator.Parser.cs (1)
548kind == SyntaxKind.StructDeclaration ||
Microsoft.Extensions.Options.SourceGeneration (1)
Parser.cs (1)
163kind == SyntaxKind.StructDeclaration ||
Microsoft.Gen.Logging (1)
Parsing\Parser.cs (1)
334kind == SyntaxKind.StructDeclaration ||
Microsoft.Gen.Metrics (1)
Parser.cs (1)
151SyntaxKind.StructDeclaration or
Microsoft.Gen.MetricsReports (1)
src\Generators\Microsoft.Gen.Metrics\Parser.cs (1)
151SyntaxKind.StructDeclaration or
Microsoft.ML.InternalCodeAnalyzer (1)
NameAnalyzer.cs (1)
88context.RegisterSyntaxNodeAction(AnalyzeStruct, SyntaxKind.StructDeclaration);
Microsoft.VisualStudio.LanguageServices.CSharp (16)
CodeModel\CSharpCodeModelService.cs (12)
109case SyntaxKind.StructDeclaration: 239case SyntaxKind.StructDeclaration: 548case SyntaxKind.StructDeclaration: 602case SyntaxKind.StructDeclaration: 805case SyntaxKind.StructDeclaration: 883case SyntaxKind.StructDeclaration: 944if (typeNode.Kind() == SyntaxKind.StructDeclaration) 3511case SyntaxKind.StructDeclaration: 3528or SyntaxKind.StructDeclaration 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)
46case SyntaxKind.StructDeclaration: 97case SyntaxKind.StructDeclaration:
CodeModel\CSharpCodeModelService.NodeNameGenerator.cs (1)
173case SyntaxKind.StructDeclaration:
Progression\CSharpProgressionLanguageService.cs (1)
69SyntaxKind.StructDeclaration or
System.Text.Json.SourceGeneration (1)
Helpers\RoslynExtensions.cs (1)
266case SyntaxKind.StructDeclaration:
System.Text.RegularExpressions.Generator (1)
RegexGenerator.Parser.cs (1)
245SyntaxKind.StructDeclaration or