4 references to GenerateStatements
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (4)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationService.cs (4)
502return (accessorDeclaration.Body == null) ? destinationMember : Cast<TDeclarationNode>(accessorDeclaration.AddBodyStatements([.. StatementGenerator.GenerateStatements(statements)])); 512var wrappedStatements = StatementGenerator.GenerateStatements(statements).Select(GlobalStatement).ToArray(); 521return Cast<TDeclarationNode>(block.AddStatements([.. StatementGenerator.GenerateStatements(statements)])); 592var statementsArray = StatementGenerator.GenerateStatements(statements);