Please see "Steps to reproduce".Note that the program works fine when no serialization dll is generated. And the program works fine when the declaration of StringList is moved before the declaration of MyStringCollection (because this changes the types contained in the serialization dll).What I especially dislike with this issue is that the failure is completely silent - no errors, no exceptions.
Visual Studio/Team Foundation Server/.NET Framework Tooling Version
Steps to reproduce
Operating System Language