summaryrefslogtreecommitdiff
path: root/Source/AbsInt/IntervalDomain.cs
diff options
context:
space:
mode:
authorGravatar Rustan Leino <unknown>2014-02-10 18:14:46 -0800
committerGravatar Rustan Leino <unknown>2014-02-10 18:14:46 -0800
commit8567d68f7f04f87b2d4270e18713bdcdf4d26031 (patch)
tree75e633b53ac24d35c2d8d51641736a6b6e22ac99 /Source/AbsInt/IntervalDomain.cs
parente2feccce72c3f6b6d7ef0ab6c82675e1ff86a5f1 (diff)
Fixed errors in the use of Code Contracts
Diffstat (limited to 'Source/AbsInt/IntervalDomain.cs')
-rw-r--r--Source/AbsInt/IntervalDomain.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/AbsInt/IntervalDomain.cs b/Source/AbsInt/IntervalDomain.cs
index 0e095c44..0dbcaaba 100644
--- a/Source/AbsInt/IntervalDomain.cs
+++ b/Source/AbsInt/IntervalDomain.cs
@@ -39,6 +39,7 @@ namespace Microsoft.Boogie.AbstractInterpretation
public readonly BigInteger? Lo;
public readonly BigInteger? Hi;
public Node Next; // always sorted according to StrictlyBefore; readonly after full initialization
+ [Pure]
public static bool StrictlyBefore(Variable a, Variable b) {
Contract.Assert(a.UniqueId != b.UniqueId || a == b);
return a.UniqueId < b.UniqueId;