4 references to MethodDeclaration
Microsoft.CodeAnalysis.CSharp.Features (3)
ConvertProgram\ConvertProgramTransform_ProgramMain.cs (1)
87var method = (MethodDeclarationSyntax)generator.MethodDeclaration(
ReplacePropertyWithMethods\CSharpReplacePropertyWithMethodsService.cs (2)
126var methodDeclaration = (MethodDeclarationSyntax)generator.MethodDeclaration(setMethod, desiredSetMethodName); 181var methodDeclaration = (MethodDeclarationSyntax)generator.MethodDeclaration(getMethod, desiredGetMethodName);
Microsoft.CodeAnalysis.Workspaces (1)
Editing\SyntaxGenerator.cs (1)
187=> MethodDeclaration(method, method.Name, statements);