Skip to content

User Story: Source generators are added to common libraries to improve performance #43545

Closed
@samsp-msft

Description

@samsp-msft

Source Generators are a new technology that was added to Roslyn in the .NET 5 timeframe, but we have not yet utilized them by creating generators to assist with runtime and framework features. We will work to define customer scenarios in more detail here with customer development.

Code that uses runtime reflection and reflection.emit causes issues for Trimming and Native AOT. Source generators can be used to generate alternative code at build time that is static so can be used in conjunction with Trimming and AOT. Work on trimming ASP.NET apps has revealed where there are current limitations that can be solved by source generators.

Metadata

Metadata

Labels

EpicGroups multiple user stories. Can be grouped under a theme.Priority:2Work that is important, but not critical for the releaseTeam:Runtimearea-MetauntriagedNew issue has not been triaged by the area owner

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions