Skip to content

Make ICodeGenerationService and CodeGenerationSymbolFactory public #43056

@mavasani

Description

@mavasani

https://github.com/dotnet/roslyn/blob/master/src/Workspaces/Core/Portable/CodeGeneration/ICodeGenerationService.cs

https://github.com/dotnet/roslyn/blob/master/src/Workspaces/Core/Portable/CodeGeneration/CodeGenerationSymbolFactory.cs

The API needs to be polished, similar to SyntaxGenerator, and exposed as a new type SymbolGenerator. We also need to remove the duplication between the APIs in SyntaxGenerator and CodeGenerationSymbolFactory that expose similar syntax generation APIs, but latter have more richer options to control the syntax generation.

CodeFixProviders that are blocked from being able to ported to CodeStyle layer due to this functionality:

  • MakeLocalFunctionStaticCodeFixProvider
  • CSharpUseLocalFunctionCodeFixProvider

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions