Files
RobustToolbox/Robust.Shared/Analyzers/NotNullableFlagAttribute.cs

19 lines
446 B
C#

using System;
#if NETSTANDARD2_0
namespace Robust.Shared.Analyzers.Implementation;
#else
namespace Robust.Shared.Analyzers;
#endif
[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.GenericParameter)]
public sealed class NotNullableFlagAttribute : Attribute
{
public readonly string TypeParameterName;
public NotNullableFlagAttribute(string typeParameterName)
{
TypeParameterName = typeParameterName;
}
}