Skip to content

Commit

Permalink
Move IDS_FeatureRefStructInterfaces to C# 13 (#74551)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlekseyTs authored Jul 25, 2024
1 parent b16b89d commit d277024
Show file tree
Hide file tree
Showing 2 changed files with 135 additions and 176 deletions.
2 changes: 1 addition & 1 deletion src/Compilers/CSharp/Portable/Errors/MessageID.cs
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,6 @@ internal static LanguageVersion RequiredVersion(this MessageID feature)
// PREFER reporting diagnostics in binding when diagnostics do not affect the shape of the syntax tree

// C# preview features.
case MessageID.IDS_FeatureRefStructInterfaces:
case MessageID.IDS_FeatureFieldKeyword:
return LanguageVersion.Preview;

Expand All @@ -482,6 +481,7 @@ internal static LanguageVersion RequiredVersion(this MessageID feature)
case MessageID.IDS_FeatureLockObject:
case MessageID.IDS_FeatureParamsCollections:
case MessageID.IDS_FeatureRefUnsafeInIteratorAsync:
case MessageID.IDS_FeatureRefStructInterfaces:
case MessageID.IDS_FeatureAllowsRefStructConstraint:
case MessageID.IDS_FeaturePartialProperties:
case MessageID.IDS_OverloadResolutionPriority:
Expand Down
Loading

0 comments on commit d277024

Please # to comment.