From baa64c082feed1aaa03f6aa71d808b3599a9ccb0 Mon Sep 17 00:00:00 2001 From: Siegfried Pammer Date: Sat, 23 May 2026 11:14:48 +0200 Subject: [PATCH] Surface C# 15.0 in the Languages dropdown Mirrors the master-side addition in commit 82edef3bc (`CSharpLanguage.cs` in the WPF host) so the Avalonia version stays in feature parity with the shared decompiler's CSharp15_0 enum. The RuntimeAsync setting itself rides in via the shared `ICSharpCode.Decompiler` library; only the dropdown entry needed mirroring on the UI side. --- ILSpy/Languages/CSharpLanguage.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/ILSpy/Languages/CSharpLanguage.cs b/ILSpy/Languages/CSharpLanguage.cs index 685374476..503f69dad 100644 --- a/ILSpy/Languages/CSharpLanguage.cs +++ b/ILSpy/Languages/CSharpLanguage.cs @@ -92,6 +92,7 @@ namespace ILSpy.Languages new(CSharpLanguageVersion.CSharp12_0.ToString(), "C# 12.0 / VS 2022.8"), new(CSharpLanguageVersion.CSharp13_0.ToString(), "C# 13.0 / VS 2022.12"), new(CSharpLanguageVersion.CSharp14_0.ToString(), "C# 14.0 / VS 2026"), + new(CSharpLanguageVersion.CSharp15_0.ToString(), "C# 15.0 / VS 202x.yy"), }; #if DEBUG