remove a configuration setting, you'd get an exception saying that there was
no factory for it (i.e. it had already been removed).
svn path=/trunk/mcs/; revision=9664
+2002-12-14 Jonathan Pryor <jonpryor@vt.edu>
+
+ * ConfigurationSettings.cs: Allow configuration sections to be removed.
+
2002-11-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ConfigurationSettings.cs: use AppDomainSetup to get the configuration
removeValue = sectionName + '/' + removeValue;
object o = LookForFactory (removeValue);
- if (o != null && o != removedMark)
+ if (o != null && o == removedMark)
ThrowException ("No factory for " + removeValue, reader);
factories [removeValue] = removedMark;