3 references to DestructorDeclaration
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\roslyn\src\Analyzers\CSharp\CodeFixes\ImplementInterface\CSharpImplementInterfaceService.cs (1)
112
var methodDecl = SyntaxFactory.
DestructorDeclaration
(classType.Name).AddBodyStatements(disposeStatement);
Microsoft.CodeAnalysis.CSharp.Features (1)
src\roslyn\src\Analyzers\CSharp\CodeFixes\ImplementInterface\CSharpImplementInterfaceService.cs (1)
112
var methodDecl = SyntaxFactory.
DestructorDeclaration
(classType.Name).AddBodyStatements(disposeStatement);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
376
=> SyntaxFactory.
DestructorDeclaration
(destructorMethod.ContainingType.Name).WithBody(SyntaxFactory.Block());