Skip to content

Commit

Permalink
Comment on yamlserializable and removed struct from the attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwardCooke committed Dec 19, 2022
1 parent cb56192 commit f419448
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion YamlDotNet/Serialization/YamlSerializable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@

namespace YamlDotNet.Serialization
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, Inherited = false, AllowMultiple = false)]
/// <summary>
/// Put this attribute on classes that you want the static analyzer to detect and use.
/// </summary>
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
public sealed class YamlSerializableAttribute : Attribute
{
}
Expand Down

0 comments on commit f419448

Please sign in to comment.