NRefactory
NRefactory copied to clipboard
Formatter does not work for anonymous type creation
The formatter does not seem to do anything with anonymous type creation.
var anonymous = new {
x = 1,
y = 2,
z = 3,
w = 4
};
The formatter seems to just leave the code between the {} as is. (Though, strangely, copy-pasting the code to MonoDevelop seems to correctly indent it)
I believe this may happen because there is no VisitAnonymousTypeCreateExpression method in FormattingVisitor_Expressions.