Files
2026-08-27 10:56:38 -06:00

19 lines
476 B
C#

namespace System.Runtime.CompilerServices;
[AttributeUsage(AttributeTargets.All, AllowMultiple = true, Inherited = false)]
internal sealed class CompilerFeatureRequiredAttribute : Attribute
{
public const string RefStructs = "RefStructs";
public const string RequiredMembers = "RequiredMembers";
public string FeatureName { get; }
public bool IsOptional { get; init; }
public CompilerFeatureRequiredAttribute(string featureName)
{
FeatureName = featureName;
}
}