dotnet/roslyn

Scripting: Improve formatting of anonymous types

Open

#6,103 opened on Oct 17, 2015

View on GitHub
 (1 comment) (0 reactions) (0 assignees)C# (4,257 forks)batch import
Area-InteractiveFeature RequestInteractive-ScriptingIDEhelp wanted

Repository metrics

Stars
 (20,414 stars)
PR merge metrics
 (Avg merge 5d 21h) (286 merged PRs in 30d)

Description

Instead of

> new { X = 1, Y = 2 }
<>f__AnonymousType0#4<int, int>(\{ X = 1, Y = 2 })

Print something like

> new { X = 1, Y = 2 }
{ X = 1, Y = 2 }

Contributor guide