提交 3ddc99d3 编写于 作者: H Heejae Chang

fix format change on IOperation dumper

上级 ea17e1a3
......@@ -237,7 +237,13 @@ private void VisitArray<T>(IEnumerable<T> list, string header, bool logElementCo
{
Debug.Assert(!string.IsNullOrEmpty(header));
var elementCount = logElementCount ? $"({list.Count()})" : string.Empty;
var count = list.Count();
if (count == 0)
{
return;
}
var elementCount = logElementCount ? $"({count})" : string.Empty;
Indent();
LogString($"{header}{elementCount}: ");
VisitArray(list);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册