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