System\Xml\Schema\XmlValueConverter.cs (31)
300this.clrTypeDefault = XPathItemType;
1068if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, value));
1082if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, (int) value));
1096if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, (long) value));
1111if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, (string) value));
1134if (destinationType == XPathItemType) {
1335if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, (double) value));
1348if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, value));
1362if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, (string) value));
1383if (destinationType == XPathItemType) {
1587if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, (DateTime) value));
1600if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, (DateTimeOffset) value));
1614if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, (string) value));
1635if (destinationType == XPathItemType) {
1760if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, (bool) value));
1773if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, (string) value));
1792if (destinationType == XPathItemType) {
2017if (destinationType == XPathItemType) {
2020if (destinationType == XPathItemType) return ((XPathItem) this.ChangeType(value, XmlAtomicValueType, nsResolver));
2039if (destinationType == XPathItemType) return ((XPathItem) this.ChangeType(value, XmlAtomicValueType, nsResolver));
2137if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, (string) value));
2154if (destinationType == XPathItemType) {
2502if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, (string) value));
2573if (destinationType == XPathItemType) {
2579if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, this.ToString(value, nsResolver)));
2599if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, this.ToString(value, nsResolver)));
2730if (destinationType == XPathItemType) {
3013if (destinationType == XPathItemType) {
3020if (destinationType == XPathItemType) return ((XPathItem) this.ChangeType(value, XmlAtomicValueType, nsResolver));
3039if (destinationType == XPathItemType) return ((XPathItem) this.ChangeType(value, XmlAtomicValueType, nsResolver));
3185if (itemTypeDst == XPathItemType) return ToArray<XPathItem>(value, nsResolver);