2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2025-05-06 11:32:59 +00:00
esiur-dotnet/Esiur/Data/NullableAttribute.cs
2022-04-03 02:19:00 +03:00

29 lines
751 B
C#

namespace System.Runtime.CompilerServices
{
[AttributeUsage(
AttributeTargets.Class |
AttributeTargets.Event |
AttributeTargets.Field |
AttributeTargets.GenericParameter |
AttributeTargets.Parameter |
AttributeTargets.Property |
AttributeTargets.ReturnValue,
AllowMultiple = false,
Inherited = false)]
public sealed class NullableAttribute : Attribute
{
public readonly byte[] Flags;
//public readonly byte Flag;
public NullableAttribute(byte flag)
{
//Flag = flag;
Flags = new byte[] { flag };
}
public NullableAttribute(byte[] flags)
{
Flags = flags;
}
}
}