Commit Graph
5 Commits
Author SHA1 Message Date
Miguel de Icaza dd82b6b192 More removal of old defines
svn path=/trunk/mcs/; revision=145612
2009-11-06 21:29:51 +00:00
Sebastien Pouliot 365294284f In .:
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
2009-10-18 15:01:04 +00:00
Miguel de Icaza d05e5cd463 2008-05-08 Miguel de Icaza <[email protected]>
* 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
2008-05-08 22:20:07 +00:00
Gert Driesen 799c8514f1 * RuntimeResourceSet.cs: On 2.0 profile, throw ObjectDisposedException
when ResourceSet is disposed.

svn path=/trunk/mcs/; revision=98388
2008-03-15 12:43:40 +00:00
Sebastien Pouliot bf1c061517 2008-03-04 Sebastien Pouliot <[email protected]>
* 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
2008-03-04 13:44:30 +00:00