Skip to content

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
Smaug123 added a commit to G-Research/HeterogeneousCollections that referenced this pull request Mar 21, 2025
This picks up dotnet/Nerdbank.GitVersioning#1174 , allowing us to build without workarounds on 9.0.20x.
@AArnott AArnott added this to the v3.8 milestone Aug 17, 2025
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