Skip to content

Enable file header analyzer (IDE0073) in build#42349

Merged
4 commits merged intodotnet:masterfrom
mavasani:EnableFileHeaderAnalyzerOnCI
Mar 16, 2020
Merged

Enable file header analyzer (IDE0073) in build#42349
4 commits merged intodotnet:masterfrom
mavasani:EnableFileHeaderAnalyzerOnCI

Conversation

@mavasani
Copy link
Copy Markdown
Contributor

@mavasani mavasani commented Mar 12, 2020

First commit moves us to a newer CodeStyle NuGet package and enables IDE0073 as a warning.
Second commit was result of a Fix all in solution operation for its code fix. No manual code changes were done. I skimmed through each changed file to validate the fix did the appropriate change.

Thanks to @sharwell for quick turnaround in implementing this analyzer and moving it to CodeStyle NuGet package for CI support.

Closes #20785

@mavasani mavasani added this to the 16.6 milestone Mar 12, 2020
@mavasani mavasani requested review from a team and jaredpar March 12, 2020 00:28
@mavasani mavasani requested review from a team as code owners March 12, 2020 00:28
@mavasani mavasani requested a review from a team March 12, 2020 00:28
@sharwell
Copy link
Copy Markdown
Contributor

@mavasani I'd like to fix a few bugs I see from this pull request, and then resubmit it so we can see they are fixed before merging

@mavasani
Copy link
Copy Markdown
Contributor Author

@sharwell Sounds good. I will wait for your signoff on this PR before merge.

Copy link
Copy Markdown
Member

@jasonmalinowski jasonmalinowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm impressed we only had this many files missing the header!

Copy link
Copy Markdown

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approval

@ghost ghost merged commit 7afa030 into dotnet:master Mar 16, 2020
@mavasani mavasani deleted the EnableFileHeaderAnalyzerOnCI branch March 16, 2020 23:29
This pull request was closed.
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.

Validate file headers during the build

5 participants