Skip to content

Commit

Permalink
Allow multiple use of YamlSerializableAttribute.
Browse files Browse the repository at this point in the history
  • Loading branch information
prochnowc committed Oct 5, 2023
1 parent d63f33f commit 26dcc47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion YamlDotNet/Serialization/YamlSerializable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ namespace YamlDotNet.Serialization
/// Put this attribute either on serializable types or on the <see cref="StaticContext"/> that you want
/// the static analyzer to detect and use.
/// </summary>
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = true)]
public sealed class YamlSerializableAttribute : Attribute
{
/// <summary>
Expand Down

0 comments on commit 26dcc47

Please sign in to comment.