mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2025-07-04 08:03:13 +00:00
2.4.9
This commit is contained in:
@ -1,19 +1,16 @@
|
||||
namespace System.Runtime.CompilerServices
|
||||
{
|
||||
[System.AttributeUsage(
|
||||
AttributeTargets.Class |
|
||||
AttributeTargets.Delegate |
|
||||
AttributeTargets.Interface |
|
||||
AttributeTargets.Method |
|
||||
AttributeTargets.Struct,
|
||||
AllowMultiple = false,
|
||||
Inherited = false)]
|
||||
[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;
|
||||
public NullableContextAttribute(byte flag)
|
||||
|
||||
/// <summary>Initializes the attribute.</summary>
|
||||
/// <param name="value">The flag value.</param>
|
||||
public NullableContextAttribute(byte value)
|
||||
{
|
||||
Flag = flag;
|
||||
Flag = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user