-
-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependencies, enable C# 11 (#306)
* Update dependencies, bump to C# 11 * Use list patterns where appropriate * Bump test project to .NET 6 * Centralize C# language version in shared .props
- Loading branch information
1 parent
b671679
commit fa580d5
Showing
9 changed files
with
50 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<Project> | ||
<PropertyGroup> | ||
<LangVersion>11.0</LangVersion> | ||
|
||
<!-- | ||
Enable the latest warning wave, which shows additional warnings for invalid language features that are disabled by default. | ||
For additional info, see https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/warning-waves. | ||
--> | ||
<AnalysisLevel>7</AnalysisLevel> | ||
|
||
<!-- Import the global configs from the CodeStyle package (enables all IDExxxx warnings)--> | ||
<AnalysisLevelStyle>7-all</AnalysisLevelStyle> | ||
|
||
<!-- | ||
Enable the compiler strict mode (see https://www.meziantou.net/csharp-compiler-strict-mode.htm). | ||
This (poorly documented) mode enables additional warnings for incorrect usages of some features. | ||
For instance, this will warn when using the == operator to compare a struct with a null literal. | ||
--> | ||
<Features>strict</Features> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters