13 references to XmlAtomicValue
System.Private.Xml (13)
System\Xml\Schema\XmlValueConverter.cs (6)
1268
if (destinationType == XmlAtomicValueType) return (new
XmlAtomicValue
(SchemaType!, (double)value));
1269
if (destinationType == XPathItemType) return (new
XmlAtomicValue
(SchemaType!, (double)value));
1302
if (sourceType == DoubleType) return (new
XmlAtomicValue
(SchemaType!, (double)value));
1309
if (sourceType == DoubleType) return (new
XmlAtomicValue
(SchemaType!, (double)value));
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\Runtime\XmlILStorageConverter.cs (2)
56
return new
XmlAtomicValue
(runtime.GetXmlType(index).SchemaType, value);
61
return new
XmlAtomicValue
(runtime.GetXmlType(index).SchemaType, value);
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (1)
640
value = new XmlQueryItemSequence(new
XmlAtomicValue
(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.Double), ((IConvertible)value).ToDouble(null)));
System\Xml\Xsl\Runtime\XsltConvert.cs (3)
283
return new
XmlAtomicValue
(destinationType.SchemaType, ToDouble(value));
286
return new
XmlAtomicValue
(destinationType.SchemaType, ToDouble((decimal)value.ValueAs(typeof(decimal), null)));
290
return new
XmlAtomicValue
(destinationType.SchemaType, ToDouble(value.ValueAsLong));
System\Xml\Xsl\Runtime\XsltFunctions.cs (1)
221
case "version": return new
XmlAtomicValue
(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.Double), 1.0);