internal static void deSerializeClass(XmlDeSerializer deSerializer, ref T value) { if (value == null) { if (AutoCSer.Metadata.DefaultConstructor <T> .Type == DefaultConstructorType.None) { deSerializer.CheckNoConstructor(ref value, isAnonymousType); if (value == null) { return; } } else { value = AutoCSer.Metadata.DefaultConstructor <T> .Constructor(); } } else if (isAnonymousType) { deSerializer.SetAnonymousType(value); } DeSerializeMembers(deSerializer, ref value); }