11 references to ConvertToNumber
System.Data.SqlXml (11)
System\Xml\Xsl\XPath\XPathBuilder.cs (5)
234return f.Negate(f.ConvertToNumber(left)); 238left = f.ConvertToNumber(left ); 239right = f.ConvertToNumber(right); 497case FuncId.Number : return args.Count == 0 ? f.XsltConvert(f.XPathNodeValue(GetCurrentNode()), T.DoubleX) : f.ConvertToNumber(args[0]); 577return f.Sum(f.Sequence(f.Double(0d), f.Loop(i = f.For(arg), f.ConvertToNumber(i))));
System\Xml\Xsl\XPath\XPathQilFactory.cs (1)
164case XmlTypeCode.Double : return ConvertToNumber(n);
System\Xml\Xsl\Xslt\QilGenerator.cs (4)
1349select = f.ConvertToNumber(select); 1390select2 = f.Conditional(text, f.Double(0), f.ConvertToNumber(select2)); 1752QilIterator i = f.Let(f.ConvertToNumber(result)); 1768value = f.ConvertToNumber(CompileXPathExpression(num.Value));
System\Xml\Xsl\Xslt\QilGeneratorEnv.cs (1)
204case XmlTypeCode.Double: args[i] = f.ConvertToNumber(args[i]); break;