2002-09-13 Nick Drochak <ndrochak@gol.com>
[mono.git] / mcs / class / corlib / System / FlagsAttribute.cs
1 //
2 // System.FlagsAttribute.cs
3 //
4 // Author:
5 //   Miguel de Icaza (miguel@ximian.com)
6 //
7 // (C) Ximian, Inc.  http://www.ximian.com
8 //
9
10 namespace System {
11
12         /// <summary>
13         ///   The FlagsAttribute tags enumerations as bitfields.
14         /// </summary>
15         ///
16         /// <remarks>
17         ///   The FlagsAttribute can be used to tag an enumeration to be 
18         ///   a bit field.  This will allow the compiler and visual tools
19         ///   to treat the bits in an enumeration as a set of flags.
20         /// </remarks>
21
22         [AttributeUsage (AttributeTargets.Enum)]
23         [Serializable]
24         public class FlagsAttribute : Attribute {
25
26                 // No methods.
27                 
28         }
29 }