From 8c2b5f38e61e2fadd8ccf573d42044f1b3abd6bf Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Wed, 13 Nov 2024 19:00:49 +0000 Subject: [PATCH] style: target c# 13 langversion --- CONTRIBUTING.md | 4 ++-- Directory.Build.props | 2 +- tools/Directory.Build.props | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a6b5007..21cb59d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -5,7 +5,7 @@ or submit a pull request. ### Pull request guidelines -This project uses C# 12.0 language features where feasible, and adheres to StyleCop rules with some minor adjustments. +This project uses C# 13.0 language features where feasible, and adheres to StyleCop rules with some minor adjustments. There is an `.editorconfig` included in this repository. For quick and painless pull requests, ensure that the analyzer does not throw warnings. @@ -17,7 +17,7 @@ convetional commits specification. Below are a few pointers to which you may refer, but keep in mind this is not an exhaustive list: -- Use C# 12.0 features where possible +- Use C# 13.0 features where possible - Try to ensure code is CLS-compliant. Where this is not possible, decorate methods with `CLSCompliantAttribute` and pass `false` - Follow all .NET guidelines and coding conventions. See https://docs.microsoft.com/en-us/dotnet/csharp/fundamentals/coding-style/coding-conventions diff --git a/Directory.Build.props b/Directory.Build.props index 283ddde..2e583e9 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,6 +1,6 @@ - 12.0 + 13.0 true true true diff --git a/tools/Directory.Build.props b/tools/Directory.Build.props index 52b14ee..51aa142 100644 --- a/tools/Directory.Build.props +++ b/tools/Directory.Build.props @@ -1,6 +1,6 @@ - 11.0 + 13.0 enable true true