Base class for ReaderAttribute, WriterAttribute, YielderAttribute, and UpgradeableReaderAttribute.
Inheritance
AccessLevelAttribute
Implements
Namespace: PostSharp.Patterns.Threading
Assembly: PostSharp.Patterns.Threading.dll
Syntax
[MulticastAttributeUsage(MulticastTargets.Method, TargetMemberAttributes = MulticastAttributes.Instance, AllowMultiple = false, Inheritance = MulticastInheritance.Strict)]
[AttributeUsage(AttributeTargets.Assembly|AttributeTargets.Class|AttributeTargets.Method)]
public abstract class AccessLevelAttribute : MulticastAttribute, IValidableAnnotationRemarks
These attributes specify the access level that an instance method of a class annotated with ReaderWriterSynchronizedAttribute requires on the object. A warning is emitted at build time when one of these attributes is applied to a method of a class that has no threading model.
Constructors
| Name | Description |
|---|---|
| AccessLevelAttribute() |