diff --git a/ICSharpCode.Decompiler/DecompilerSettings.cs b/ICSharpCode.Decompiler/DecompilerSettings.cs
index a8f6322ca..79112cb98 100644
--- a/ICSharpCode.Decompiler/DecompilerSettings.cs
+++ b/ICSharpCode.Decompiler/DecompilerSettings.cs
@@ -483,9 +483,8 @@ namespace ICSharpCode.Decompiler
///
/// Gets/Sets whether to use C# 11.0 switch on (ReadOnly)Span<char>
///
- [Category("C# 11.0 / VS 2022.4")]
[Description("DecompilerSettings.SwitchOnReadOnlySpanChar")]
- [DecompilerSetting]
+ [DecompilerSetting(CSharp.LanguageVersion.CSharp11_0)]
public partial bool SwitchOnReadOnlySpanChar { get; set; }
///