Files
RobustToolbox/Robust.Shared.Utility/Analyzers/VirtualAttribute.cs
PJB3005 b7a3526131 Move RHI to its own project
Move some of Robust.Shared to a new project so it can be depended upon without adding longer dependency chains.
2025-10-07 18:18:48 +02:00

17 lines
475 B
C#

using System;
namespace Robust.Shared.Analyzers;
/// <summary>
/// Specify that this class is allowed to be inherited.
/// </summary>
/// <remarks>
/// Robust uses analyzers to prevent accidental usage of non-sealed classes:
/// a class must be either marked [Virtual], abstract, or sealed.
/// </remarks>
/// <seealso cref="ObsoleteInheritanceAttribute"/>
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
public sealed class VirtualAttribute : Attribute
{
}