Support Dynamic Collection Initializers
As part of support DynamicInvocations in collection initializers, I fixed a couple of bugs in C#: 1) Nested collection initializers with a missing Set method would generate an IInvalidOperation when there was nothing invalid in the tree. 2) DynamicMemberReferences weren't being generated for dynamic collection Add calls, so you couldn't tell what method was getting called by the invocation. Addressed a small followup from #27126.
Showing
此差异已折叠。
想要评论请 注册 或 登录