summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorGravatar tabarbe <unknown>2010-08-09 15:46:37 +0000
committerGravatar tabarbe <unknown>2010-08-09 15:46:37 +0000
commit378caef76d846b8a587de40d75ff0c903af095c3 (patch)
tree496fc03f5db5a33e092e52c78572991c4f0736d8 /Source
parente308fe8b4ea5e3a698ac0c843d388f95d32d3bde (diff)
Boogie: Added the #if CONTRACTS_FULL statement around all usages of cce.cs
Diffstat (limited to 'Source')
-rw-r--r--Source/AbsInt/cce.cs6
-rw-r--r--Source/BoogieDriver/cce.cs6
-rw-r--r--Source/VCGeneration/cce.cs6
3 files changed, 12 insertions, 6 deletions
diff --git a/Source/AbsInt/cce.cs b/Source/AbsInt/cce.cs
index c8d7a4ab..8666256e 100644
--- a/Source/AbsInt/cce.cs
+++ b/Source/AbsInt/cce.cs
@@ -1,4 +1,5 @@
-using System;
+#if CONTRACTS_FULL
+using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Text;
@@ -59,4 +60,5 @@ public class PeerAttribute : System.Attribute {
public class RepAttribute : System.Attribute {
}
public class CapturedAttribute : System.Attribute {
-} \ No newline at end of file
+}
+#endif \ No newline at end of file
diff --git a/Source/BoogieDriver/cce.cs b/Source/BoogieDriver/cce.cs
index 34749b5f..f97ffd96 100644
--- a/Source/BoogieDriver/cce.cs
+++ b/Source/BoogieDriver/cce.cs
@@ -1,4 +1,5 @@
-using System;
+#if CONTRACTS_FULL
+using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Text;
@@ -101,4 +102,5 @@ public class ReadsAttribute : System.Attribute {
};
public ReadsAttribute(object o) {
}
-} \ No newline at end of file
+}
+#endif \ No newline at end of file
diff --git a/Source/VCGeneration/cce.cs b/Source/VCGeneration/cce.cs
index 34749b5f..f97ffd96 100644
--- a/Source/VCGeneration/cce.cs
+++ b/Source/VCGeneration/cce.cs
@@ -1,4 +1,5 @@
-using System;
+#if CONTRACTS_FULL
+using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Text;
@@ -101,4 +102,5 @@ public class ReadsAttribute : System.Attribute {
};
public ReadsAttribute(object o) {
}
-} \ No newline at end of file
+}
+#endif \ No newline at end of file