diff options
author | tabarbe <unknown> | 2010-07-30 23:51:12 +0000 |
---|---|---|
committer | tabarbe <unknown> | 2010-07-30 23:51:12 +0000 |
commit | f513d6f3716b7c963e30ca3d004cf6a40d2f68c5 (patch) | |
tree | d48da550e015065c526c00674566a12da3a78686 | |
parent | 9c063705591fccead61f90297bb4ea0749247059 (diff) |
Boogie: The deletion of those files did not hold, lemme try again.
-rw-r--r-- | Source/Provers/SMTLib/cce.cs | 76 | ||||
-rw-r--r-- | Source/Provers/Simplify/cce.cs | 82 | ||||
-rw-r--r-- | Source/Provers/Z3/cce.cs | 81 |
3 files changed, 0 insertions, 239 deletions
diff --git a/Source/Provers/SMTLib/cce.cs b/Source/Provers/SMTLib/cce.cs deleted file mode 100644 index 1229931c..00000000 --- a/Source/Provers/SMTLib/cce.cs +++ /dev/null @@ -1,76 +0,0 @@ -using System;
-using System.Collections.Generic;
-using System.Diagnostics.Contracts;
-using System.Text;
-using Microsoft.Boogie;
-
- /// <summary>
- /// A class containing static methods to extend the functionality of Code Contracts
- /// </summary>
-
-public static class cce {
- [Pure]
- public static T NonNull<T>(T t) {
- Contract.Assert(t != null);
- return t;
- }
- [Pure]
- public static bool NonNullElements<T>(IEnumerable<T> collection) {
- return collection != null && Contract.ForAll(collection, c => c != null);
- }
- [Pure]
- public static bool NonNullElements<TKey, TValue>(IDictionary<TKey, TValue> collection) {
- return collection != null && NonNullElements(collection.Keys) && NonNullElements(collection.Values);
- }
- [Pure]
- public static bool NonNullElements(VariableSeq collection) {
- return collection != null && Contract.ForAll(0, collection.Length, i => collection[i] != null);
- }
- public class UnreachableException : Exception {
- public UnreachableException() {
- }
- }
- [Pure]
- public static void BeginExpose(object o) {
- }
- [Pure]
- public static void EndExpose() {
- }
- public static bool IsPeerConsistent(this object o) {
- return true;
- }
- public static bool IsConsistent(this object o) {
- return true;
- }
- public static bool IsExposable(this object o) {
- return true;
- }
- public static class Owner {
- [Pure]
- public static bool Same(object o, object p) {
- return true;
- }
- public static void AssignSame(object o, object p) {
- }
- public static object ElementProxy(object o) {
- return o;
- }
- public static bool None(object o) {
- return true;
- }
- }
- internal static void LoopInvariant(bool p) {
- Contract.Assert(p);
- }
-}
-
-public class PeerAttribute : System.Attribute {
-}
-public class RepAttribute : System.Attribute {
-}
-public class CapturedAttribute : System.Attribute {
-}
-public class NotDelayedAttribute : System.Attribute {
-}
-public class NoDefaultContractAttribute : System.Attribute {
-}
\ No newline at end of file diff --git a/Source/Provers/Simplify/cce.cs b/Source/Provers/Simplify/cce.cs deleted file mode 100644 index 1799d4ab..00000000 --- a/Source/Provers/Simplify/cce.cs +++ /dev/null @@ -1,82 +0,0 @@ -using System;
-using System.Collections.Generic;
-using System.Diagnostics.Contracts;
-using System.Text;
-using Microsoft.Boogie;
-
- /// <summary>
- /// A class containing static methods to extend the functionality of Code Contracts
- /// </summary>
-
-public static class cce {
- [Pure]
- public static T NonNull<T>(T t) {
- Contract.Assert(t != null);
- return t;
- }
- [Pure]
- public static bool NonNullElements<T>(IEnumerable<T> collection) {
- return collection != null && Contract.ForAll(collection, c => c != null);
- }
- [Pure]
- public static bool NonNullElements<TKey, TValue>(IDictionary<TKey, TValue> collection) {
- return collection != null && NonNullElements(collection.Keys) && NonNullElements(collection.Values);
- }
- [Pure]
- public static bool NonNullElements(VariableSeq collection) {
- return collection != null && Contract.ForAll(0, collection.Length, i => collection[i] != null);
- }
- public class UnreachableException : Exception {
- public UnreachableException() {
- }
- }
- [Pure]
- public static void BeginExpose(object o) {
- }
- [Pure]
- public static void EndExpose() {
- }
- public static bool IsPeerConsistent(object o) {
- return true;
- }
- public static bool IsConsistent(object o) {
- return true;
- }
- public static bool IsExposable(object o) {
- return true;
- }
- internal static bool IsExposed(object o) {
- return true;
- }
- public static class Owner {
- [Pure]
- public static bool Same(object o, object p) {
- return true;
- }
- public static void AssignSame(object o, object p) {
- }
- public static object ElementProxy(object o) {
- return o;
- }
- public static bool None(object o) {
- return true;
- }
- }
- internal static void LoopInvariant(bool p) {
- Contract.Assert(p);
- }
-}
-
-public class PeerAttribute : System.Attribute {
-}public class RepAttribute : System.Attribute {
-}public class CapturedAttribute : System.Attribute {
-}public class NotDelayedAttribute : System.Attribute {
-}public class NoDefaultContractAttribute : System.Attribute {
-}public class VerifyAttribute : System.Attribute {
- public VerifyAttribute(bool b) {
-
- }
-}public class StrictReadonlyAttribute : System.Attribute {
- }
-public class AdditiveAttribute : System.Attribute {
-}
\ No newline at end of file diff --git a/Source/Provers/Z3/cce.cs b/Source/Provers/Z3/cce.cs deleted file mode 100644 index ad0b7152..00000000 --- a/Source/Provers/Z3/cce.cs +++ /dev/null @@ -1,81 +0,0 @@ -using System;
-using System.Collections.Generic;
-using System.Diagnostics.Contracts;
-using System.Text;
-using Microsoft.Boogie;
-
- /// <summary>
- /// A class containing static methods to extend the functionality of Code Contracts
- /// </summary>
-
-public static class cce {
- [Pure]
- public static T NonNull<T>(T t) {
- Contract.Assert(t != null);
- return t;
- }
- [Pure]
- public static bool NonNullElements<T>(IEnumerable<T> collection) {
- return collection != null && Contract.ForAll(collection, c => c != null);
- }
-
- [Pure]
- public static bool NonNullElements<TKey, TValue>(IDictionary<TKey, TValue> collection) {
- return collection != null && NonNullElements(collection.Keys) && NonNullElements(collection.Values);
- }
- [Pure]
- public static bool NonNullElements(VariableSeq collection) {
- return collection != null && Contract.ForAll(0, collection.Length, i => collection[i] != null);
- }
-
- public class UnreachableException : Exception {
- public UnreachableException() {
- }
- }
-
- [Pure]
- public static void BeginExpose(object o) {
- }
- [Pure]
- public static void EndExpose() {
- }
-
- public static bool IsPeerConsistent(this object o) {
- return true;
- }
-
- public static bool IsConsistent(this object o) {
- return true;
- }
-
- public static bool IsExposable(this object o) {
- return true;
- }
- public static class Owner {
- [Pure]
- public static bool Same(object o, object p) {
- return true;
- }
- public static void AssignSame(object o, object p) {
- }
- public static object ElementProxy(object o) {
- return o;
- }
- public static bool None(object o) {
- return true;
- }
- }
-
- internal static void LoopInvariant(bool p) {
- Contract.Assert(p);
- }
-}
-
-public class PeerAttribute : System.Attribute {
-}
-public class RepAttribute : System.Attribute {
-}
-public class CapturedAttribute : System.Attribute {
-}
-public class NotDelayedAttribute : System.Attribute {
-}
\ No newline at end of file |