diff options
author | wuestholz <unknown> | 2013-08-05 10:23:41 -0700 |
---|---|---|
committer | wuestholz <unknown> | 2013-08-05 10:23:41 -0700 |
commit | f89732676bc18182314f91a77821e2194a2616dc (patch) | |
tree | 3066125d01b810ee26382098629995fac7e13616 /Source/VCGeneration/Check.cs | |
parent | d5a32ffd75e5723a5f2a6f9d6a5b50b3e692a0ff (diff) |
Fixed several build errors in the 'Checked' configuration.
Diffstat (limited to 'Source/VCGeneration/Check.cs')
-rw-r--r-- | Source/VCGeneration/Check.cs | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/Source/VCGeneration/Check.cs b/Source/VCGeneration/Check.cs index 62451caa..2237c2fc 100644 --- a/Source/VCGeneration/Check.cs +++ b/Source/VCGeneration/Check.cs @@ -57,7 +57,7 @@ namespace Microsoft.Boogie { public void GetReady()
{
- Contract.Requires(status == CheckerStatus.Idle);
+ Contract.Requires(IsIdle);
status = CheckerStatus.Ready;
}
@@ -268,6 +268,14 @@ namespace Microsoft.Boogie { }
}
+ public bool IsReady
+ {
+ get
+ {
+ return status == CheckerStatus.Ready;
+ }
+ }
+
public bool IsClosed {
get {
return status == CheckerStatus.Closed;
@@ -334,7 +342,7 @@ namespace Microsoft.Boogie { Contract.Requires(descriptiveName != null);
Contract.Requires(vc != null);
Contract.Requires(handler != null);
- Contract.Requires(status == CheckerStatus.Ready);
+ Contract.Requires(IsReady);
status = CheckerStatus.Busy;
hasOutput = false;
|