FlagsAttribute.cs 757 B

123456789101112131415161718192021
  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. namespace System
  7. {
  8. // Custom attribute to indicate that the enum
  9. // should be treated as a bitfield (or set of flags).
  10. // An IDE may use this information to provide a richer
  11. // development experience.
  12. [AttributeUsage(AttributeTargets.Enum, Inherited = false)]
  13. public class FlagsAttribute : Attribute
  14. {
  15. public FlagsAttribute()
  16. {
  17. }
  18. }
  19. }