Table of Contents

Enum Accessibility

Namespace
ICSharpCode.Decompiler.TypeSystem
Assembly
ICSharpCode.Decompiler.dll

Enum that describes the accessibility of an entity.

public enum Accessibility : byte
Extension Methods

Fields

Internal = 4

The entity is accessible within the same assembly.

None = 0

The entity is completely inaccessible. This is used for C# explicit interface implementations.

Private = 1

The entity is only accessible within the same class.

Protected = 3

The entity is only accessible within the same class and in derived classes.

ProtectedAndInternal = 2

The entity is accessible in derived classes within the same assembly. This corresponds to C# private protected.

ProtectedOrInternal = 5

The entity is accessible both everywhere in the assembly, and in all derived classes. This corresponds to C# protected internal.

Public = 6

The entity is accessible everywhere.