Table of Contents

Enum TypeModifiers

Namespace
Garyon.Reflection
Assembly
Garyon.dll

Contains values representing the modifiers of a Type.

[Flags]
public enum TypeModifiers : ushort
Extension Methods

Fields

Abstract = 512

The abstract modifier.

AllAccessibilities = 127

All accessibility modifiers.

AllDefinitions = Static | Abstract | Sealed | ReadonlyRef

All definition modifiers.

AllModifiers = AllAccessibilities | AllDefinitions

All modifiers.

File = 8192

The file modifier.

Internal = 2

The internal modifier.

InternalAbstract = Internal | Abstract

The internal abstract modifier combination.

InternalReadonly = Internal | Readonly

The internal readonly modifier combination.

InternalReadonlyRef = Internal | ReadonlyRef

The internal readonly ref modifier combination.

InternalRef = Internal | Ref

The internal ref modifier combination.

InternalSealed = Internal | Sealed

The internal sealed modifier combination.

InternalStatic = Internal | Static

The internal static modifier combination.

None = 0

The default value, representing no type modifiers.

Private = 32

The private modifier.

PrivateAbstract = Private | Abstract

The private abstract modifier combination.

PrivateProtected = 16

The private protected modifier.

PrivateProtectedAbstract = PrivateProtected | Abstract

The private protected abstract modifier combination.

PrivateProtectedReadonly = PrivateProtected | Readonly

The private protected readonly modifier combination.

PrivateProtectedReadonlyRef = PrivateProtected | ReadonlyRef

The private protected readonly ref modifier combination.

PrivateProtectedRef = PrivateProtected | Ref

The private protected ref modifier combination.

PrivateProtectedSealed = PrivateProtected | Sealed

The private protected sealed modifier combination.

PrivateProtectedStatic = PrivateProtected | Static

The private protected static modifier combination.

PrivateReadonly = Private | Readonly

The private readonly modifier combination.

PrivateReadonlyRef = Private | ReadonlyRef

The private readonly ref modifier combination.

PrivateRef = Private | Ref

The private ref modifier combination.

PrivateSealed = Private | Sealed

The private sealed modifier combination.

PrivateStatic = Private | Static

The private static modifier combination.

Protected = 8

The protected modifier.

ProtectedAbstract = Protected | Abstract

The protected abstract modifier combination.

ProtectedInternal = 4

The protected internal modifier.

ProtectedInternalAbstract = ProtectedInternal | Abstract

The protected internal abstract modifier combination.

ProtectedInternalReadonly = ProtectedInternal | Readonly

The protected internal readonly modifier combination.

ProtectedInternalReadonlyRef = ProtectedInternal | ReadonlyRef

The protected internal readonly ref modifier combination.

ProtectedInternalRef = ProtectedInternal | Ref

The protected internal ref modifier combination.

ProtectedInternalSealed = ProtectedInternal | Sealed

The protected internal sealed modifier combination.

ProtectedInternalStatic = ProtectedInternal | Static

The protected internal static modifier combination.

ProtectedReadonly = Protected | Readonly

The protected readonly modifier combination.

ProtectedReadonlyRef = Protected | ReadonlyRef

The protected readonly ref modifier combination.

ProtectedRef = Protected | Ref

The protected ref modifier combination.

ProtectedSealed = Protected | Sealed

The protected sealed modifier combination.

ProtectedStatic = Protected | Static

The protected static modifier combination.

Public = 1

The public modifier.

PublicAbstract = Public | Abstract

The public abstract modifier combination.

PublicReadonly = Public | Readonly

The public readonly modifier combination.

PublicReadonlyRef = Public | ReadonlyRef

The public readonly ref modifier combination.

PublicRef = Public | Ref

The public ref modifier combination.

PublicSealed = Public | Sealed

The public sealed modifier combination.

PublicStatic = Public | Static

The public static modifier combination.

Readonly = 2048

The readonly modifier.

ReadonlyRef = Readonly | Ref

The readonly ref modifier.

Ref = 4096

The ref modifier.

Sealed = 1024

The sealed modifier.

Static = 256

The static modifier.