70 references to DestructorDeclaration
Microsoft.CodeAnalysis.CSharp (17)
Binder\BinderFactory.BinderFactoryVisitor.cs (1)
465case SyntaxKind.DestructorDeclaration:
Compilation\MemberSemanticModel.cs (1)
2173case SyntaxKind.DestructorDeclaration:
Compilation\MethodBodySemanticModel.cs (1)
92case SyntaxKind.DestructorDeclaration:
Compilation\SyntaxTreeSemanticModel.cs (4)
819case SyntaxKind.DestructorDeclaration: 881case SyntaxKind.DestructorDeclaration: 1083case SyntaxKind.DestructorDeclaration: 1667case SyntaxKind.DestructorDeclaration:
Declarations\DeclarationTreeBuilder.cs (3)
1105case SyntaxKind.DestructorDeclaration: 1190case SyntaxKind.DestructorDeclaration: 1237case SyntaxKind.DestructorDeclaration:
Parser\LanguageParser.cs (3)
552or SyntaxKind.DestructorDeclaration 2396case SyntaxKind.DestructorDeclaration: 5082case SyntaxKind.DestructorDeclaration:
src\Compilers\CSharp\CSharpAnalyzerDriver\CSharpDeclarationComputer.cs (2)
274case SyntaxKind.DestructorDeclaration: 406case SyntaxKind.DestructorDeclaration:
Symbols\Source\SourceMemberContainerSymbol.cs (1)
4995case SyntaxKind.DestructorDeclaration:
Syntax\SyntaxExtensions.cs (1)
35case SyntaxKind.DestructorDeclaration:
Microsoft.CodeAnalysis.CSharp.CodeStyle (6)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\BlockSyntaxExtensions.cs (1)
158case SyntaxKind.DestructorDeclaration:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\MemberDeclarationSyntaxExtensions.cs (1)
55case SyntaxKind.DestructorDeclaration:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
434case SyntaxKind.DestructorDeclaration:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (1)
178case SyntaxKind.DestructorDeclaration:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (2)
846if (memberDeclaration.Kind() == SyntaxKind.DestructorDeclaration) 1286case SyntaxKind.DestructorDeclaration:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (4)
src\Analyzers\CSharp\CodeFixes\Nullable\CSharpDeclareAsNullableCodeFixProvider.cs (1)
128SyntaxKind.DestructorDeclaration or
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpDeclarationComparer.cs (2)
19{ SyntaxKind.DestructorDeclaration, 2 }, 113case SyntaxKind.DestructorDeclaration:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\CSharpSyntaxContext.cs (1)
230targetToken.Parent.IsKind(SyntaxKind.DestructorDeclaration) &&
Microsoft.CodeAnalysis.CSharp.Features (12)
DocumentationComments\CSharpDocumentationCommentSnippetService.cs (2)
64case SyntaxKind.DestructorDeclaration: 129SyntaxKind.DestructorDeclaration)
EditAndContinue\BreakpointSpans.cs (1)
176case SyntaxKind.DestructorDeclaration:
EditAndContinue\SyntaxComparer.cs (3)
622case SyntaxKind.DestructorDeclaration: 716case SyntaxKind.DestructorDeclaration: 1458case SyntaxKind.DestructorDeclaration:
LineSeparators\CSharpLineSeparatorService.cs (1)
85case SyntaxKind.DestructorDeclaration:
Organizing\Organizers\MemberDeclarationsOrganizer.Comparer.cs (2)
154case SyntaxKind.DestructorDeclaration: 190case SyntaxKind.DestructorDeclaration:
src\Analyzers\CSharp\CodeFixes\Nullable\CSharpDeclareAsNullableCodeFixProvider.cs (1)
128SyntaxKind.DestructorDeclaration or
src\Compilers\CSharp\CSharpAnalyzerDriver\CSharpDeclarationComputer.cs (2)
274case SyntaxKind.DestructorDeclaration: 406case SyntaxKind.DestructorDeclaration:
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (4)
Parsing\DeclarationParsingTests.cs (2)
3586Assert.Equal(SyntaxKind.DestructorDeclaration, cs.Members[0].Kind()); 6474N(SyntaxKind.DestructorDeclaration);
Parsing\MemberDeclarationParsingTests.cs (2)
302N(SyntaxKind.DestructorDeclaration); 11658N(SyntaxKind.DestructorDeclaration);
Microsoft.CodeAnalysis.CSharp.Workspaces (14)
CodeGeneration\CSharpSyntaxGenerator.cs (4)
1567case SyntaxKind.DestructorDeclaration: 2240case SyntaxKind.DestructorDeclaration: 2486SyntaxKind.DestructorDeclaration => ((DestructorDeclarationSyntax)declaration).Body?.Statements, 2516case SyntaxKind.DestructorDeclaration:
Rename\CSharpRenameRewriterLanguageService.cs (1)
281token.Parent.IsKind(SyntaxKind.DestructorDeclaration);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\BlockSyntaxExtensions.cs (1)
158case SyntaxKind.DestructorDeclaration:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\MemberDeclarationSyntaxExtensions.cs (1)
55case SyntaxKind.DestructorDeclaration:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
434case SyntaxKind.DestructorDeclaration:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (1)
178case SyntaxKind.DestructorDeclaration:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (2)
846if (memberDeclaration.Kind() == SyntaxKind.DestructorDeclaration) 1286case SyntaxKind.DestructorDeclaration:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpDeclarationComparer.cs (2)
19{ SyntaxKind.DestructorDeclaration, 2 }, 113case SyntaxKind.DestructorDeclaration:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\CSharpSyntaxContext.cs (1)
230targetToken.Parent.IsKind(SyntaxKind.DestructorDeclaration) &&
Microsoft.VisualStudio.LanguageServices.CSharp (13)
CodeModel\CSharpCodeModelService.cs (8)
98case SyntaxKind.DestructorDeclaration: 158case SyntaxKind.DestructorDeclaration: 558case SyntaxKind.DestructorDeclaration: 611case SyntaxKind.DestructorDeclaration: 815case SyntaxKind.DestructorDeclaration: 895case SyntaxKind.DestructorDeclaration: 937else if (member.Kind() == SyntaxKind.DestructorDeclaration) 3500case SyntaxKind.DestructorDeclaration:
CodeModel\CSharpCodeModelService.NodeLocator.cs (4)
52case SyntaxKind.DestructorDeclaration: 103case SyntaxKind.DestructorDeclaration: 400case SyntaxKind.DestructorDeclaration: 963case SyntaxKind.DestructorDeclaration:
CodeModel\CSharpCodeModelService.NodeNameGenerator.cs (1)
229case SyntaxKind.DestructorDeclaration: