File: src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Editing\Modifiers.cs
Web Access
Project: src\src\CodeStyle\Core\Analyzers\Microsoft.CodeAnalysis.CodeStyle.csproj (Microsoft.CodeAnalysis.CodeStyle)
// 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.
 
using System;
 
namespace Microsoft.CodeAnalysis.Editing;
 
[Flags]
internal enum Modifiers
{
    // WARNING: Do not reorder these values.  The code style layer takes a dependency on this.  Sharing instances of
    // this, with the workspace layer.  It is fine to add values to the end of this enum.
#pragma warning disable format
    None        = 0,
    Static      = 1 << 0,
    Abstract    = 1 << 1,
    New         = 1 << 2,
    Unsafe      = 1 << 3,
    ReadOnly    = 1 << 4,
    Virtual     = 1 << 5,
    Override    = 1 << 6,
    Sealed      = 1 << 7,
    Const       = 1 << 8,
    WithEvents  = 1 << 9,
    Partial     = 1 << 10,
    Async       = 1 << 11,
    WriteOnly   = 1 << 12,
    Ref         = 1 << 13,
    Volatile    = 1 << 14,
    Extern      = 1 << 15,
    Required    = 1 << 16,
    File        = 1 << 17,
    Fixed       = 1 << 18,
#pragma warning restore format
}