summaryrefslogtreecommitdiff
path: root/Source/Core/AbsyExpr.cs
diff options
context:
space:
mode:
authorGravatar qadeer <unknown>2014-08-08 10:40:27 -0700
committerGravatar qadeer <unknown>2014-08-08 10:40:27 -0700
commit1caf1538249bb7694be25521a06afb06107a7104 (patch)
treeecce3cef4feab995a7ad5ce276a149f6b0715c33 /Source/Core/AbsyExpr.cs
parentbbfe57fbf0c7ff2c2b01f6020a7fda199efe15d8 (diff)
parent62cc2929cfb18b017e4b300817532ca15f4be644 (diff)
merge
Diffstat (limited to 'Source/Core/AbsyExpr.cs')
-rw-r--r--Source/Core/AbsyExpr.cs18
1 files changed, 15 insertions, 3 deletions
diff --git a/Source/Core/AbsyExpr.cs b/Source/Core/AbsyExpr.cs
index 8d372b0c..95a11a65 100644
--- a/Source/Core/AbsyExpr.cs
+++ b/Source/Core/AbsyExpr.cs
@@ -1804,10 +1804,10 @@ namespace Microsoft.Boogie {
this.name.Emit(stream, 0xF0, false);
if (stream.UseForComputingChecksums)
{
- var c = Func.DependenciesChecksum;
+ var c = Func.DependencyChecksum;
if (c != null)
{
- stream.Write(string.Format("[dependencies_checksum:{0}]", c));
+ stream.Write(string.Format("[dependency_checksum:{0}]", c));
}
}
stream.Write("(");
@@ -1893,7 +1893,19 @@ namespace Microsoft.Boogie {
this.Type = type;
}
- public string/*!*/ FunctionName {
+ public override bool Equals(object obj) {
+ TypeCoercion other = obj as TypeCoercion;
+ if (other == null) {
+ return false;
+ } else {
+ return object.Equals(Type, other.Type);
+ }
+ }
+
+
+
+ public
+ string/*!*/ FunctionName {
get {
Contract.Ensures(Contract.Result<string>() != null);