Initial commit
[mono.git] / mcs / class / referencesource / mscorlib / system / reflection / propertyattributes.cs
1 // ==++==
2 // 
3 //   Copyright (c) Microsoft Corporation.  All rights reserved.
4 // 
5 // ==--==
6 ////////////////////////////////////////////////////////////////////////////////
7 ////////////////////////////////////////////////////////////////////////////////
8 //
9 // PropertyAttributes is an enum which defines the attributes that may be associated
10 // 
11 // <OWNER>[....]</OWNER>
12 //    with a property.  The values here are defined in Corhdr.h.
13 //
14 // <
15
16
17 namespace System.Reflection {
18     
19     using System;
20     // This Enum matchs the CorPropertyAttr defined in CorHdr.h
21 [Serializable]
22 [Flags]  
23 [System.Runtime.InteropServices.ComVisible(true)]
24     public enum PropertyAttributes
25     {
26         None            =   0x0000,
27         SpecialName     =   0x0200,     // property is special.  Name describes how.
28
29         // Reserved flags for Runtime use only.
30         ReservedMask          =   0xf400,
31         RTSpecialName         =   0x0400,     // Runtime(metadata internal APIs) should check name encoding.
32         HasDefault            =   0x1000,     // Property has default 
33         Reserved2             =   0x2000,     // reserved bit
34         Reserved3             =   0x4000,     // reserved bit 
35         Reserved4             =   0x8000      // reserved bit 
36     }
37 }