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