-Fixed bad performance with dynamic

-Added support for creating collections with an IEnumerable<T> constructor
This commit is contained in:
James Newton-King
2013-03-11 17:20:15 +13:00
parent 92de187a74
commit 0e753888d0
10 changed files with 189 additions and 105 deletions
@@ -749,7 +749,7 @@ To fix this error either change the environment to be fully trusted, change the
foreach (string memberName in value.GetDynamicMemberNames())
{
object memberValue;
if (value.TryGetMember(memberName, out memberValue))
if (contract.TryGetMember(value, memberName, out memberValue))
{
try
{