I'm trying to serialize an object and the following SerializationException is thrown:
Type 'System.Linq.Enumerable+d__71`1[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]' in Assembly 'System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' is not marked as serializable.
Where is this object in my code? How would I find out? The object graph is fairly large.
Try using Reflector and see if you can determine where the anonymous type d__71`1
is being used in your code.