System\Xml\Schema\XmlValueConverter.cs (30)
1110if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(SchemaType, (string) value));
1111if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, (string) value));
1131if (sourceType == StringType) return (new XmlAtomicValue(SchemaType, (string) value));
1138if (sourceType == StringType) return (new XmlAtomicValue(SchemaType, (string) value));
1361if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(SchemaType, (string) value));
1362if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, (string) value));
1380if (sourceType == StringType) return (new XmlAtomicValue(SchemaType, (string) value));
1386if (sourceType == StringType) return (new XmlAtomicValue(SchemaType, (string) value));
1613if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(SchemaType, (string) value));
1614if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, (string) value));
1632if (sourceType == StringType) return (new XmlAtomicValue(SchemaType, (string)value));
1638if (sourceType == StringType) return (new XmlAtomicValue(SchemaType, (string)value));
1772if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(SchemaType, (string) value));
1773if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, (string) value));
1789if (sourceType == StringType) return (new XmlAtomicValue(SchemaType, (string) value));
1794if (sourceType == StringType) return (new XmlAtomicValue(SchemaType, (string) value));
2136if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(SchemaType, (string) value));
2137if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, (string) value));
2151if (sourceType == StringType) return (new XmlAtomicValue(SchemaType, (string) value));
2155if (sourceType == StringType) return (new XmlAtomicValue(SchemaType, (string) value));
2500if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(SchemaType, (string) value));
2502if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, (string) value));
2567if (sourceType == StringType) return (new XmlAtomicValue(SchemaType, (string) value));
2574if (sourceType == StringType) return (new XmlAtomicValue(SchemaType, (string) value));
2578if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(SchemaType, this.ToString(value, nsResolver)));
2579if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, this.ToString(value, nsResolver)));
2598if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(SchemaType, this.ToString(value, nsResolver)));
2599if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, this.ToString(value, nsResolver)));
2955if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.String), (string) value));
3005if (sourceType == StringType) return (new XmlAtomicValue(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.String), (string) value));