Author: kostat
Date: 2007-03-22 12:38:12 -0500 (Thu, 22 Mar 2007)
New Revision: 74824
Modified:
trunk/mcs/class/System.Configuration/System.Configuration/ChangeLog
trunk/mcs/class/System.Configuration/System.Configuration/ConfigInfo.cs
Log:
should be able instantiate types with private ctors
Modified: trunk/mcs/class/System.Configuration/System.Configuration/ChangeLog
===================================================================
--- trunk/mcs/class/System.Configuration/System.Configuration/ChangeLog
2007-03-22 17:34:47 UTC (rev 74823)
+++ trunk/mcs/class/System.Configuration/System.Configuration/ChangeLog
2007-03-22 17:38:12 UTC (rev 74824)
@@ -1,3 +1,7 @@
+2007-03-22 Konstantin Triger <[EMAIL PROTECTED]>
+
+ * ConfigInfo.cs: should be able instantiate types with private ctors.
+
2007-03-19 Vladimir Krasnov <[EMAIL PROTECTED]>
* ConfigurationSectionCollection.cs,
Modified:
trunk/mcs/class/System.Configuration/System.Configuration/ConfigInfo.cs
===================================================================
--- trunk/mcs/class/System.Configuration/System.Configuration/ConfigInfo.cs
2007-03-22 17:34:47 UTC (rev 74823)
+++ trunk/mcs/class/System.Configuration/System.Configuration/ConfigInfo.cs
2007-03-22 17:38:12 UTC (rev 74824)
@@ -48,7 +48,7 @@
public virtual object CreateInstance ()
{
if (Type == null) Type = ConfigHost.GetConfigType
(TypeName, true);
- return Activator.CreateInstance (Type);
+ return Activator.CreateInstance (Type, true);
}
public string XPath {
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches