Author: atsushi
Date: 2006-07-07 03:16:05 -0400 (Fri, 07 Jul 2006)
New Revision: 62342
Modified:
trunk/mcs/class/System.Configuration/System.Configuration/ChangeLog
trunk/mcs/class/System.Configuration/System.Configuration/ConfigurationManager.cs
trunk/mcs/class/System.Configuration/Test/System.Configuration/ChangeLog
trunk/mcs/class/System.Configuration/Test/System.Configuration/ConfigurationManagerTest.cs
Log:
2006-07-07 Atsushi Enomoto <[EMAIL PROTECTED]>
* ConfigurationManager.cs : OpenExeConfiguration(null) should still
work. This is required for embedded scenario.
* ConfigurationManagerTest.cs :
OpenExeConfiguration(null) should be allowed.
Modified: trunk/mcs/class/System.Configuration/System.Configuration/ChangeLog
===================================================================
--- trunk/mcs/class/System.Configuration/System.Configuration/ChangeLog
2006-07-07 06:30:24 UTC (rev 62341)
+++ trunk/mcs/class/System.Configuration/System.Configuration/ChangeLog
2006-07-07 07:16:05 UTC (rev 62342)
@@ -1,3 +1,8 @@
+2006-07-07 Atsushi Enomoto <[EMAIL PROTECTED]>
+
+ * ConfigurationManager.cs : OpenExeConfiguration(null) should still
+ work. This is required for embedded scenario.
+
2006-06-10 Atsushi Enomoto <[EMAIL PROTECTED]>
* SectionGroupInfo.cs : skip <dllmap> in configuration.
Modified:
trunk/mcs/class/System.Configuration/System.Configuration/ConfigurationManager.cs
===================================================================
---
trunk/mcs/class/System.Configuration/System.Configuration/ConfigurationManager.cs
2006-07-07 06:30:24 UTC (rev 62341)
+++
trunk/mcs/class/System.Configuration/System.Configuration/ConfigurationManager.cs
2006-07-07 07:16:05 UTC (rev 62342)
@@ -128,7 +128,7 @@
public static Configuration OpenExeConfiguration (string
exePath)
{
- return OpenExeConfigurationInternal
(ConfigurationUserLevel.None, null, exePath);
+ return OpenExeConfigurationInternal
(ConfigurationUserLevel.None, Assembly.GetCallingAssembly (), exePath);
}
[MonoTODO ("userLevel")]
Modified:
trunk/mcs/class/System.Configuration/Test/System.Configuration/ChangeLog
===================================================================
--- trunk/mcs/class/System.Configuration/Test/System.Configuration/ChangeLog
2006-07-07 06:30:24 UTC (rev 62341)
+++ trunk/mcs/class/System.Configuration/Test/System.Configuration/ChangeLog
2006-07-07 07:16:05 UTC (rev 62342)
@@ -1,3 +1,8 @@
+2006-07-07 Atsushi Enomoto <[EMAIL PROTECTED]>
+
+ * ConfigurationManagerTest.cs :
+ OpenExeConfiguration(null) should be allowed.
+
2006-05-14 Atsushi Enomoto <[EMAIL PROTECTED]>
* ConfigurationManagerTest.cs :
Modified:
trunk/mcs/class/System.Configuration/Test/System.Configuration/ConfigurationManagerTest.cs
===================================================================
---
trunk/mcs/class/System.Configuration/Test/System.Configuration/ConfigurationManagerTest.cs
2006-07-07 06:30:24 UTC (rev 62341)
+++
trunk/mcs/class/System.Configuration/Test/System.Configuration/ConfigurationManagerTest.cs
2006-07-07 07:16:05 UTC (rev 62342)
@@ -223,8 +223,8 @@
[Test]
public void exePath_UserLevelNone_null ()
{
+ SysConfig config =
ConfigurationManager.OpenExeConfiguration (null);
#if false
- SysConfig config =
ConfigurationManager.OpenExeConfiguration(null);
Console.WriteLine("null exe application config path:
{0}", config.FilePath);
FileInfo fi = new FileInfo (config.FilePath);
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches