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:
Diffstat (limited to 'mcs/class/System.XML/System.Xml.XPath/Expression.cs')
-rw-r--r--mcs/class/System.XML/System.Xml.XPath/Expression.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/mcs/class/System.XML/System.Xml.XPath/Expression.cs b/mcs/class/System.XML/System.Xml.XPath/Expression.cs
index 5af27f6af92..8acb84da148 100644
--- a/mcs/class/System.XML/System.Xml.XPath/Expression.cs
+++ b/mcs/class/System.XML/System.Xml.XPath/Expression.cs
@@ -751,11 +751,11 @@ namespace System.Xml.XPath
if (typeR == XPathResultType.Any)
typeR = GetReturnType (_right.Evaluate (iter));
- // Regard RTF as nodeset
+ // Regard RTF as string
if (typeL == XPathResultType.Navigator)
- typeL = XPathResultType.NodeSet;
+ typeL = XPathResultType.String;
if (typeR == XPathResultType.Navigator)
- typeR = XPathResultType.NodeSet;
+ typeR = XPathResultType.String;
if (typeL == XPathResultType.NodeSet || typeR == XPathResultType.NodeSet)
{
@@ -851,11 +851,11 @@ namespace System.Xml.XPath
if (typeR == XPathResultType.Any)
typeR = GetReturnType (_right.Evaluate (iter));
- // Regard RTF as nodeset
+ // Regard RTF as string
if (typeL == XPathResultType.Navigator)
- typeL = XPathResultType.NodeSet;
+ typeL = XPathResultType.String;
if (typeR == XPathResultType.Navigator)
- typeR = XPathResultType.NodeSet;
+ typeR = XPathResultType.String;
if (typeL == XPathResultType.NodeSet || typeR == XPathResultType.NodeSet)
{