using System.Configuration;
#if (XML_DEP)
using System.Xml;
+#else
+using XmlNode = System.Object;
#endif
namespace System.Net.Configuration
{
class WebRequestModuleHandler : IConfigurationSectionHandler
{
-#if (XML_DEP)
public virtual object Create (object parent, object configContext, XmlNode section)
{
+#if (XML_DEP)
if (section.Attributes != null && section.Attributes.Count != 0)
HandlersUtil.ThrowException ("Unrecognized attribute", section);
HandlersUtil.ThrowException ("Unexpected element", child);
}
+#endif
return null;
}
-#endif
}
}