23 references to DateTimeOffsetType
System.Private.Xml (23)
System\Xml\Schema\XmlValueConverter.cs (23)
343public override DateTimeOffset ToDateTimeOffset(DateTime value) { return (DateTimeOffset)ChangeType((object)value, DateTimeOffsetType, null); } 344public override DateTimeOffset ToDateTimeOffset(string value) { return (DateTimeOffset)ChangeType((object)value, DateTimeOffsetType, null); } 345public override DateTimeOffset ToDateTimeOffset(object value) { return (DateTimeOffset)ChangeType((object)value, DateTimeOffsetType, null); } 1361if (sourceType == DateTimeOffsetType) return this.ToDateTime((DateTimeOffset)value); 1401if (sourceType == DateTimeOffsetType) return ((DateTimeOffset)value); 1405return (DateTimeOffset)ChangeListType(value, DateTimeOffsetType, null); 1480if (sourceType == DateTimeOffsetType) return this.ToString((DateTimeOffset)value); 1498if (destinationType == DateTimeOffsetType) return this.ToDateTimeOffset((DateTime)value); 1513if (destinationType == DateTimeOffsetType) return this.ToDateTimeOffset((string)value); 1530if (destinationType == DateTimeOffsetType) return this.ToDateTimeOffset(value); 1535if (sourceType == DateTimeOffsetType) return (new XmlAtomicValue(SchemaType!, (DateTimeOffset)value)); 1542if (sourceType == DateTimeOffsetType) return (new XmlAtomicValue(SchemaType!, (DateTimeOffset)value)); 2084return (DateTimeOffset)ChangeTypeWildcardDestination(value, DateTimeOffsetType, null); 2243if (sourceType == DateTimeOffsetType) return DateTimeOffsetToString((DateTimeOffset)value); 2338if (destinationType == DateTimeOffsetType) return UntypedAtomicToDateTimeOffset((string)value); 2383if (destinationType == DateTimeOffsetType) 2510if (clrType == DateTimeOffsetType) return true; 2581if (sourceType == XmlAtomicValueType) return (DateTimeOffset)((XmlAtomicValue)value).ValueAs(DateTimeOffsetType); 2583return (DateTimeOffset)ChangeTypeWildcardDestination(value, DateTimeOffsetType, null); 2765if (destinationType == DateTimeOffsetType) 2767if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value).ValueAs(DateTimeOffsetType); 2796if (sourceType == DateTimeOffsetType) return (new XmlAtomicValue(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.DateTime), (DateTimeOffset)value)); 2986if (itemTypeDst == DateTimeOffsetType) return ToArray<DateTimeOffset>(value, nsResolver);