PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​ThreadingThread­Safety­Policy
Open sandboxFocus

ThreadSafetyPolicy Class

When applied to an assembly, this policy will check for possible concurrency issues.

Inheritance
ThreadSafetyPolicy
Namespace: PostSharp.Patterns.Threading
Assembly: PostSharp.Patterns.Threading.dll
Syntax
[MulticastAttributeUsage]
public sealed class ThreadSafetyPolicy : ScalarConstraint, IScalarConstraint, IConstraint

Constructors

Name Description
ThreadSafetyPolicy() PostSharp.Patterns.Threading.ThreadSafetyPolicy

Methods

Name Description
ValidateCode(Object)

Validates the element of code to which the constraint is applied.