mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2025-06-27 13:33:13 +00:00
DynamicMethod Nullable Events
This commit is contained in:
19
Esiur/Data/NullableContextAttribute.cs
Normal file
19
Esiur/Data/NullableContextAttribute.cs
Normal file
@ -0,0 +1,19 @@
|
||||
namespace System.Runtime.CompilerServices
|
||||
{
|
||||
[System.AttributeUsage(
|
||||
AttributeTargets.Class |
|
||||
AttributeTargets.Delegate |
|
||||
AttributeTargets.Interface |
|
||||
AttributeTargets.Method |
|
||||
AttributeTargets.Struct,
|
||||
AllowMultiple = false,
|
||||
Inherited = false)]
|
||||
public sealed class NullableContextAttribute : Attribute
|
||||
{
|
||||
public readonly byte Flag;
|
||||
public NullableContextAttribute(byte flag)
|
||||
{
|
||||
Flag = flag;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user