11 references to ConvertToNumber
System.Private.Xml (11)
System\Xml\Xsl\XPath\XPathBuilder.cs (5)
279return _f.Negate(_f.ConvertToNumber(left)); 284left = _f.ConvertToNumber(left); 285right = _f.ConvertToNumber(right); 579case FuncId.Number: return args.Count == 0 ? _f.XsltConvert(_f.XPathNodeValue(GetCurrentNode()), T.DoubleX) : _f.ConvertToNumber(args[0]); 675return _f.Sum(_f.Sequence(_f.Double(0d), _f.Loop(i = _f.For(arg), _f.ConvertToNumber(i))));
System\Xml\Xsl\XPath\XPathQilFactory.cs (1)
178case XmlTypeCode.Double: return ConvertToNumber(n);
System\Xml\Xsl\Xslt\QilGenerator.cs (4)
1609select = _f.ConvertToNumber(select); 1661select2 = _f.Conditional(text, _f.Double(0), _f.ConvertToNumber(select2)); 2089QilIterator i = _f.Let(_f.ConvertToNumber(result)); 2107value = _f.ConvertToNumber(CompileXPathExpression(num.Value));
System\Xml\Xsl\Xslt\QilGeneratorEnv.cs (1)
247case XmlTypeCode.Double: args[i] = _f.ConvertToNumber(args[i]); break;