diff options
author | wuestholz <unknown> | 2013-08-09 09:41:05 -0700 |
---|---|---|
committer | wuestholz <unknown> | 2013-08-09 09:41:05 -0700 |
commit | 59a8eec60863aa97b4ed28344e3250253ae08247 (patch) | |
tree | c521f5c83f9db67c7a1b461c4394e60ae0458bfd /Source | |
parent | 46c713122438ad34ab17dcf326fb05058b5ab03d (diff) |
Fixed a contract.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/VCGeneration/ConditionGeneration.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/VCGeneration/ConditionGeneration.cs b/Source/VCGeneration/ConditionGeneration.cs index 0ea08356..ca5772ed 100644 --- a/Source/VCGeneration/ConditionGeneration.cs +++ b/Source/VCGeneration/ConditionGeneration.cs @@ -976,7 +976,7 @@ namespace VC { protected Checker FindCheckerFor(int timeout, bool isBlocking = true)
{
- Contract.Ensures(Contract.Result<Checker>() != null);
+ Contract.Ensures(!isBlocking || Contract.Result<Checker>() != null);
var maxRetries = 3;
lock (checkers)
|