Open sandboxFocus

Enum ObjectAccessLevel

Enumeration of access levels that methods of execution scopes can require on an object.

Namespace: PostSharp.Patterns.Model
Assembly: PostSharp.Patterns.Common.dll
Syntax
public enum ObjectAccessLevel

Fields

Name Description
Inherit

Indicates that the access level is inherited from the outer scope.

None

None.

Read

Read-only.

Unchecked

Disables all runtime verification of access permissions.

Unknown

The required access level is unknown; maximal access is required.

UpgradeableRead

Read-only access that prevents other threads from acquiring Write or UpgradeableRead access.

Write

Read-write.

Yield

Indicates that the control flow is passed to another object.