FrameworkFork\Microsoft.Xml\Xml\schema\XmlValueConverter.cs (31)
396public override DateTimeOffset ToDateTimeOffset(bool value) { return (DateTimeOffset)ChangeType((object)value, DateTimeOffsetType, null); }
397public override DateTimeOffset ToDateTimeOffset(DateTime value) { return (DateTimeOffset)ChangeType((object)value, DateTimeOffsetType, null); }
398public override DateTimeOffset ToDateTimeOffset(DateTimeOffset value) { return (DateTimeOffset)ChangeType((object)value, DateTimeOffsetType, null); }
399public override DateTimeOffset ToDateTimeOffset(decimal value) { return (DateTimeOffset)ChangeType((object)value, DateTimeOffsetType, null); }
400public override DateTimeOffset ToDateTimeOffset(double value) { return (DateTimeOffset)ChangeType((object)value, DateTimeOffsetType, null); }
401public override DateTimeOffset ToDateTimeOffset(int value) { return (DateTimeOffset)ChangeType((object)value, DateTimeOffsetType, null); }
402public override DateTimeOffset ToDateTimeOffset(long value) { return (DateTimeOffset)ChangeType((object)value, DateTimeOffsetType, null); }
403public override DateTimeOffset ToDateTimeOffset(float value) { return (DateTimeOffset)ChangeType((object)value, DateTimeOffsetType, null); }
404public override DateTimeOffset ToDateTimeOffset(string value) { return (DateTimeOffset)ChangeType((object)value, DateTimeOffsetType, null); }
405public override DateTimeOffset ToDateTimeOffset(object value) { return (DateTimeOffset)ChangeType((object)value, DateTimeOffsetType, null); }
1592if (sourceType == DateTimeOffsetType) return this.ToDateTime((DateTimeOffset)value);
1637if (sourceType == DateTimeOffsetType) return ((DateTimeOffset)value);
1641return (DateTimeOffset)ChangeListType(value, DateTimeOffsetType, null);
1726if (sourceType == DateTimeOffsetType) return this.ToString((DateTimeOffset)value);
1744if (destinationType == DateTimeOffsetType) return this.ToDateTimeOffset((DateTime)value);
1758if (destinationType == DateTimeOffsetType) return ((DateTimeOffset)value);
1773if (destinationType == DateTimeOffsetType) return this.ToDateTimeOffset((string)value);
1790if (destinationType == DateTimeOffsetType) return this.ToDateTimeOffset(value);
1795if (sourceType == DateTimeOffsetType) return (new XmlAtomicValue(SchemaType, (DateTimeOffset)value));
1802if (sourceType == DateTimeOffsetType) return (new XmlAtomicValue(SchemaType, (DateTimeOffset)value));
2478return (DateTimeOffset)ChangeTypeWildcardDestination(value, DateTimeOffsetType, null);
2643if (sourceType == DateTimeOffsetType) return DateTimeOffsetToString((DateTimeOffset)value);
2758if (destinationType == DateTimeOffsetType) return UntypedAtomicToDateTimeOffset((string)value);
2803if (destinationType == DateTimeOffsetType)
2930if (clrType == DateTimeOffsetType) return true;
3093if (sourceType == XmlAtomicValueType) return (DateTimeOffset)((XmlAtomicValue)value).ValueAs(DateTimeOffsetType);
3095return (DateTimeOffset)ChangeTypeWildcardDestination(value, DateTimeOffsetType, null);
3297if (destinationType == DateTimeOffsetType)
3299if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value).ValueAs(DateTimeOffsetType);
3328if (sourceType == DateTimeOffsetType) return (new XmlAtomicValue(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.DateTime), (DateTimeOffset)value));
3518if (itemTypeDst == DateTimeOffsetType) return ToArray<DateTimeOffset>(value, nsResolver);