Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Agent.PostSharp Namespace / GField Class / CompileTimeValidate Method / CompileTimeValidate(LocationInfo) Method

In This Topic
    CompileTimeValidate(LocationInfo) Method
    In This Topic
    PostSharp Infrastructure. Method invoked at build time to ensure that the aspect has been applied to the right target.
    Syntax
    'Declaration
     
    
    Public Overloads Overrides Function CompileTimeValidate( _
       ByVal locationInfo As PostSharp.Reflection.LocationInfo _
    ) As Boolean
    public override bool CompileTimeValidate( 
       PostSharp.Reflection.LocationInfo locationInfo
    )

    Parameters

    locationInfo

    Return Value

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

    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

    See Also

    Reference

    GField Class
    GField Members
    Overload List
    Base Implementation in CompileTimeValidate(LocationInfo)