This is the online documentation for PostSharp 5.0.
Download PDF or CHM. Go to v4.3 or v5.0

LocationValidationContext Enumeration

Enumerates the possible contexts in which the location validation advices can be invoked.

Namespace:  PostSharp.Aspects
Assembly:  PostSharp (in PostSharp.dll) Version: (
public enum LocationValidationContext
  Member nameValueDescription
Precondition1 The value is being validated on method entry.
SuccessPostcondition2 The value is being validated just before the method successfully returns.
This enumeration can be passed as an argument to the method marked with the LocationValidationAdvice attribute.
See Also