CompileTimeValidate(LocationInfo) Method
PostSharp Infrastructure. Method invoked at build time to ensure that the aspect has been applied to the right target.
'Declaration
Public Overloads Overrides Function CompileTimeValidate( _
ByVal As PostSharp.Reflection.LocationInfo _
) As Boolean
public override bool CompileTimeValidate(
PostSharp.Reflection.LocationInfo
)
Parameters
- locationInfo
Return Value
true if the aspect was applied to an acceptable target, otherwise false.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
Reference
GField Class
GField Members
Overload List
Base Implementation in CompileTimeValidate(LocationInfo)