Skip to content

Commit 75f4010

Browse files
authored
Merge pull request #853 from prochnowc/static-external-model
Fix multiple use of YamlSerializableAttribute +semver:fix
2 parents 0b8f32b + d4d2208 commit 75f4010

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

YamlDotNet/Serialization/YamlSerializable.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ namespace YamlDotNet.Serialization
2727
/// Put this attribute either on serializable types or on the <see cref="StaticContext"/> that you want
2828
/// the static analyzer to detect and use.
2929
/// </summary>
30-
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
30+
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = true)]
3131
public sealed class YamlSerializableAttribute : Attribute
3232
{
3333
/// <summary>

0 commit comments

Comments
 (0)