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

Address compiler warnings #113

Merged
merged 2 commits into from
Jun 26, 2024
Merged

Conversation

damieng
Copy link
Member

@damieng damieng commented Jun 20, 2024

Mostly just around null annotations but also a few unused properties etc.

Solution now compiles 100% clean with Roslyn, no warnings.

@damieng damieng force-pushed the address-compiler-warnings branch from f08a33b to c60ff55 Compare June 20, 2024 09:20
@damieng damieng marked this pull request as ready for review June 20, 2024 09:20
@damieng damieng requested a review from a team as a code owner June 20, 2024 09:20
@damieng damieng requested review from janiavdv and BorisDog and removed request for a team and janiavdv June 20, 2024 09:20
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
<NoWarn>EF1001,CS8602,CS8618</NoWarn>
</PropertyGroup>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Does it makes sense to migrate those settings (or a subset) to tests/Directory.Build.props ?

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't think it's worth it yet. There won't likely be more test projects or any new stuff any time soon.

Copy link
Collaborator

Choose a reason for hiding this comment

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

So we have Directory.Build.props already, seems like a natural place for such settings.

Copy link
Collaborator

@BorisDog BorisDog left a comment

Choose a reason for hiding this comment

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

LGTM

<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
<NoWarn>EF1001,CS8602,CS8618</NoWarn>
</PropertyGroup>
Copy link
Collaborator

Choose a reason for hiding this comment

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

So we have Directory.Build.props already, seems like a natural place for such settings.

@damieng damieng merged commit 6d3775a into mongodb:main Jun 26, 2024
14 checks passed
@damieng damieng deleted the address-compiler-warnings branch June 26, 2024 15:27
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.

2 participants