summaryrefslogtreecommitdiff
path: root/Source/Core/Inline.cs
diff options
context:
space:
mode:
authorGravatar Ally Donaldson <unknown>2013-07-22 18:05:27 +0100
committerGravatar Ally Donaldson <unknown>2013-07-22 18:05:27 +0100
commitafaeb081ffcc1c258db6eb7c34ba0b04c493919a (patch)
treed0b07c3e3082f323e17523a3e695dc18ee61062d /Source/Core/Inline.cs
parent858d43ff93a0cc9bc30ce55906499fb9157124c9 (diff)
More refactoring towards replacing PureCollections.Sequence with List
Diffstat (limited to 'Source/Core/Inline.cs')
-rw-r--r--Source/Core/Inline.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/Inline.cs b/Source/Core/Inline.cs
index 47cf25d3..d2acca18 100644
--- a/Source/Core/Inline.cs
+++ b/Source/Core/Inline.cs
@@ -226,7 +226,7 @@ namespace Microsoft.Boogie {
string label = block.Label;
int lblCount = 0;
- for (int i = 0; i < cmds.Length; ++i) {
+ for (int i = 0; i < cmds.Count; ++i) {
Cmd cmd = cmds[i];
CallCmd callCmd = cmd as CallCmd;
@@ -415,7 +415,7 @@ namespace Microsoft.Boogie {
private CmdSeq RemoveAsserts(CmdSeq cmds) {
CmdSeq newCmdSeq = new CmdSeq();
- for (int i = 0; i < cmds.Length; i++) {
+ for (int i = 0; i < cmds.Count; i++) {
Cmd cmd = cmds[i];
if (cmd is AssertCmd) continue;
newCmdSeq.Add(cmd);
@@ -470,7 +470,7 @@ namespace Microsoft.Boogie {
{
havocVars.Add(codeCopier.Subst(v));
}
- if (havocVars.Length > 0)
+ if (havocVars.Count > 0)
{
inCmds.Add(new HavocCmd(Token.NoToken, havocVars));
}