summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.OpenId/Configuration
diff options
context:
space:
mode:
Diffstat (limited to 'src/DotNetOpenAuth.OpenId/Configuration')
-rw-r--r--src/DotNetOpenAuth.OpenId/Configuration/OpenIdElement.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth.OpenId/Configuration/OpenIdElement.cs b/src/DotNetOpenAuth.OpenId/Configuration/OpenIdElement.cs
index af038f2..e7b856e 100644
--- a/src/DotNetOpenAuth.OpenId/Configuration/OpenIdElement.cs
+++ b/src/DotNetOpenAuth.OpenId/Configuration/OpenIdElement.cs
@@ -87,7 +87,7 @@ namespace DotNetOpenAuth.Configuration {
}
set {
- Contract.Requires<ArgumentOutOfRangeException>(value > TimeSpan.Zero);
+ Requires.InRange(value > TimeSpan.Zero, "value");
this[MaxAuthenticationTimePropertyName] = value;
}
}