FrameworkFork\Microsoft.Xml\Xml\schema\XmlValueConverter.cs (30)
1224if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(SchemaType, (string)value));
1225if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, (string)value));
1247if (sourceType == StringType) return (new XmlAtomicValue(SchemaType, (string)value));
1255if (sourceType == StringType) return (new XmlAtomicValue(SchemaType, (string)value));
1498if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(SchemaType, (string)value));
1499if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, (string)value));
1519if (sourceType == StringType) return (new XmlAtomicValue(SchemaType, (string)value));
1526if (sourceType == StringType) return (new XmlAtomicValue(SchemaType, (string)value));
1775if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(SchemaType, (string)value));
1776if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, (string)value));
1796if (sourceType == StringType) return (new XmlAtomicValue(SchemaType, (string)value));
1803if (sourceType == StringType) return (new XmlAtomicValue(SchemaType, (string)value));
1948if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(SchemaType, (string)value));
1949if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, (string)value));
1967if (sourceType == StringType) return (new XmlAtomicValue(SchemaType, (string)value));
1973if (sourceType == StringType) return (new XmlAtomicValue(SchemaType, (string)value));
2366if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(SchemaType, (string)value));
2367if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, (string)value));
2383if (sourceType == StringType) return (new XmlAtomicValue(SchemaType, (string)value));
2388if (sourceType == StringType) return (new XmlAtomicValue(SchemaType, (string)value));
2771if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(SchemaType, (string)value));
2773if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, (string)value));
2857if (sourceType == StringType) return (new XmlAtomicValue(SchemaType, (string)value));
2866if (sourceType == StringType) return (new XmlAtomicValue(SchemaType, (string)value));
2870if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(SchemaType, this.ToString(value, nsResolver)));
2871if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, this.ToString(value, nsResolver)));
2892if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(SchemaType, this.ToString(value, nsResolver)));
2893if (destinationType == XPathItemType) return (new XmlAtomicValue(SchemaType, this.ToString(value, nsResolver)));
3276if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.String), (string)value));
3336if (sourceType == StringType) return (new XmlAtomicValue(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.String), (string)value));