Open sandboxFocus

Class AccessLevelAttribute

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, IValidableAnnotation
Remarks

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()

See Also