mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2025-05-06 11:32:59 +00:00
17 lines
636 B
C#
17 lines
636 B
C#
namespace System.Runtime.CompilerServices
|
|
{
|
|
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Interface | AttributeTargets.Delegate, Inherited = false)]
|
|
public sealed class NullableContextAttribute : Attribute
|
|
{
|
|
/// <summary>Flag specifying metadata related to nullable reference types.</summary>
|
|
public readonly byte Flag;
|
|
|
|
/// <summary>Initializes the attribute.</summary>
|
|
/// <param name="value">The flag value.</param>
|
|
public NullableContextAttribute(byte value)
|
|
{
|
|
Flag = value;
|
|
}
|
|
}
|
|
}
|