Skip to content

Commit 525f61f

Browse files
committed
configures both csprojs and the cecilifier itself to build with C# 13
1 parent b9fa182 commit 525f61f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cecilifier.Common.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project>
22
<PropertyGroup>
33
<TargetFramework>net9.0</TargetFramework>
4-
<LangVersion>12</LangVersion>
4+
<LangVersion>13</LangVersion>
55
<AssemblyVersion>2.21.0</AssemblyVersion>
66
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
77

Cecilifier.Core/Cecilifier.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public sealed class Cecilifier
1515
{
1616
internal const int CecilifierProgramPreambleLength = 25; // The # of lines before the 1st cecilified line of code (see CecilifierExtensions.AsCecilApplication())
1717

18-
private const LanguageVersion CurrentLanguageVersion = LanguageVersion.CSharp12;
18+
private const LanguageVersion CurrentLanguageVersion = LanguageVersion.CSharp13;
1919
public static readonly int SupportedCSharpVersion = int.Parse(CurrentLanguageVersion.ToString().Substring("CSharp".Length));
2020

2121
public static CecilifierResult Process(Stream content, CecilifierOptions options)

0 commit comments

Comments
 (0)