PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Model Namespace / Object­Access­Level Enumeration

ObjectAccessLevel Enumeration

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

Namespace:  PostSharp.Patterns.Model
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: (
public enum ObjectAccessLevel
  Member nameValueDescription
None0 None.
Unknown1 The required access level is unknown; maximal access is required.
Read2 Read-only.
Write3 Read-write.
UpgradeableRead4 Read-only access that prevents other threads from acquiring Write or UpgradeableRead access.
Unchecked5 Disables all runtime verification of access permissions.
Yield6 Indicates that the control flow is passed to another object.
Inherit7 Indicates that the access level is inherited from the outer scope.
See Also