mirror of
				https://github.com/esiur/esiur-dotnet.git
				synced 2025-10-31 07:51:36 +00:00 
			
		
		
		
	DynamicMethod Nullable Events
This commit is contained in:
		
							
								
								
									
										27
									
								
								Esiur/Data/NullableAttribute.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								Esiur/Data/NullableAttribute.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,27 @@ | ||||
| namespace System.Runtime.CompilerServices | ||||
| { | ||||
|     [AttributeUsage( | ||||
|         AttributeTargets.Class | | ||||
|         AttributeTargets.Event | | ||||
|         AttributeTargets.Field | | ||||
|         AttributeTargets.GenericParameter | | ||||
|         AttributeTargets.Parameter | | ||||
|         AttributeTargets.Property | | ||||
|         AttributeTargets.ReturnValue, | ||||
|         AllowMultiple = false, | ||||
|         Inherited = false)] | ||||
|     public sealed class NullableAttribute : Attribute | ||||
|     { | ||||
|         public readonly byte[] Flags; | ||||
|         public readonly byte Flag; | ||||
|  | ||||
|         public NullableAttribute(byte flag) | ||||
|         { | ||||
|             Flag = flag;// new byte[] { flag }; | ||||
|         } | ||||
|         public NullableAttribute(byte[] flags) | ||||
|         { | ||||
|             Flags = flags; | ||||
|         } | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user