File: CodeModel\ModifierFlags.cs
Web Access
Project: src\src\VisualStudio\CSharp\Impl\Microsoft.VisualStudio.LanguageServices.CSharp_lqzfqcu5_wpftmp.csproj (Microsoft.VisualStudio.LanguageServices.CSharp)
// 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.
 
#nullable disable
 
using System;
 
namespace Microsoft.VisualStudio.LanguageServices.CSharp.CodeModel
{
    [Flags]
    internal enum ModifierFlags
    {
        // Note: These are in the order that they appear in modifier lists as generated by Code Model.
 
        Public = 1 << 0,
        Protected = 1 << 1,
        Internal = 1 << 2,
        Private = 1 << 3,
        Virtual = 1 << 4,
        Abstract = 1 << 5,
        New = 1 << 6,
        Override = 1 << 7,
        Sealed = 1 << 8,
        Static = 1 << 9,
        Extern = 1 << 10,
        Volatile = 1 << 11,
        ReadOnly = 1 << 12,
        Const = 1 << 13,
        Unsafe = 1 << 14,
        Async = 1 << 15,
        Partial = 1 << 16,
 
        AccessModifierMask = Private | Protected | Internal | Public
    }
}