mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-04-04 04:18:22 +00:00
Layout
This commit is contained in:
16
Libraries/Esiur/Data/NullableContextAttribute.cs
Normal file
16
Libraries/Esiur/Data/NullableContextAttribute.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user