2010-02-26 Robert Jordan <robertj@gmx.net>
authorRobert Jordan <robertj@gmx.net>
Fri, 26 Feb 2010 20:24:43 +0000 (20:24 -0000)
committerRobert Jordan <robertj@gmx.net>
Fri, 26 Feb 2010 20:24:43 +0000 (20:24 -0000)
commit6ffb4366fcb61742ab7239a3c566c720d23cad9c
tree53607ddaa866986ec59ef5f0a7c3f5f2cb3c5e56
parent721d6efd1488209e055a2338da8fe678a83d6432
2010-02-26  Robert Jordan  <robertj@gmx.net>

* ObjectReader.cs (ReadType, GetDeserializationType):
Add throwOnError parameter that specifies whether to throw an
  exception if the type/assembly is not found.

* ObjectReader.cs (ReadTypeMetadata): Ignore unresolvable
  types while reading the type info. Fixes #430583.

* ObjectReader.cs (GetDeserializationType): Rethrow caught
  exceptions as SerializationExceptions.

svn path=/trunk/mcs/; revision=152579
mcs/class/corlib/System.Runtime.Serialization.Formatters.Binary/ChangeLog
mcs/class/corlib/System.Runtime.Serialization.Formatters.Binary/ObjectReader.cs