FrameworkFork\Microsoft.Xml\Xml\schema\XmlValueConverter.cs (31)
309_clrTypeDefault = XPathItemType;
1179if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, value));
1194if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, (int)value));
1209if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, (long)value));
1225if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, (string)value));
1250if (destinationType == XPathItemType)
1470if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, (double)value));
1484if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, value));
1499if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, (string)value));
1522if (destinationType == XPathItemType)
1747if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, (DateTime)value));
1761if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, (DateTimeOffset)value));
1776if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, (string)value));
1799if (destinationType == XPathItemType)
1935if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, (bool)value));
1949if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, (string)value));
1970if (destinationType == XPathItemType)
2238if (destinationType == XPathItemType)
2242if (destinationType == XPathItemType) return ((XPathItem)this.ChangeType(value, XmlAtomicValueType, nsResolver));
2263if (destinationType == XPathItemType) return ((XPathItem)this.ChangeType(value, XmlAtomicValueType, nsResolver));
2367if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, (string)value));
2386if (destinationType == XPathItemType)
2773if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, (string)value));
2864if (destinationType == XPathItemType)
2871if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, this.ToString(value, nsResolver)));
2893if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, this.ToString(value, nsResolver)));
3031if (destinationType == XPathItemType)
3344if (destinationType == XPathItemType)
3353if (destinationType == XPathItemType) return ((XPathItem)this.ChangeType(value, XmlAtomicValueType, nsResolver));
3374if (destinationType == XPathItemType) return ((XPathItem)this.ChangeType(value, XmlAtomicValueType, nsResolver));
3534if (itemTypeDst == XPathItemType) return ToArray<XPathItem>(value, nsResolver);