title: XmlSerializer won't serialize IEnumerable
body: <p>I have an invocation logger that is intended to record all method calls along with the parameters associated with the method using XmlSerializer. It works well for most of the calls, but it throws an exception for all methods that has a parameter of <code>IEnumerable</code> type.</p>
  
  <p>For example, <code>void MethodWithPlace( Place value )</code> would be serialized, but <code>void MethodWithPlace( IEnumerable&lt;Place&gt; value )</code> would not.</p>
  
  <p>The exception is</p>
  
  <blockquote>
    <p>System.NotSupportedException: Cannot serialize interface
    System.Collections.Generic.IEnumerable`1[[Place,
    Test, Version=0.0.0.0, Culture=neutral]].</p>
  </blockquote>
  
  <p>What should I do to make it work with those methods with <code>IEnumerable</code> as one of its parameters?</p>