-
Notifications
You must be signed in to change notification settings - Fork 309
Improve <LangVersion> selection #3240
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
Conversation
- Testing conditional <LangVersion> for .NET Framework only.
- Now choosing the natrual C# language version for .NET versions. - Explictily setting C# 13 for non-.NET targets (Framework, Standard, etc).
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3240 +/- ##
==========================================
+ Coverage 72.69% 74.73% +2.04%
==========================================
Files 303 314 +11
Lines 59718 75258 +15540
==========================================
+ Hits 43414 56247 +12833
- Misses 16304 19011 +2707
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot wasn't able to review any files in this pull request.
Files not reviewed (1)
- src/Directory.Build.props: Language not supported
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
We can take this approach as implemented, or we can set to |
Improved the C# language version selection:
I used the
#error version
preprocessor directive to validate that the expected C# version was being used for the MDS projects and the test projects.