summaryrefslogtreecommitdiff
path: root/Binaries
diff options
context:
space:
mode:
authorGravatar chrishaw <unknown>2015-03-17 16:21:48 -0700
committerGravatar chrishaw <unknown>2015-03-17 16:21:48 -0700
commitcabfb9e130591e87f8f5162f3d7a7c1a74ffdcd1 (patch)
tree01f9ebe2a26054d301a340c3633819306a36a36f /Binaries
parentf3aec1ea3cd22edf386b8ded4d705d2c41b1ecc7 (diff)
Add LongLength methods to Set/Map in DafnyRuntime.cs
Diffstat (limited to 'Binaries')
-rw-r--r--Binaries/DafnyRuntime.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/Binaries/DafnyRuntime.cs b/Binaries/DafnyRuntime.cs
index 726731e3..ef6da67e 100644
--- a/Binaries/DafnyRuntime.cs
+++ b/Binaries/DafnyRuntime.cs
@@ -31,6 +31,9 @@ namespace Dafny
public int Length {
get { return dict.Count; }
}
+ public long LongLength {
+ get { return dict.Count; }
+ }
public IEnumerable<T> Elements {
get {
return dict.Keys;
@@ -362,6 +365,9 @@ namespace Dafny
public int Length {
get { return dict.Count; }
}
+ public long LongLength {
+ get { return dict.Count; }
+ }
public bool Equals(Map<U, V> other) {
foreach (U u in dict.Keys) {
V v1, v2;