Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2004-02-04 11:30:20 +0300
committerMarek Safar <marek.safar@gmail.com>2004-02-04 11:30:20 +0300
commit69e8f23c41d9b3812321ec2f0825fcd81283eec0 (patch)
treee7f508b1354f2bf283b7c3528ec4abfb126a0ef7 /mcs/class/System/System.Diagnostics
parent99b97b0ff199d9393578f58e18ec4a5a59a6bd0d (diff)
2004-02-04 Marek Safar <marek.safar@seznam.cz>
* Makefile: Build System.dll in two steps. Because of the circular dependency with System.XML.dll. svn path=/trunk/mcs/; revision=22761
Diffstat (limited to 'mcs/class/System/System.Diagnostics')
-rw-r--r--mcs/class/System/System.Diagnostics/DiagnosticsConfigurationHandler.cs11
1 files changed, 6 insertions, 5 deletions
diff --git a/mcs/class/System/System.Diagnostics/DiagnosticsConfigurationHandler.cs b/mcs/class/System/System.Diagnostics/DiagnosticsConfigurationHandler.cs
index c4e9647def2..706ce06c4a9 100644
--- a/mcs/class/System/System.Diagnostics/DiagnosticsConfigurationHandler.cs
+++ b/mcs/class/System/System.Diagnostics/DiagnosticsConfigurationHandler.cs
@@ -12,9 +12,9 @@
//
using System;
using System.Collections;
-using System.Configuration;
-using System.Xml;
-
+using System.Configuration; #if (XML_DEP)
+using System.Xml;
+#endif
namespace System.Diagnostics
{
internal sealed class DiagnosticsConfiguration
@@ -36,7 +36,7 @@ namespace System.Diagnostics
}
}
}
-
+ #if (XML_DEP)
public class DiagnosticsConfigurationHandler : IConfigurationSectionHandler
{
delegate void ElementHandler (IDictionary d, XmlNode node);
@@ -345,6 +345,7 @@ namespace System.Diagnostics
string.Format ("Unrecognized attribute `{0}' on element <{1}/>.", attribute, node.Name),
node);
}
- }
+ }
+#endif
}