2008-03-05 09:52:00 -05:00
|
|
|
// ==++==
|
|
|
|
//
|
|
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
//
|
|
|
|
// ==--==
|
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
2008-11-17 18:29:00 -05:00
|
|
|
namespace System
|
|
|
|
{
|
2008-03-05 09:52:00 -05:00
|
|
|
|
|
|
|
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.
|
|
|
|
//| <include path='docs/doc[@for="FlagsAttribute"]/*' />
|
|
|
|
[AttributeUsage(AttributeTargets.Enum, Inherited = false)]
|
|
|
|
public class FlagsAttribute : Attribute
|
|
|
|
{
|
|
|
|
//| <include path='docs/doc[@for="FlagsAttribute.FlagsAttribute"]/*' />
|
|
|
|
public FlagsAttribute()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|