Class DeadlockDetectionPolicy
Detects deadlocks occurring because of circular wait conditions.
Implements
Namespace: PostSharp.Patterns.Threading
Assembly: PostSharp.Patterns.Threading.dll
Syntax
[Metric("UsedFeatures", "PostSharp.Patterns.Threading.DeadlockDetectionPolicy")]
[LinesOfCodeAvoided(0)]
[Serializer]
public sealed class DeadlockDetectionPolicy : AssemblyLevelAspect, IAspectBuildSemantics, IValidableAnnotation, IAssemblyLevelAspect, IAssemblyLevelAspectBuildSemantics, IAspectProvider, IAspect, IService
Constructors
Name | Description |
---|---|
DeadlockDetectionPolicy() | |
DeadlockDetectionPolicy(PortableFormatterConstructorContext) |
Methods
Name | Description |
---|---|
CompileTimeValidate(Assembly) | Method invoked at build time to ensure that the aspect has been applied to the right target. |
IsEnabled(Assembly) | Determines whether an Assembly has been instrumented for deadlock detection. |
Explicit Interface Implementations
Name | Description |
---|---|
IAspectProvider.ProvideAspects(Object) |