9 references to GenerateStatements
Microsoft.CodeAnalysis.CSharp.Workspaces (9)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ConstructorGenerator.cs (1)
112
: StatementGenerator.
GenerateStatements
(CodeGenerationConstructorInfo.GetStatements(constructor));
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);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\DestructorGenerator.cs (1)
70
: StatementGenerator.
GenerateStatements
(CodeGenerationDestructorInfo.GetStatements(constructor));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\EventGenerator.cs (1)
197
StatementGenerator.
GenerateStatements
(CodeGenerationMethodInfo.GetStatements(accessor)));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\PropertyGenerator.cs (1)
326
StatementGenerator.
GenerateStatements
(CodeGenerationMethodInfo.GetStatements(accessor)));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\StatementGenerator.cs (1)
21
StatementGenerator.
GenerateStatements
(CodeGenerationMethodInfo.GetStatements(method)));