1 override of ToDouble
System.Private.Xml (1)
System\Xml\Schema\XmlValueConverter.cs (1)
354
public override double
ToDouble
(object value) { return (double)ChangeType((object)value, DoubleType, null); }
13 references to ToDouble
System.Private.Xml (13)
System\Xml\Core\XsdValidatingReader.cs (4)
537
return xmlType.ValueConverter.
ToDouble
(typedValue);
541
return XmlUntypedConverter.Untyped.
ToDouble
(typedValue);
867
return xmlType.ValueConverter.
ToDouble
(typedValue!);
871
return XmlUntypedConverter.Untyped.
ToDouble
(typedValue!);
System\Xml\Schema\FacetChecker.cs (7)
1124
double doubleValue = datatype.ValueConverter.
ToDouble
(value);
1136
if (value > valueConverter.
ToDouble
(restriction!.MaxInclusive!))
1143
if (value >= valueConverter.
ToDouble
(restriction!.MaxExclusive!))
1151
if (value < (valueConverter.
ToDouble
(restriction!.MinInclusive!)))
1159
if (value <= valueConverter.
ToDouble
(restriction!.MinExclusive!))
1181
return MatchEnumeration(datatype.ValueConverter.
ToDouble
(value), enumeration, datatype.ValueConverter);
1187
if (value == valueConverter.
ToDouble
(enumeration[i]!))
System\Xml\Schema\XmlAtomicValue.cs (1)
304
return valueConverter.
ToDouble
(_objVal);
System\Xml\XPath\XPathNavigator.cs (1)
267
return schemaType.ValueConverter.
ToDouble
(datatype.ParseValue(Value, NameTable, this));