Commit Graph
6 Commits
Author SHA1 Message Date
Alexander Olk e325f817ae Throw an ArgumentNullException if value or objectName is null.
svn path=/trunk/mcs/; revision=67095
2006-10-29 16:42:31 +00:00
Alexander Olk c5bf894ac1 * ComponentResourceManager.cs: Make ApplyResources work.
Instead of iterating through the resource set table we now
	  read the property infos of an object and check if there is
	  an item in the resource set for each property info. This makes
	  it finally possible to create language dependent resources
	  that do not have to include everything from a parent culture
	  resource (mostly invariant culture).

2006-10-29 Alexander Olk <[email protected]>


svn path=/trunk/mcs/; revision=67090
2006-10-29 16:01:25 +00:00
Alexander Olk 31181ed8f3 In System/System.ComponentModel:
2006-10-29 Alexander Olk <[email protected]>

	* ComponentResourceManager.cs: Don't close the resource set in
	  ApplyResources, it is possible to call ApplyResources multiple
	  times. Closing the resource set means that it gets disposed.
	  Fixes bug #79182.

In corlib/System.Resources:
2006-10-29  Alexander Olk  <[email protected]>

	* ResourceSet.cs, ResourceManager.cs: Calling ResourceSet.Close()
	  disposes a resource set. A closed resource set will now be
	  removed from ResourceSets. Fixes bug #79182.


svn path=/trunk/mcs/; revision=67076
2006-10-29 10:02:00 +00:00
Duncan Mak 24f5ef2c44 Add MIT license to System.dll
svn path=/trunk/mcs/; revision=30054
2004-06-21 18:02:11 +00:00
Lluis Sanchez c315382a2a * AmbientValueAttribute.cs, EnumConverter.cs, ListChangedEventArgs.cs:
Removed unneded TODOs.
	* ComponentResourceManager.cs: Implemented ApplyResources.
	* EventDescriptorCollection.cs: Implemented several missing methods.
	* LicFileLicenseProvider.cs: Implemented.
	* MemberDescriptor.cs: Implemented some missing methods. Handle correctly
	  the creation of the Attribute list.
	* TypeConverter.cs: Use null as default value for attribute array parameter.

svn path=/trunk/mcs/; revision=25229
2004-04-08 19:49:21 +00:00
Andreas N 9a51f6d100 2003-11-12 Andreas Nahr <[email protected]>
* ComponentResourceManager.cs: Added and partially implemented

svn path=/trunk/mcs/; revision=19907
2003-11-12 20:22:54 +00:00