1 override of ToDouble
System.Xml (1)
System\Xml\Schema\XmlValueConverter.cs (1)
416public override double ToDouble(object value) {return (double) ChangeType((object) value, DoubleType, null); }
13 references to ToDouble
System.Xml (13)
System\Xml\Core\XsdValidatingReader.cs (4)
440return xmlType.ValueConverter.ToDouble(typedValue); 443return XmlUntypedConverter.Untyped.ToDouble(typedValue); 689return xmlType.ValueConverter.ToDouble(typedValue); 692return XmlUntypedConverter.Untyped.ToDouble(typedValue);
System\Xml\Schema\FacetChecker.cs (7)
937double doubleValue = datatype.ValueConverter.ToDouble(value); 947if (value > valueConverter.ToDouble(restriction.MaxInclusive)) { 952if (value >= valueConverter.ToDouble(restriction.MaxExclusive)) { 958if (value < (valueConverter.ToDouble(restriction.MinInclusive))) { 964if (value <= valueConverter.ToDouble(restriction.MinExclusive)) { 981return MatchEnumeration(datatype.ValueConverter.ToDouble(value), enumeration, datatype.ValueConverter); 985if (value == valueConverter.ToDouble(enumeration[i])) {
System\Xml\Schema\XmlAtomicValue.cs (1)
251return valueConverter.ToDouble(this.objVal);
System\Xml\XPath\XPathNavigator.cs (1)
240return schemaType.ValueConverter.ToDouble(datatype.ParseValue(Value, NameTable, this));