45 references to Double
System.Private.Xml (45)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
4273
value = GetValueConverter(XmlTypeCode.
Double
).ChangeType(
System\Xml\Schema\DataTypeImplementation.cs (1)
1668
public override XmlTypeCode TypeCode { get { return XmlTypeCode.
Double
; } }
System\Xml\Schema\XmlSchemaDataType.cs (1)
131
XmlTypeCode.
Double
=> "Double",
System\Xml\Schema\XmlValueConverter.cs (2)
2713
if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.
Double
), (double)value));
2798
if (sourceType == DoubleType) return (new XmlAtomicValue(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.
Double
), (double)value));
System\Xml\Xsl\IlGen\GenerateHelper.cs (2)
957
case XmlTypeCode.
Double
:
1420
case XmlTypeCode.
Double
: meth = XmlILMethods.SortKeyDouble; break;
System\Xml\Xsl\IlGen\XmlIlVisitor.cs (3)
1767
case XmlTypeCode.
Double
:
3201
if ((object)typBase == (object)TypeFactory.Double) codeBase = XmlTypeCode.
Double
;
4299
if (code == XmlTypeCode.
Double
|| code == XmlTypeCode.Float)
System\Xml\Xsl\Runtime\XmlQueryContext.cs (1)
289
case XmlTypeCode.
Double
: objActualArgs[i] = XsltConvert.ToDouble(args[i]); break;
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (4)
493
case XmlTypeCode.
Double
:
586
case XmlTypeCode.
Double
:
639
case XmlTypeCode.
Double
:
640
value = new XmlQueryItemSequence(new XmlAtomicValue(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.
Double
), ((IConvertible)value).ToDouble(null)));
System\Xml\Xsl\Runtime\XsltConvert.cs (6)
261
case XmlTypeCode.
Double
:
273
if (value.XmlType.TypeCode == XmlTypeCode.
Double
)
277
case XmlTypeCode.
Double
:
281
case XmlTypeCode.
Double
:
296
if (value.XmlType.TypeCode == XmlTypeCode.
Double
)
304
case XmlTypeCode.
Double
:
System\Xml\Xsl\Runtime\XsltFunctions.cs (1)
221
case "version": return new XmlAtomicValue(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.
Double
), 1.0);
System\Xml\Xsl\XmlQueryTypeFactory.cs (2)
228
public static readonly XmlQueryType Double = TF.Type(XmlTypeCode.
Double
, false);
229
public static readonly XmlQueryType DoubleX = TF.Type(XmlTypeCode.
Double
, true);
System\Xml\Xsl\XPath\XPathBuilder.cs (13)
147
Debug.Assert(compType == XmlTypeCode.Boolean || compType == XmlTypeCode.
Double
|| compType == XmlTypeCode.String);
170
Debug.Assert(compType == XmlTypeCode.Boolean || compType == XmlTypeCode.
Double
|| compType == XmlTypeCode.String, "I don't know what to do with RTF here");
238
leftType.TypeCode == XmlTypeCode.
Double
|| rightType.TypeCode == XmlTypeCode.
Double
? XmlTypeCode.
Double
:
257
return CompareNodeSetAndNodeSet(op, left, right, XmlTypeCode.
Double
);
261
XmlTypeCode compType = rightType.TypeCode == XmlTypeCode.Boolean ? XmlTypeCode.Boolean : XmlTypeCode.
Double
;
266
XmlTypeCode compType = leftType.TypeCode == XmlTypeCode.Boolean ? XmlTypeCode.Boolean : XmlTypeCode.
Double
;
272
return CompareValues(op, left, right, XmlTypeCode.
Double
);
477
if (predicate.XmlType!.TypeCode == XmlTypeCode.
Double
)
781
public static readonly XmlTypeCode[] argDouble = { XmlTypeCode.
Double
};
785
public static readonly XmlTypeCode[] argFnSubstr = { XmlTypeCode.String, XmlTypeCode.
Double
, XmlTypeCode.
Double
};
System\Xml\Xsl\XPath\XPathQilFactory.cs (4)
178
case XmlTypeCode.
Double
: return ConvertToNumber(n);
197
case XmlTypeCode.
Double
:
222
case XmlTypeCode.
Double
:
256
case XmlTypeCode.
Double
:
System\Xml\Xsl\Xslt\QilGeneratorEnv.cs (3)
247
case XmlTypeCode.
Double
: args[i] = _f.ConvertToNumber(args[i]); break;
298
private static readonly XmlTypeCode[] s_argFnFormatNumber = { XmlTypeCode.
Double
, XmlTypeCode.String, XmlTypeCode.String };
744
case XmlTypeCode.
Double
: return _f.String("number");
System\Xml\Xsl\Xslt\XsltQilFactory.cs (1)
27
case XmlTypeCode.
Double
: