zspitz / ExpressionTreeVisualizer

Debugging visualizer for expression trees
MIT License
339 stars 26 forks source link

Object notation formatter should ignore ArgumentCount property #90

Closed zspitz closed 5 years ago

zspitz commented 5 years ago

Describe the bug
When using the object notation formatter, the ArgumentCount property should not be displayed.

To Reproduce

var lst = new List<string>();
var lmbd = Lambda(
    Call(
        typeof(Enumerable).GetMethod("Distinct"),
        Convert(lst,
            typeof(IEnumerable<string>)
        )
    )
);
lmbd.ToString("Object notation");