summaryrefslogtreecommitdiff
path: root/src/mscorlib/src/System/FlagsAttribute.cs
blob: d9f99c3b28189ec4a867b3333a553b4010fd6612 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license 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()
        {
        }
    }
}