Skip to content

Improve LoggerMessageGenerator incrementality #76119

Description

@Youssef1313

Description

IncrementalValueProvider<(Compilation, ImmutableArray<ClassDeclarationSyntax>)> compilationAndClasses =
context.CompilationProvider.Combine(classDeclarations.Collect());

I think having the Compilation in the generator pipeline will cause it to fully run on every change, so this is losing the benefits of being incremental.

cc @333fred

Reproduction Steps

Expected behavior

Generator pipeline shouldn't have a Compilation or ISymbols, etc.

Actual behavior

Regression?

No response

Known Workarounds

No response

Configuration

No response

Other information

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area-Extensions-Loggingin-prThere is an active PR which will close this issue when it is mergedsource-generatorIndicates an issue with a source generator feature

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions