13 references to StatementGenerator
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (13)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ConstructorGenerator.cs (1)
112: StatementGenerator.GenerateStatements(CodeGenerationConstructorInfo.GetStatements(constructor));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ConversionGenerator.cs (1)
75body: hasNoBody ? null : StatementGenerator.GenerateBlock(method),
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);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\DestructorGenerator.cs (1)
70: StatementGenerator.GenerateStatements(CodeGenerationDestructorInfo.GetStatements(constructor));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\EventGenerator.cs (1)
197StatementGenerator.GenerateStatements(CodeGenerationMethodInfo.GetStatements(accessor)));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\MethodGenerator.cs (2)
135body: hasNoBody ? null : StatementGenerator.GenerateBlock(method), 175body: StatementGenerator.GenerateBlock(method),
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\OperatorGenerator.cs (1)
102body: hasNoBody ? null : StatementGenerator.GenerateBlock(method),
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\PropertyGenerator.cs (1)
326StatementGenerator.GenerateStatements(CodeGenerationMethodInfo.GetStatements(accessor)));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\StatementGenerator.cs (1)
21StatementGenerator.GenerateStatements(CodeGenerationMethodInfo.GetStatements(method)));