From a56e30c8d33048216567753d9d3fefc2152af8ac Mon Sep 17 00:00:00 2001 From: Jiyoung Yun Date: Thu, 13 Apr 2017 14:17:19 +0900 Subject: Imported Upstream version 2.0.0.11353 --- .../shared/System/Reflection/PropertyAttributes.cs | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/mscorlib/shared/System/Reflection/PropertyAttributes.cs (limited to 'src/mscorlib/shared/System/Reflection/PropertyAttributes.cs') diff --git a/src/mscorlib/shared/System/Reflection/PropertyAttributes.cs b/src/mscorlib/shared/System/Reflection/PropertyAttributes.cs new file mode 100644 index 0000000000..31e7a653bb --- /dev/null +++ b/src/mscorlib/shared/System/Reflection/PropertyAttributes.cs @@ -0,0 +1,25 @@ +// 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 +{ + // This Enum matchs the CorPropertyAttr defined in CorHdr.h + [Flags] + public enum PropertyAttributes + { + None = 0x0000, + SpecialName = 0x0200, // property is special. Name describes how. + + RTSpecialName = 0x0400, // Runtime(metadata internal APIs) should check name encoding. + HasDefault = 0x1000, // Property has default + + Reserved2 = 0x2000, + Reserved3 = 0x4000, + Reserved4 = 0x8000, + ReservedMask = 0xf400, + } +} -- cgit v1.2.3