System\Xml\Schema\XmlValueConverter.cs (12)
1734if (IsDerivedFrom(sourceType, UriType)) if (TypeCode == XmlTypeCode.AnyUri) return AnyUriToString((Uri)value);
1744if (IsDerivedFrom(sourceType, XmlQualifiedNameType))
1836if (IsDerivedFrom(sourceType, XmlQualifiedNameType))
1870if (IsDerivedFrom(sourceType, UriType)) if (TypeCode == XmlTypeCode.AnyUri) return ((Uri)value);
1892if (IsDerivedFrom(sourceType, UriType)) if (TypeCode == XmlTypeCode.AnyUri) return (new XmlAtomicValue(SchemaType!, value));
1894if (IsDerivedFrom(sourceType, XmlQualifiedNameType))
2256if (IsDerivedFrom(sourceType, UriType)) return AnyUriToString((Uri)value);
2258if (IsDerivedFrom(sourceType, XmlQualifiedNameType)) return QNameToString((XmlQualifiedName)value, nsResolver);
2809if (IsDerivedFrom(sourceType, UriType)) return (new XmlAtomicValue(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.AnyUri), value));
2810if (IsDerivedFrom(sourceType, XmlQualifiedNameType)) return (new XmlAtomicValue(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.QName), value, nsResolver));
2815if (IsDerivedFrom(sourceType, XPathNavigatorType)) return ((XPathNavigator)value);
2819if (IsDerivedFrom(sourceType, XPathNavigatorType)) return ToNavigator((XPathNavigator)value);