summaryrefslogtreecommitdiff
path: root/src/mscorlib/src/System/Reflection/PropertyAttributes.cs
blob: 4a5617ba5e15dfb4510ac15e20f5bc315545a3c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
//
// PropertyAttributes is an enum which defines the attributes that may be associated
// 
//    with a property.  The values here are defined in Corhdr.h.
//
//
namespace System.Reflection {
    
    using System;
    // This Enum matchs the CorPropertyAttr defined in CorHdr.h
[Serializable]
[Flags]  
    public enum PropertyAttributes
    {
        None            =   0x0000,
        SpecialName     =   0x0200,     // property is special.  Name describes how.

        // Reserved flags for Runtime use only.
        ReservedMask          =   0xf400,
        RTSpecialName         =   0x0400,     // Runtime(metadata internal APIs) should check name encoding.
        HasDefault            =   0x1000,     // Property has default 
        Reserved2             =   0x2000,     // reserved bit
        Reserved3             =   0x4000,     // reserved bit 
        Reserved4             =   0x8000      // reserved bit 
    }
}