mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
Add [NotContentImplementable] attribute
This commit is contained in:
13
Robust.Shared/Analyzers/NotContentImplementable.cs
Normal file
13
Robust.Shared/Analyzers/NotContentImplementable.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
|
||||
namespace Robust.Shared.Analyzers;
|
||||
|
||||
/// <summary>
|
||||
/// Marker attribute specifying that content <b>must not</b> implement this interface itself.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Interfaces with this attribute may have members added by the engine at any time,
|
||||
/// so implementing them yourself would not be API-stable.
|
||||
/// </remarks>
|
||||
[AttributeUsage(AttributeTargets.Interface)]
|
||||
public sealed class NotContentImplementableAttribute : Attribute;
|
||||
Reference in New Issue
Block a user