public void TypeDeserialization() { var serializer = new BinarySerializer(TypeSerialized); Assert.AreEqual(Type, serializer.GetTypeInfo()); serializer = new BinarySerializer(TypeSerialized); string assembly, type; Version version; serializer.GetTypeInfo(out assembly, out type, out version); Assert.AreEqual(Type.Assembly.FullName, assembly); Assert.AreEqual(Type.FullName, type); Assert.AreEqual(Type.Assembly.GetName().Version, version); }