System\Xml\Schema\XmlValueConverter.cs (31)
385public override DateTimeOffset ToDateTimeOffset(bool value) {return (DateTimeOffset) ChangeType((object) value, DateTimeOffsetType, null); }
386public override DateTimeOffset ToDateTimeOffset(DateTime value) {return (DateTimeOffset) ChangeType((object) value, DateTimeOffsetType, null); }
387public override DateTimeOffset ToDateTimeOffset(DateTimeOffset value) {return (DateTimeOffset) ChangeType((object) value, DateTimeOffsetType, null); }
388public override DateTimeOffset ToDateTimeOffset(decimal value) {return (DateTimeOffset) ChangeType((object) value, DateTimeOffsetType, null); }
389public override DateTimeOffset ToDateTimeOffset(double value) {return (DateTimeOffset) ChangeType((object) value, DateTimeOffsetType, null); }
390public override DateTimeOffset ToDateTimeOffset(int value) {return (DateTimeOffset) ChangeType((object) value, DateTimeOffsetType, null); }
391public override DateTimeOffset ToDateTimeOffset(long value) {return (DateTimeOffset) ChangeType((object) value, DateTimeOffsetType, null); }
392public override DateTimeOffset ToDateTimeOffset(float value) {return (DateTimeOffset) ChangeType((object) value, DateTimeOffsetType, null); }
393public override DateTimeOffset ToDateTimeOffset(string value) {return (DateTimeOffset) ChangeType((object) value, DateTimeOffsetType, null); }
394public override DateTimeOffset ToDateTimeOffset(object value) {return (DateTimeOffset) ChangeType((object) value, DateTimeOffsetType, null); }
1444if (sourceType == DateTimeOffsetType) return this.ToDateTime((DateTimeOffset) value);
1484if (sourceType == DateTimeOffsetType) return ((DateTimeOffset) value);
1488return (DateTimeOffset)ChangeListType(value, DateTimeOffsetType, null);
1567if (sourceType == DateTimeOffsetType) return this.ToString((DateTimeOffset)value);
1584if (destinationType == DateTimeOffsetType) return this.ToDateTimeOffset((DateTime) value);
1597if (destinationType == DateTimeOffsetType) return ((DateTimeOffset) value);
1611if (destinationType == DateTimeOffsetType) return this.ToDateTimeOffset((string) value);
1627if (destinationType == DateTimeOffsetType) return this.ToDateTimeOffset(value);
1631if (sourceType == DateTimeOffsetType) return (new XmlAtomicValue(SchemaType, (DateTimeOffset)value));
1637if (sourceType == DateTimeOffsetType) return (new XmlAtomicValue(SchemaType, (DateTimeOffset)value));
2236return (DateTimeOffset) ChangeTypeWildcardDestination(value, DateTimeOffsetType, null);
2381if (sourceType == DateTimeOffsetType) return DateTimeOffsetToString((DateTimeOffset) value);
2487if (destinationType == DateTimeOffsetType ) return UntypedAtomicToDateTimeOffset((string)value);
2527if (destinationType == DateTimeOffsetType) {
2633if (clrType == DateTimeOffsetType) return true;
2786if (sourceType == XmlAtomicValueType) return (DateTimeOffset)((XmlAtomicValue) value).ValueAs(DateTimeOffsetType);
2788return (DateTimeOffset) ChangeTypeWildcardDestination(value, DateTimeOffsetType, null);
2973if (destinationType == DateTimeOffsetType) {
2974if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue) value).ValueAs(DateTimeOffsetType);
2997if (sourceType == DateTimeOffsetType) return (new XmlAtomicValue(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.DateTime), (DateTimeOffset) value));
3169if (itemTypeDst == DateTimeOffsetType) return ToArray<DateTimeOffset>(value, nsResolver);