PostSharp / / API Reference / Post­Sharp.​Patterns.​Contracts / Location­Contract­Attribute / Create­Argument­Out­Of­Range­Exception

Method CreateArgumentOutOfRangeException

CreateArgumentOutOfRangeException(Object, String, LocationKind)

Declaration
protected ArgumentOutOfRangeException CreateArgumentOutOfRangeException(object value, string locationName, LocationKind locationKind)
Parameters
Type Name Description
Object value
String locationName
LocationKind locationKind
Returns
Type Description
ArgumentOutOfRangeException