Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't try to disable CA2243 warnings in the generated version info files for F# #1174

Merged
merged 1 commit into from
Feb 15, 2025

Conversation

Numpsy
Copy link
Contributor

@Numpsy Numpsy commented Feb 14, 2025

refs #1173

Maybe it'd be easier to just make AddAnalysisSuppressions() a no-op for F# for now, but I thought maybe overriding WarningCodesToSuppress to an empty collection and then handling that case would be more flexible in case it actually does need to supress any other warnings later.

@Numpsy Numpsy changed the title Don't try to disable CA2243 in the generated version info files for F# Don't try to disable CA2243 warnings in the generated version info files for F# Feb 14, 2025
Copy link

@Smaug123 Smaug123 left a comment

Choose a reason for hiding this comment

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

Looks locally plausible, though I know nothing about the implementation of NBGV!

Copy link
Collaborator

@AArnott AArnott left a comment

Choose a reason for hiding this comment

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

Thanks

@AArnott AArnott merged commit cc1f1b1 into dotnet:main Feb 15, 2025
12 checks passed
@Numpsy Numpsy deleted the no_fsharp_nowarn branch February 17, 2025 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants