Files
RobustToolbox/Robust.Shared/Serialization/Manager/Attributes/NotYamlSerializableAttribute.cs
4747e5a05a Add and update a lot of documentation (#6337)
* Serialization docs

Co-authored-by: Moony <moonheart08@users.noreply.github.com>

* ECS docs

Co-authored-by: Moony <moonheart08@users.noreply.github.com>

* scattered docs

Co-authored-by: Moony <moonheart08@users.noreply.github.com>

* Fixes

---------

Co-authored-by: Moony <moonheart08@users.noreply.github.com>
Co-authored-by: PJB3005 <pieterjan.briers+git@gmail.com>
2025-12-15 20:26:17 +01:00

11 lines
437 B
C#

using System;
namespace Robust.Shared.Serialization.Manager.Attributes;
/// <summary>
/// Used to denote that a type is not serializable to yaml, and should not be used as a data-field.
/// Types marked with this will cause an error early in serialization init if used as a field.
/// </summary>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)]
internal sealed class NotYamlSerializableAttribute : Attribute;