2003-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Fri, 3 Oct 2003 03:58:22 +0000 (03:58 -0000)
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Fri, 3 Oct 2003 03:58:22 +0000 (03:58 -0000)
* ConfigurationSettings.cs: pass the file name we're reading as the
context.

svn path=/trunk/mcs/; revision=18536

mcs/class/System/System.Configuration/ChangeLog
mcs/class/System/System.Configuration/ConfigurationSettings.cs

index fa443ff62ecb07d95515f11de5a77259552a8238..c4637be738489405255d490dd0c5c28726cbe745 100644 (file)
@@ -1,3 +1,8 @@
+2003-10-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * ConfigurationSettings.cs: pass the file name we're reading as the
+       context.
+
 2003-10-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
 
        * ConfigurationSettings.cs: patch by Eric Lindvall (eric@5stops.com)
index 9f2e2de656d435ba431e7fd5381fb092b2dde8cd..bb87217bd38871d5e81eda7fbc6d25a785774d4e 100644 (file)
@@ -348,7 +348,7 @@ namespace System.Configuration
                                return parentConfig;
                        }
                        
-                       return ((IConfigurationSectionHandler) handler).Create (parentConfig, null, doc.DocumentElement);
+                       return ((IConfigurationSectionHandler) handler).Create (parentConfig, fileName, doc.DocumentElement);
                }
 
                public object GetConfig (string sectionName)