PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​ContractsStrictly­Less­Than­AttributeCreate­Exception
Open sandboxFocus

StrictlyLessThanAttribute.CreateException Method

CreateException(Object, String, LocationKind, LocationValidationContext)

Declaration
protected override Exception CreateException(object value, string locationName, LocationKind locationKind, LocationValidationContext context)
Parameters
Type Name Description
Object value
String locationName
LocationKind locationKind
LocationValidationContext context
Returns
Type Description
System.Exception
Overrides
RangeAttribute.CreateException(Object, String, LocationKind, LocationValidationContext)