2009-10-18 Sebastien Pouliot <[email protected]>
* corlib.dll.sources: Remove System.IO.IntPtrStream since it can
be replaced by (public in 2.0+) UnmanagedMemoryStream
* net_2_1_raw_corlib.dll.sources: Remove System.IO.IntPtrStream
since it can be replaced by UnmanagedMemoryStream
In System.Resources:
2009-10-18 Sebastien Pouliot <[email protected]>
* ResourceReader.cs, ResourceSet.cs, RuntimeResourceSet.cs: Use
UnmanagedMemoryStream (instead of IntPtrStream)
svn path=/trunk/mcs/; revision=144322
* ResourceSet.cs: Pass the ignoreCase argument, needed to
implement ResourceManager.IgnoreCase.
Silverlight 2.0 applications store "page.xaml" as the key in the
resource keys, but request Page.xaml ones.
* ResourceManager.cs: Avoid exception throwing and catching.
* RutimeResourceSet.cs: Add a constructor that is required to
deserialize Silverlight 2.0 applications when deserializing the
resources that contains the XAML files in assemblies.
We do not take advantage of this new constructor that uses an
IntPtrStream, instead we stick to the Stream API.
svn path=/trunk/mcs/; revision=102841
* ResourceManager.cs: Use RuntimeResourceSet, an internal type, just
like MS does (and tell us indirectly with a Type property).
* ResourceSet.cs: Fix a few problems found with new unit tests. Also
fix some exception parameters.
* RuntimeResourceSet.cs: New. Internal type used by ResourceManager.
ResouceSet cannot be used, as is, because it does not clone objects,
when possible, leading to problems when those objects are disposed.
svn path=/trunk/mcs/; revision=97297