Skip to content

Commit

Permalink
Merge pull request #24 from estrizhok/main
Browse files Browse the repository at this point in the history
Allow NoReorderAttribute to be used for partial classes to indicate w…
  • Loading branch information
controlflow authored Oct 30, 2023
2 parents 0dea5ba + 9380318 commit a373835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Annotations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1072,7 +1072,7 @@ public LanguageInjectionAttribute([NotNull] string injectedLanguage)
/// The attribute must be mentioned in your member reordering patterns.
/// </remarks>
[AttributeUsage(
AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct | AttributeTargets.Enum)]
AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct | AttributeTargets.Enum, AllowMultiple = true)]
[Conditional("JETBRAINS_ANNOTATIONS")]
public sealed class NoReorderAttribute : Attribute { }

Expand Down

0 comments on commit a373835

Please sign in to comment.