diff options
author | Zoltan Varga <vargaz@gmail.com> | 2015-01-13 23:29:38 +0300 |
---|---|---|
committer | Zoltan Varga <vargaz@gmail.com> | 2015-01-13 23:29:38 +0300 |
commit | 0985d4aa4be4a9286db4e36cf75e3b18a31e5ff9 (patch) | |
tree | 46b65e83cd552237e592e85486afcca719d8a9c3 /mcs/class/Mono.Xml.Ext | |
parent | f54652de26710952d4f80e25d87a87b346a86992 (diff) |
[bcl] Remove NET_2_0 defines from the class libs. This has been done using: unifdef -t -DNET_2_0 -o <filename> <filename>.
Diffstat (limited to 'mcs/class/Mono.Xml.Ext')
28 files changed, 0 insertions, 58 deletions
diff --git a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath/XPathEditableDocument.cs b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath/XPathEditableDocument.cs index 4407c585b2a..76cca96878f 100644 --- a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath/XPathEditableDocument.cs +++ b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath/XPathEditableDocument.cs @@ -34,7 +34,6 @@ // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if NET_2_0 using System; using System.Collections; @@ -781,4 +780,3 @@ namespace Mono.Xml.XPath } } -#endif diff --git a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath/XPathNavigatorReader.cs b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath/XPathNavigatorReader.cs index 8beb07d8d1b..b94f71cbe8b 100644 --- a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath/XPathNavigatorReader.cs +++ b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath/XPathNavigatorReader.cs @@ -205,12 +205,8 @@ namespace Mono.Xml.XPath public override bool IsDefault {
get {
-#if NET_2_0
IXmlSchemaInfo si = current as IXmlSchemaInfo;
return si != null && si.IsDefault;
-#else
- return false; // no way to check this.
-#endif
}
}
diff --git a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/SequenceType.cs b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/SequenceType.cs index 55cb7113ace..28daa8cc88d 100644 --- a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/SequenceType.cs +++ b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/SequenceType.cs @@ -27,7 +27,6 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if NET_2_0 using System; using System.Collections; using System.Globalization; @@ -730,4 +729,3 @@ namespace Mono.Xml.XPath2 #endregion } -#endif diff --git a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/TokenizerBase.cs b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/TokenizerBase.cs index 9fa0286b1ce..f13261890d9 100644 --- a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/TokenizerBase.cs +++ b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/TokenizerBase.cs @@ -25,7 +25,6 @@ // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if NET_2_0 using System; using System.Collections; @@ -1285,4 +1284,3 @@ namespace Mono.Xml.XQuery.Parser } } -#endif diff --git a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XPath2Expression.cs b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XPath2Expression.cs index cdcb88e0ea5..c5499b7c6d7 100644 --- a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XPath2Expression.cs +++ b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XPath2Expression.cs @@ -26,7 +26,6 @@ // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if NET_2_0 using System; using System.Collections; using System.Globalization; @@ -2436,4 +2435,3 @@ namespace Mono.Xml.XPath2 } } -#endif diff --git a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XPathSequence.cs b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XPathSequence.cs index 602e09d6aa1..8d19efcbbb0 100644 --- a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XPathSequence.cs +++ b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XPathSequence.cs @@ -27,7 +27,6 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if NET_2_0 using System; using System.Collections; using System.Globalization; @@ -1776,4 +1775,3 @@ namespace Mono.Xml.XPath2 } } -#endif diff --git a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryASTCompiler.cs b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryASTCompiler.cs index 7a92fc936dd..03a1f51ad35 100644 --- a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryASTCompiler.cs +++ b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryASTCompiler.cs @@ -26,7 +26,6 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if NET_2_0 using System; using System.Collections; @@ -262,4 +261,3 @@ namespace Mono.Xml.XPath2 } } } -#endif diff --git a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryArithmeticOperator.cs b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryArithmeticOperator.cs index 665a5212eab..fd997fc4b23 100644 --- a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryArithmeticOperator.cs +++ b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryArithmeticOperator.cs @@ -27,7 +27,6 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-#if NET_2_0
using System;
using System.Collections;
using System.Reflection;
@@ -365,4 +364,3 @@ namespace Mono.Xml.XPath2 }
}
}
-#endif
diff --git a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryCliFunction.cs b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryCliFunction.cs index c081a5b6cdb..84b5aad88f8 100644 --- a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryCliFunction.cs +++ b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryCliFunction.cs @@ -30,7 +30,6 @@ //
// Runtime type method wrapper for XPath2 function.
//
-#if NET_2_0
using System;
using System.Collections;
using System.Reflection;
@@ -207,4 +206,3 @@ namespace Mono.Xml.XPath2 }
}
-#endif
diff --git a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryCommandImpl.cs b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryCommandImpl.cs index e3cfdd5ecd4..465352e2899 100644 --- a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryCommandImpl.cs +++ b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryCommandImpl.cs @@ -27,7 +27,6 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if NET_2_0 using System; using System.Collections; using System.IO; @@ -97,4 +96,3 @@ namespace Mono.Xml.XPath2 } -#endif diff --git a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryComparisonOperator.cs b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryComparisonOperator.cs index c7f7301afb5..0b8ab3ed150 100644 --- a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryComparisonOperator.cs +++ b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryComparisonOperator.cs @@ -27,7 +27,6 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-#if NET_2_0
using System;
using System.Collections;
using System.Reflection;
@@ -232,4 +231,3 @@ namespace Mono.Xml.XPath2 }
}
}
-#endif
diff --git a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryCompileContext.cs b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryCompileContext.cs index c49d8f194b5..1d9b436d810 100644 --- a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryCompileContext.cs +++ b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryCompileContext.cs @@ -26,7 +26,6 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if NET_2_0 using System; using System.Collections; @@ -90,4 +89,3 @@ namespace Mono.Xml.XPath2 } } -#endif diff --git a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryCompileOptions.cs b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryCompileOptions.cs index b4e0f8192aa..f4f44eda44e 100644 --- a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryCompileOptions.cs +++ b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryCompileOptions.cs @@ -26,7 +26,6 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if NET_2_0 using System; using System.Collections; @@ -98,4 +97,3 @@ namespace Mono.Xml.XPath2 } } -#endif diff --git a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryContext.cs b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryContext.cs index f5be00c2241..d39210856e6 100644 --- a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryContext.cs +++ b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryContext.cs @@ -26,7 +26,6 @@ // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if NET_2_0 using System; using System.Collections; using System.Collections.Generic; @@ -315,4 +314,3 @@ namespace Mono.Xml.XPath2 } } -#endif diff --git a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryConvert.cs b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryConvert.cs index 6e1109c5aef..e1de237599a 100644 --- a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryConvert.cs +++ b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryConvert.cs @@ -27,7 +27,6 @@ // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if NET_2_0 using System; using System.Globalization; @@ -1018,4 +1017,3 @@ namespace System.Xml } } -#endif diff --git a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryDefaultFunctionCall.cs b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryDefaultFunctionCall.cs index 7eb4e280563..f2ea8664e01 100644 --- a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryDefaultFunctionCall.cs +++ b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryDefaultFunctionCall.cs @@ -31,7 +31,6 @@ // XQuery 1.0 and XPath 2.0 Functions implementation as XPathItemExpression.
// See XQuery 1.0 and XPath 2.0 Functions and Operators.
//
-#if NET_2_0
using System;
using System.Collections;
using System.Reflection;
@@ -384,4 +383,3 @@ namespace Mono.Xml.XPath2 }
}
}
-#endif
diff --git a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryExpression.cs b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryExpression.cs index 2b1b0c01560..4bbb1888957 100644 --- a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryExpression.cs +++ b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryExpression.cs @@ -26,7 +26,6 @@ // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if NET_2_0 using System; using System.Collections; using System.Xml; @@ -576,4 +575,3 @@ namespace Mono.Xml.XQuery } } -#endif diff --git a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryFunction.cs b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryFunction.cs index d0a745e8f7b..fe25cc0c910 100644 --- a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryFunction.cs +++ b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryFunction.cs @@ -30,7 +30,6 @@ // // See XQuery 1.0 and XPath 2.0 Functions and Operators. // -#if NET_2_0 using System; using System.Collections; using System.Reflection; @@ -319,4 +318,3 @@ namespace Mono.Xml.XPath2 } } } -#endif diff --git a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryFunctionCliImpl.cs b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryFunctionCliImpl.cs index 690851a3147..1f210629dfd 100644 --- a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryFunctionCliImpl.cs +++ b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryFunctionCliImpl.cs @@ -32,7 +32,6 @@ // Functions implementation. XQueryCliFunction // See XQuery 1.0 and XPath 2.0 Functions and Operators. // -#if NET_2_0 using System; using System.Collections; using System.Globalization; @@ -1132,4 +1131,3 @@ namespace Mono.Xml.XPath2 } } } -#endif diff --git a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryFunctionContextAttribute.cs b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryFunctionContextAttribute.cs index c93b2fa8757..d1dda6dfd99 100644 --- a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryFunctionContextAttribute.cs +++ b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryFunctionContextAttribute.cs @@ -28,7 +28,6 @@ // // It is used to represent that a function needs current nodeset information. // -#if NET_2_0 using System; using System.Collections; using System.Xml; @@ -42,4 +41,3 @@ namespace Mono.Xml.XPath2 } } -#endif diff --git a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryFunctionTable.cs b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryFunctionTable.cs index 7e5254ea324..d5c5c4a66ee 100644 --- a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryFunctionTable.cs +++ b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryFunctionTable.cs @@ -27,7 +27,6 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-#if NET_2_0
using System;
using System.Collections;
using System.Reflection;
@@ -63,4 +62,3 @@ namespace Mono.Xml.XPath2 }
}
}
-#endif
diff --git a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryModuleProlog.cs b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryModuleProlog.cs index 2df8a8efe00..145dcb8b0f2 100644 --- a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryModuleProlog.cs +++ b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryModuleProlog.cs @@ -26,7 +26,6 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if NET_2_0 using System; using System.Collections; @@ -526,4 +525,3 @@ namespace Mono.Xml.XPath2 } } -#endif diff --git a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryStaticContext.cs b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryStaticContext.cs index e17033f21a9..c25209e4170 100644 --- a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryStaticContext.cs +++ b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XQueryStaticContext.cs @@ -26,7 +26,6 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if NET_2_0 using System; using System.Collections; @@ -228,4 +227,3 @@ namespace Mono.Xml.XPath2 } } } -#endif diff --git a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XmlArgumentList.cs b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XmlArgumentList.cs index 1a82a48f2e1..20a9f315a13 100644 --- a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XmlArgumentList.cs +++ b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XmlArgumentList.cs @@ -30,7 +30,6 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if NET_2_0 using System.Collections; using System.Xml; @@ -120,4 +119,3 @@ namespace System.Xml.Query } } -#endif // NET_2_0 diff --git a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XmlQueryCompileException.cs b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XmlQueryCompileException.cs index 90f98e892cc..f3a4e3bc9f1 100644 --- a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XmlQueryCompileException.cs +++ b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XmlQueryCompileException.cs @@ -30,7 +30,6 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-#if NET_2_0
using System;
using System.Runtime.Serialization;
@@ -71,4 +70,3 @@ namespace System.Xml.Query }
}
-#endif // NET_2_0
diff --git a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XmlQueryException.cs b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XmlQueryException.cs index 8c0dd144295..e087c537748 100644 --- a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XmlQueryException.cs +++ b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/XmlQueryException.cs @@ -28,7 +28,6 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-#if NET_2_0
using System;
using System.Runtime.Serialization;
@@ -109,4 +108,3 @@ namespace System.Xml.Query }
}
-#endif // NET_2_0
diff --git a/mcs/class/Mono.Xml.Ext/Mono.Xml/InternalPool.cs b/mcs/class/Mono.Xml.Ext/Mono.Xml/InternalPool.cs index e48f8f1c1ac..49067a6b16a 100644 --- a/mcs/class/Mono.Xml.Ext/Mono.Xml/InternalPool.cs +++ b/mcs/class/Mono.Xml.Ext/Mono.Xml/InternalPool.cs @@ -1,5 +1,4 @@ -#if NET_2_0 using System; using System.Collections; @@ -212,4 +211,3 @@ namespace Mono.Xml } -#endif diff --git a/mcs/class/Mono.Xml.Ext/Mono.Xml/SubtreeXmlReader.cs b/mcs/class/Mono.Xml.Ext/Mono.Xml/SubtreeXmlReader.cs index 3d22e59dc50..32e0468cd4a 100644 --- a/mcs/class/Mono.Xml.Ext/Mono.Xml/SubtreeXmlReader.cs +++ b/mcs/class/Mono.Xml.Ext/Mono.Xml/SubtreeXmlReader.cs @@ -26,7 +26,6 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-#if NET_2_0
using System;
using System.Collections;
@@ -228,4 +227,3 @@ namespace Mono.Xml }
}
-#endif
|