title: "'System.Dynamic.ExpandoObject' does not contain a definition for "PropertyName"
body: <p>I have the following code that generates Dynamic object from XML file:</p>
  
  <p><strong>C#</strong></p>
  
  <pre><code>    private static List&lt;dynamic&gt; GetClientObject()
      {
          var xDoc = XDocument.Load(new StreamReader(xmlPath + @"\client.xml"));
          dynamic root = new ExpandoObject();
          XmlToDynamic.Parse(root, xDoc.Elements().First());
          List&lt;dynamic&gt; clients = new List&lt;dynamic&gt;();
  
          for (int i = 0; i &lt; root.clients.client.Count; i++)
          {
              clients.Add(new ExpandoObject());
              clients[i].Id = root.clients.client[i].id;
              clients[i].Name = root.clients.client[i].name;
              List&lt;string&gt; list = new List&lt;string&gt;();
  
              for (int j = 0; j &lt; root.clients.client[i].emails.email.Count; j++)
              {
                  list.Add(root.clients.client[i].emails.email[j].ToString());
              }
  
              clients[i].Email = string.Join(",", list);
          }
          return clients;
      }
  </code></pre>
  
  <p><strong>XML</strong></p>
  
  <pre><code>&lt;clients&gt;
      &lt;client&gt;
          &lt;id&gt;SomeId&lt;/id&gt;
          &lt;name&gt;SomeName&lt;/name&gt;
          &lt;emails&gt;
              &lt;email&gt;abc@xyz.com&lt;/email&gt;
              &lt;email&gt;def@xyz.com&lt;/email&gt;
              &lt;email&gt;ghi@xyz.com&lt;/email&gt;
          &lt;/emails&gt;
          &lt;timezone&gt;Mountain Standard Time&lt;/timezone&gt;
      &lt;/client&gt;
  &lt;/clients&gt;
  </code></pre>
  
  <p>The code works fine but I always see the following Exception(multiple times) in the IntelliTrace:</p>
  
  <blockquote>
    <p>Exception:Thrown: "'System.Dynamic.ExpandoObject' does not contain a
    definition for 'client'"
    (Microsoft.CSharp.RuntimeBinder.RuntimeBinderException) A
    Microsoft.CSharp.RuntimeBinder.RuntimeBinderException was thrown:
    "'System.Dynamic.ExpandoObject' does not contain a definition for
    'client'"</p>
  </blockquote>
  
  <p>Is there anything wrong with my code?</p>