6 references to MethodDeclaration
Microsoft.CodeAnalysis.CSharp.Features (3)
ConvertProgram\ConvertProgramTransform_ProgramMain.cs (1)
90var method = (MethodDeclarationSyntax)generator.MethodDeclaration(
ReplacePropertyWithMethods\CSharpReplacePropertyWithMethodsService.cs (2)
126var methodDeclaration = (MethodDeclarationSyntax)generator.MethodDeclaration(setMethod, desiredSetMethodName); 181var methodDeclaration = (MethodDeclarationSyntax)generator.MethodDeclaration(getMethod, desiredGetMethodName);
Microsoft.CodeAnalysis.VisualBasic.Features (2)
ReplacePropertyWithMethods\VisualBasicReplacePropertyWithMethods.vb (2)
103Dim methodDeclaration = generator.MethodDeclaration(getMethod, desiredGetMethodName, statements) 137Dim methodDeclaration = generator.MethodDeclaration(setMethod, desiredSetMethodName, statements)
Microsoft.CodeAnalysis.Workspaces (1)
Editing\SyntaxGenerator.cs (1)
178=> MethodDeclaration(method, method.Name, statements);