Skip to content

Commit

Permalink
Merge pull request #853 from prochnowc/static-external-model
Browse files Browse the repository at this point in the history
Fix multiple use of YamlSerializableAttribute

+semver:fix
  • Loading branch information
EdwardCooke authored Oct 5, 2023
2 parents 0b8f32b + d4d2208 commit 75f4010
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 75f4010

Please sign in to comment.