Skip to content

Sg latebreak fixes#45357

Merged
chsienki merged 3 commits intodotnet:masterfrom
chsienki:sg_latebreak_fixes
Jun 24, 2020
Merged

Sg latebreak fixes#45357
chsienki merged 3 commits intodotnet:masterfrom
chsienki:sg_latebreak_fixes

Conversation

@chsienki
Copy link
Member

@chsienki chsienki commented Jun 22, 2020

Fixes two global analyzer issues:

Commit1: When we renamed the targets files, we also accidentally renamed the AnalyzerConfigFiles item to EditorConfigFiles meaning it was no longer passed to the compiler. We didn't have tests for this before, but we've since added target tests and I've added a test to cover this specific case.

Commit2: Global analyzer config options where getting incorrectly cleared when there was a root config lower in the hierarchy. This is a somewhat niche case but we are hitting it in the source generator samples in roslyn-sdk. Fixed and added a test to verify a combination of root config cases.

@chsienki chsienki force-pushed the sg_latebreak_fixes branch from d55e23d to 9204964 Compare June 22, 2020 16:53
@chsienki chsienki added this to the 16.7.P4 milestone Jun 22, 2020
@chsienki chsienki marked this pull request as ready for review June 22, 2020 16:57
@chsienki chsienki requested a review from a team as a code owner June 22, 2020 16:57
@chsienki
Copy link
Member Author

@dotnet/roslyn-compiler for review please :)

@chsienki chsienki force-pushed the sg_latebreak_fixes branch from 9204964 to 24c11a2 Compare June 22, 2020 18:03
@chsienki chsienki added the Feature - Source Generators Source Generators label Jun 23, 2020
@chsienki chsienki merged commit 7f5df27 into dotnet:master Jun 24, 2020
@ghost ghost modified the milestones: 16.7.P4, Next Jun 24, 2020
@dibarbet dibarbet modified the milestones: Next, 16.7.P4 Jun 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants