|
@@ -6,14 +6,12 @@
|
|
|
{
|
|
|
public bool Equals(CallStackElement x, CallStackElement y)
|
|
|
{
|
|
|
- return x.CallExpression == y.CallExpression || x.Function == y.Function;
|
|
|
+ return x.Function == y.Function;
|
|
|
}
|
|
|
|
|
|
public int GetHashCode(CallStackElement obj)
|
|
|
{
|
|
|
- // TO DO have not found good hash function yet
|
|
|
- // not sure it can be done for OR logic
|
|
|
- return 0;
|
|
|
+ return obj.Function.GetHashCode();
|
|
|
}
|
|
|
}
|
|
|
}
|