System\Xml\Schema\XmlValueConverter.cs (29)
407public override double ToDouble(bool value) {return (double) ChangeType((object) value, DoubleType, null); }
408public override double ToDouble(DateTime value) {return (double) ChangeType((object) value, DoubleType, null); }
409public override double ToDouble(DateTimeOffset value) {return (double) ChangeType((object) value, DoubleType, null); }
410public override double ToDouble(decimal value) {return (double) ChangeType((object) value, DoubleType, null); }
411public override double ToDouble(double value) {return (double) ChangeType((object) value, DoubleType, null); }
412public override double ToDouble(int value) {return (double) ChangeType((object) value, DoubleType, null); }
413public override double ToDouble(long value) {return (double) ChangeType((object) value, DoubleType, null); }
414public override double ToDouble(float value) {return (double) ChangeType((object) value, DoubleType, null); }
415public override double ToDouble(string value) {return (double) ChangeType((object) value, DoubleType, null); }
416public override double ToDouble(object value) {return (double) ChangeType((object) value, DoubleType, null); }
1239if (sourceType == DoubleType) return ((double) value);
1244return (double) ChangeListType(value, DoubleType, null);
1283if (sourceType == DoubleType) return ((float) (double) value);
1314if (sourceType == DoubleType) return this.ToString((double) value);
1331if (destinationType == DoubleType) return ((double) value);
1344if (destinationType == DoubleType) return ((double) (float) value);
1358if (destinationType == DoubleType) return this.ToDouble((string) value);
1374if (destinationType == DoubleType) return this.ToDouble(value);
1378if (sourceType == DoubleType) return (new XmlAtomicValue(SchemaType, (double) value));
1384if (sourceType == DoubleType) return (new XmlAtomicValue(SchemaType, (double) value));
2275return (double) ChangeTypeWildcardDestination(value, DoubleType, null);
2383if (sourceType == DoubleType) return XmlConvert.ToString((double) value);
2489if (destinationType == DoubleType) return XmlConvert.ToDouble((string) value);
2533if (destinationType == DoubleType) {
2635if (clrType == DoubleType) return true;
2818return (double) ChangeTypeWildcardDestination(value, DoubleType, null);
2979if (destinationType == DoubleType) {
2999if (sourceType == DoubleType) return (new XmlAtomicValue(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.Double), (double) value));
3171if (itemTypeDst == DoubleType) return ToArray<double>(value, nsResolver);