There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
class AltSerialize<T> crashes when the serialiser tests the key class
Symptons: Serializer populates the Dictionary with empty key and value objects.
Cause: An exception is thrown while AltSerialize tests the serialisation speed of a blank key object. This exception is handled, but there is no catch clause to pick it up. It simply goes straight to the "finally". This leaves the poor end user with
the need to compile the projects, run in it debug mode and a steep learning curve to isolate the problem! But we got there.
Exception thrown: the standard dictionary key already exists exception. (why would it do that in the phase where it is testing the serialisers with a blank object and an empty dictionary?)
Workaround: comment out the whole AltSerialize<T> class (good job I have implemented the ISerialize interface?), rebuild the project and it all springs into life.