mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-06-13 22:48:42 +00:00
Layout
This commit is contained in:
@@ -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