diff options
Diffstat (limited to 'src/mscorlib/shared/System/FlagsAttribute.cs')
-rw-r--r-- | src/mscorlib/shared/System/FlagsAttribute.cs | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/mscorlib/shared/System/FlagsAttribute.cs b/src/mscorlib/shared/System/FlagsAttribute.cs new file mode 100644 index 0000000000..5f8c108ae4 --- /dev/null +++ b/src/mscorlib/shared/System/FlagsAttribute.cs @@ -0,0 +1,22 @@ +// 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 +{ + // 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)] + public class FlagsAttribute : Attribute + { + public FlagsAttribute() + { + } + } +} |