50 references to DoubleX
System.Private.Xml (50)
System\Xml\Xsl\IlGen\XmlILOptimizerVisitor.cs (3)
3310
if ((((local3).XmlType) == (XmlQueryTypeFactory.IntX)) && ((local5) == (XmlQueryTypeFactory.
DoubleX
)))
5173
if (typ == XmlQueryTypeFactory.
DoubleX
) return true;
5411
else if (typTarget == XmlQueryTypeFactory.
DoubleX
)
System\Xml\Xsl\IlGen\XmlIlVisitor.cs (5)
3849
if ((object)typSrc == (object)TypeFactory.
DoubleX
) meth = XmlILMethods.DblToDec;
3852
else if ((object)typDst == (object)TypeFactory.
DoubleX
)
3864
if ((object)typSrc == (object)TypeFactory.
DoubleX
) meth = XmlILMethods.DblToInt;
3869
if ((object)typSrc == (object)TypeFactory.
DoubleX
) meth = XmlILMethods.DblToLng;
3888
else if ((object)typSrc == (object)TypeFactory.
DoubleX
) meth = XmlILMethods.DblToStr;
System\Xml\Xsl\QIL\QilTypeChecker.cs (1)
328
return XmlQueryTypeFactory.
DoubleX
;
System\Xml\Xsl\Runtime\XsltConvert.cs (12)
351
if (clrType == typeof(byte)) return XmlQueryTypeFactory.
DoubleX
;
352
if (clrType == typeof(decimal)) return XmlQueryTypeFactory.
DoubleX
;
354
if (clrType == typeof(double)) return XmlQueryTypeFactory.
DoubleX
;
355
if (clrType == typeof(short)) return XmlQueryTypeFactory.
DoubleX
;
356
if (clrType == typeof(int)) return XmlQueryTypeFactory.
DoubleX
;
357
if (clrType == typeof(long)) return XmlQueryTypeFactory.
DoubleX
;
359
if (clrType == typeof(sbyte)) return XmlQueryTypeFactory.
DoubleX
;
360
if (clrType == typeof(float)) return XmlQueryTypeFactory.
DoubleX
;
362
if (clrType == typeof(ushort)) return XmlQueryTypeFactory.
DoubleX
;
363
if (clrType == typeof(uint)) return XmlQueryTypeFactory.
DoubleX
;
364
if (clrType == typeof(ulong)) return XmlQueryTypeFactory.
DoubleX
;
368
if (clrType.IsEnum) return XmlQueryTypeFactory.
DoubleX
;
System\Xml\Xsl\XPath\XPathBuilder.cs (8)
60
this.fixupPosition = _f.Unknown(T.
DoubleX
);
61
this.fixupLast = _f.Unknown(T.
DoubleX
);
491
f.Eq(env.GetPosition(), f.TypeAssert(i, T.
DoubleX
)),
530
QilIterator size = f.Let(f.XsltConvert(f.Length(cash), T.
DoubleX
));
574
case FuncId.Count: return _f.XsltConvert(_f.Length(_f.DocOrderDistinct(args[0])), T.
DoubleX
);
579
case FuncId.Number: return args.Count == 0 ? _f.XsltConvert(_f.XPathNodeValue(GetCurrentNode()), T.
DoubleX
) : _f.ConvertToNumber(args[0]);
592
return _f.XsltConvert(_f.StrLength(args.Count == 0 ? _f.XPathNodeValue(GetCurrentNode()) : args[0]), T.
DoubleX
);
918
unknown = f.XsltConvert(f.PositionOf((QilIterator)_current), T.
DoubleX
);
System\Xml\Xsl\XPath\XPathQilFactory.cs (7)
78
Debug.Assert(n != null && n.XmlType!.IsSubtypeOf(T.
DoubleX
), "Must be a singleton Double");
259
return XsltConvert(n, T.
DoubleX
);
263
return XsltConvert(XPathNodeValue(SafeDocOrderDistinct(n)), T.
DoubleX
);
267
return XsltConvert(n, T.
DoubleX
);
425
XsltMethods.Floor, T.
DoubleX
, new QilNode[] { value }
433
XsltMethods.Ceiling, T.
DoubleX
, new QilNode[] { value }
441
XsltMethods.Round, T.
DoubleX
, new QilNode[] { value }
System\Xml\Xsl\Xslt\Focus.cs (2)
182
return _f.XsltConvert(_f.PositionOf(_current!), T.
DoubleX
);
216
_last.Binding = _f.XsltConvert(_f.Length(_cached!), T.
DoubleX
);
System\Xml\Xsl\Xslt\QilGenerator.cs (4)
413
case XslFlags.Number: return T.
DoubleX
;
490
args.Add(CreateXslParam(CloneName(_namePosition), T.
DoubleX
));
494
args.Add(CreateXslParam(CloneName(_nameLast), T.
DoubleX
));
1593
return _f.XsltConvert(_f.InvokeLangToLcid(lang, fwdCompat), T.
DoubleX
);
System\Xml\Xsl\Xslt\XPathPatternBuilder.cs (2)
396
_fixupPosition = _f.Unknown(T.
DoubleX
);
397
_fixupLast = _f.Unknown(T.
DoubleX
);
System\Xml\Xsl\Xslt\XslAstAnalyzer.cs (1)
1147
else if (xt == TypeFactory.
DoubleX
)
System\Xml\Xsl\Xslt\XsltQilFactory.cs (5)
67
XsltMethods.SystemProperty, T.Choice(T.
DoubleX
, T.StringX), new QilNode[] { n }
123
value.XmlType.IsSubtypeOf(T.
DoubleX
)),
155
XsltMethods.RegisterDecimalFormatter, T.
DoubleX
,
209
XsltMethods.MSStringCompare, T.
DoubleX
, new QilNode[] { x, y, lang, options }
224
XsltMethods.MSNumber, T.
DoubleX
, new QilNode[] { n }