Class ThreadSafetyPolicy
When applied to an assembly, this policy will check for possible concurrency issues.
Namespace: PostSharp.Patterns.Threading
Assembly: PostSharp.Patterns.Threading.dll
Syntax
[MulticastAttributeUsage]
public sealed class ThreadSafetyPolicy : ScalarConstraint, IScalarConstraint, IConstraint
Constructors
Name | Description |
---|---|
ThreadSafetyPolicy() |
Methods
Name | Description |
---|---|
ValidateCode(Object) | Validates the element of code to which the constraint is applied. |