1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // See the LICENSE file in the project root for more information.
4 
5 ////////////////////////////////////////////////////////////////////////////////
6 ////////////////////////////////////////////////////////////////////////////////
7 
8 namespace System
9 {
10     // Custom attribute to indicate that the enum
11     // should be treated as a bitfield (or set of flags).
12     // An IDE may use this information to provide a richer
13     // development experience.
14     [AttributeUsage(AttributeTargets.Enum, Inherited = false)]
15     public class FlagsAttribute : Attribute
16     {
FlagsAttribute()17         public FlagsAttribute()
18         {
19         }
20     }
21 }
22