Modifiers Enum

Specifies the modifiers that can be applied to type and member declarations.

[Flags]
public enum Modifiers

Fields

NameValueDescription
None0No modifiers.
Private1Private access modifier.
Protected2Protected access modifier.
Internal4Internal access modifier.
Public8Public access modifier.
Abstract16Abstract modifier.
Async32Async modifier.
Const64Const modifier.
New128New modifier.
Override256Override modifier.
Partial512Partial modifier.
ReadOnly1024ReadOnly modifier.
Sealed2048Sealed modifier.
Static4096Static modifier.
Unsafe8192Unsafe modifier.
Virtual16384Virtual modifier.
Volatile32768Volatile modifier.
Implicit65536Implicit operator modifier.
Explicit131072Explicit operator modifier.
Ref262144Ref modifier.