diff options
Diffstat (limited to 'src/mscorlib/src/System/FlagsAttribute.cs')
-rw-r--r-- | src/mscorlib/src/System/FlagsAttribute.cs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/mscorlib/src/System/FlagsAttribute.cs b/src/mscorlib/src/System/FlagsAttribute.cs new file mode 100644 index 0000000000..cb955cf3a1 --- /dev/null +++ b/src/mscorlib/src/System/FlagsAttribute.cs @@ -0,0 +1,23 @@ +// 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. + +//////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////// +namespace System { + + using System; + // Custom attribute to indicate that the enum + // should be treated as a bitfield (or set of flags). + // An IDE may use this information to provide a richer + // development experience. + [Serializable] + [AttributeUsage(AttributeTargets.Enum, Inherited = false)] + [System.Runtime.InteropServices.ComVisible(true)] + public class FlagsAttribute : Attribute + { + public FlagsAttribute() + { + } + } +} |