diff options
Diffstat (limited to 'src/mscorlib/src/System/Reflection/EventAttributes.cs')
-rw-r--r-- | src/mscorlib/src/System/Reflection/EventAttributes.cs | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/mscorlib/src/System/Reflection/EventAttributes.cs b/src/mscorlib/src/System/Reflection/EventAttributes.cs new file mode 100644 index 0000000000..c0285652ff --- /dev/null +++ b/src/mscorlib/src/System/Reflection/EventAttributes.cs @@ -0,0 +1,30 @@ +// 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. + +//////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////// +// +// EventAttributes are an enum defining the attributes associated with +// +// and Event. These are defined in CorHdr.h and are a combination of +// bits and enums. +// +// +namespace System.Reflection { + + using System; + [Serializable] + [Flags] + [System.Runtime.InteropServices.ComVisible(true)] + public enum EventAttributes { + None = 0x0000, + + // This Enum matchs the CorEventAttr defined in CorHdr.h + SpecialName = 0x0200, // event is special. Name describes how. + + // Reserved flags for Runtime use only. + ReservedMask = 0x0400, + RTSpecialName = 0x0400, // Runtime(metadata internal APIs) should check name encoding. + } +} |