-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Milestone
Description
Right now, the C# compiler code spits the attribute. We should add expose them to avoid having to spread them everywhere.
namespace System.Runtime.CompilerServices
{
[AttributeUsage(
AttributeTargets.Class |
AttributeTargets.GenericParameter |
AttributeTargets.Event |
AttributeTargets.Field |
AttributeTargets.Property |
AttributeTargets.Parameter |
AttributeTargets.ReturnValue)]
public sealed class NullableAttribute : Attribute
{
public NullableAttribute(byte flag);
public NullableAttribute(byte[] flags);
public ReadOnlySpan<byte> Flags { get; }
}
}
/cc @dotnet/ldm @dotnet/fxdc
JasonBock and felschr