summaryrefslogtreecommitdiff
path: root/src/mscorlib/src/System/FlagsAttribute.cs
blob: cb955cf3a13db36e4ef37c9979d804e048a59bcd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// 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 {
    
    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.
    [Serializable]
    [AttributeUsage(AttributeTargets.Enum, Inherited = false)]
    [System.Runtime.InteropServices.ComVisible(true)]
    public class FlagsAttribute : Attribute
    {
        public FlagsAttribute()
        {
        }
    }
}