System\Xml\Schema\XmlValueConverter.cs (28)
255_clrTypeDefault = XPathItemType;
1022if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType!, value));
1037if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType!, (int)value));
1052if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType!, (long)value));
1068if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType!, (string)value));
1093if (destinationType == XPathItemType)
1269if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType!, (double)value));
1284if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType!, (string)value));
1307if (destinationType == XPathItemType)
1501if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType!, (DateTime)value));
1516if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType!, (string)value));
1539if (destinationType == XPathItemType)
1660if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType!, (bool)value));
1674if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType!, (string)value));
1695if (destinationType == XPathItemType)
1903if (destinationType == XPathItemType)
1907if (destinationType == XPathItemType) return ((XPathItem)this.ChangeType(value, XmlAtomicValueType, nsResolver));
1929if (destinationType == XPathItemType) return ((XPathItem)this.ChangeType(value, XmlAtomicValueType, nsResolver));
1973if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType!, (string)value));
1992if (destinationType == XPathItemType)
2353if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType!, (string)value));
2444if (destinationType == XPathItemType)
2451if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType!, this.ToString(value, nsResolver)));
2473if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType!, this.ToString(value, nsResolver)));
2812if (destinationType == XPathItemType)
2821if (destinationType == XPathItemType) return ((XPathItem)this.ChangeType(value, XmlAtomicValueType, nsResolver));
2842if (destinationType == XPathItemType) return ((XPathItem)this.ChangeType(value, XmlAtomicValueType, nsResolver));
3002if (itemTypeDst == XPathItemType) return ToArray<XPathItem>(value, nsResolver);