diff options
Diffstat (limited to 'mcs/class/System.XML/Test/System.Xml.Schema/standalone_tests/xsdtest.cs')
-rw-r--r-- | mcs/class/System.XML/Test/System.Xml.Schema/standalone_tests/xsdtest.cs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/mcs/class/System.XML/Test/System.Xml.Schema/standalone_tests/xsdtest.cs b/mcs/class/System.XML/Test/System.Xml.Schema/standalone_tests/xsdtest.cs index 1c1fb8ac470..01c1313f8c5 100644 --- a/mcs/class/System.XML/Test/System.Xml.Schema/standalone_tests/xsdtest.cs +++ b/mcs/class/System.XML/Test/System.Xml.Schema/standalone_tests/xsdtest.cs @@ -173,7 +173,6 @@ USAGE: mono xsdtest.exe options target-pattern XmlTextReader ixtr = new XmlTextReader (
Path.Combine (basePath, instanceFile));
xvr = ixtr;
-#if NET_2_0
if (version2) {
XmlReaderSettings settings =
new XmlReaderSettings ();
@@ -188,7 +187,6 @@ USAGE: mono xsdtest.exe options target-pattern settings.XmlResolver = null;
xvr = XmlReader.Create (ixtr, settings);
} else {
-#endif
XmlValidatingReader vr = new XmlValidatingReader (ixtr);
if (noResolver)
vr.XmlResolver = null;
@@ -196,9 +194,7 @@ USAGE: mono xsdtest.exe options target-pattern vr.ValidationEventHandler += noValidateHandler;
vr.Schemas.Add (schema);
xvr = vr;
-#if NET_2_0
}
-#endif
while (!xvr.EOF)
xvr.Read ();
if (!isValidInstance && !noValidate)
|