summaryrefslogtreecommitdiff
path: root/Source/VCGeneration/VC.cs
diff options
context:
space:
mode:
authorGravatar Ally Donaldson <unknown>2013-07-22 15:10:27 +0100
committerGravatar Ally Donaldson <unknown>2013-07-22 15:10:27 +0100
commit57fb103b7ae870973544f957ae1c230dbf570cdb (patch)
tree6fb2a02844e487dea5708016cbe882fffbdf8e46 /Source/VCGeneration/VC.cs
parent5664c5e30f16b74eae4cdcb0b9ba65d5b030c815 (diff)
Changed Has method of PureSequence to Contains to make refactoring easier.
Diffstat (limited to 'Source/VCGeneration/VC.cs')
-rw-r--r--Source/VCGeneration/VC.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/VCGeneration/VC.cs b/Source/VCGeneration/VC.cs
index 09874382..055a79ad 100644
--- a/Source/VCGeneration/VC.cs
+++ b/Source/VCGeneration/VC.cs
@@ -1830,7 +1830,7 @@ namespace VC {
foreach (AssertCmd a in assertNodes) {
// find the corresponding Block (assertNodes.Count is likely to be 1, or small in any case, so just do a linear search here)
foreach (Block b in traceNodes) {
- if (b.Cmds.Has(a)) {
+ if (b.Cmds.Contains(a)) {
BlockSeq trace = new BlockSeq();
trace.Add(b);
Counterexample newCounterexample = AssertCmdToCounterexample(a, cce.NonNull(b.TransferCmd), trace, model, MvInfo, context);
@@ -2050,7 +2050,7 @@ namespace VC {
{
Contract.Assert(v != null);
IdentifierExpr ie = new IdentifierExpr(Token.NoToken, v);
- if(!havocExprs.Has(ie))
+ if(!havocExprs.Contains(ie))
havocExprs.Add(ie);
}
// pass the token of the enclosing loop header to the HavocCmd so we can reconstruct