File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
ICSharpCode.Decompiler/TypeSystem/Implementation Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -116,11 +116,14 @@ public enum KnownAttribute
116116
117117 // C# 12 attributes:
118118 InlineArray ,
119+
120+ // C# 14 attributes:
121+ ExtensionMarker ,
119122 }
120123
121124 public static class KnownAttributes
122125 {
123- internal const int Count = ( int ) KnownAttribute . InlineArray + 1 ;
126+ internal const int Count = ( int ) KnownAttribute . ExtensionMarker + 1 ;
124127
125128 static readonly TopLevelTypeName [ ] typeNames = new TopLevelTypeName [ Count ] {
126129 default ,
@@ -193,6 +196,8 @@ public static class KnownAttributes
193196 new TopLevelTypeName ( "System.Runtime.CompilerServices" , "RequiredMemberAttribute" ) ,
194197 // C# 12 attributes:
195198 new TopLevelTypeName ( "System.Runtime.CompilerServices" , "InlineArrayAttribute" ) ,
199+ // C# 14 attributes:
200+ new TopLevelTypeName ( "System.Runtime.CompilerServices" , "ExtensionMarkerAttribute" ) ,
196201 } ;
197202
198203 public static ref readonly TopLevelTypeName GetTypeName ( this KnownAttribute attr )
You can’t perform that action at this time.
0 commit comments