PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​ThreadingDeadlock­Detection­PolicyCompile­Time­Validate
Open sandboxFocus

DeadlockDetectionPolicy.CompileTimeValidate Method

CompileTimeValidate(Assembly)

Method invoked at build time to ensure that the aspect has been applied to the right target.

Declaration
public override bool CompileTimeValidate(Assembly assembly)
Parameters
Type Name Description
System.Reflection.Assembly assembly

Assembly on which the current aspect is applied.

Returns
Type Description
System.Boolean

true if the aspect was applied to an acceptable target, otherwise false.

Overrides
AssemblyLevelAspect.CompileTimeValidate(Assembly)