Browse Source

Move memcpy/memset comments before statement.

pull/1246/head
Siegfried Pammer 7 years ago
parent
commit
e00e7b691a
  1. 4
      ICSharpCode.Decompiler/CSharp/StatementBuilder.cs

4
ICSharpCode.Decompiler/CSharp/StatementBuilder.cs

@ -961,7 +961,7 @@ namespace ICSharpCode.Decompiler.CSharp
exprBuilder.Translate(inst.Size)
}
});
stmt.AddChild(new Comment(" IL initblk instruction"), Roles.Comment);
stmt.InsertChildAfter(null, new Comment(" IL initblk instruction"), Roles.Comment);
return stmt;
}
@ -975,7 +975,7 @@ namespace ICSharpCode.Decompiler.CSharp
exprBuilder.Translate(inst.Size)
}
});
stmt.AddChild(new Comment(" IL cpblk instruction"), Roles.Comment);
stmt.InsertChildAfter(null, new Comment(" IL cpblk instruction"), Roles.Comment);
return stmt;
}
}

Loading…
Cancel
Save