svn path=/branches/mainsoft/gh2.2/mcs/; revision=97127
+2008-03-03 Vladimir Krasnov <vladimirk@mainsoft.com>
+
+ * ProvidersHelper.cs: fixed thread safety issue in InstantiateProvider
+
2008-02-18 Vladimir Krasnov <vladimirk@mainsoft.com>
* WebConfigurationManager.cs: performance improvement, cached
using System.Reflection;
using System.Web;
using System.Web.Compilation;
+using System.Collections.Specialized;
namespace System.Web.Configuration {
ProviderBase provider = Activator.CreateInstance (settingsType) as ProviderBase;
- provider.Initialize (providerSettings.Name, providerSettings.Parameters);
+ NameValueCollection col = new NameValueCollection (providerSettings.Parameters);
+ provider.Initialize (providerSettings.Name, col);
return provider;
}