diff options
Diffstat (limited to 'src/mscorlib/src/System/Reflection/PropertyAttributes.cs')
-rw-r--r-- | src/mscorlib/src/System/Reflection/PropertyAttributes.cs | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/mscorlib/src/System/Reflection/PropertyAttributes.cs b/src/mscorlib/src/System/Reflection/PropertyAttributes.cs new file mode 100644 index 0000000000..d7c3d79b6a --- /dev/null +++ b/src/mscorlib/src/System/Reflection/PropertyAttributes.cs @@ -0,0 +1,33 @@ +// 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] +[System.Runtime.InteropServices.ComVisible(true)] + 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 + } +} |