mirror of
				https://github.com/esiur/esiur-dotnet.git
				synced 2025-10-31 07:51:36 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
		
			937 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			937 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| namespace System.Runtime.CompilerServices
 | |
| {
 | |
|     [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Parameter | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter, Inherited = false)]
 | |
|     public sealed class NullableAttribute : Attribute
 | |
|     {
 | |
|         /// <summary>Flags specifying metadata related to nullable reference types.</summary>
 | |
|         public readonly byte[] NullableFlags;
 | |
| 
 | |
|         /// <summary>Initializes the attribute.</summary>
 | |
|         /// <param name="value">The flags value.</param>
 | |
|         public NullableAttribute(byte value)
 | |
|         {
 | |
|             NullableFlags = new[] { value };
 | |
|         }
 | |
| 
 | |
|         /// <summary>Initializes the attribute.</summary>
 | |
|         /// <param name="value">The flags value.</param>
 | |
|         public NullableAttribute(byte[] value)
 | |
|         {
 | |
|             NullableFlags = value;
 | |
|         }
 | |
|     }
 | |
| }
 |