* ComponentResourceManager.cs: In ApplyResources, when culture is
null use CurrentUICulture. Use hashtable, which is case-insensitive
when IgnoreCase is true, to store the resources of the specified
culture and its parent(s). When IgnoreCase is set, perform a
case-insensitive lookup of property. Ignore resources that have no
value, or where the value is not an instance of the property type.
Fixes bug #82674.
* ComponentResourceManagerTest.cs: Added tests for ctors,
ApplyResources and IgnoreCase.
svn path=/trunk/mcs/; revision=85910
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 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
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