FrameworkFork\Microsoft.Xml\Xml\schema\XmlValueConverter.cs (14)
2069if (IsDerivedFrom(sourceType, UriType)) if (TypeCode == XmlTypeCode.AnyUri) return AnyUriToString((Uri)value);
2079if (IsDerivedFrom(sourceType, XmlQualifiedNameType))
2171if (IsDerivedFrom(sourceType, XmlQualifiedNameType))
2205if (IsDerivedFrom(sourceType, UriType)) if (TypeCode == XmlTypeCode.AnyUri) return ((Uri)value);
2227if (IsDerivedFrom(sourceType, UriType)) if (TypeCode == XmlTypeCode.AnyUri) return (new XmlAtomicValue(SchemaType, value));
2229if (IsDerivedFrom(sourceType, XmlQualifiedNameType))
2656if (IsDerivedFrom(sourceType, UriType)) return AnyUriToString((Uri)value);
2658if (IsDerivedFrom(sourceType, XmlQualifiedNameType)) return QNameToString((XmlQualifiedName)value, nsResolver);
3029if (IsDerivedFrom(sourceType, XPathNavigatorType)) return ((XPathNavigator)value);
3033if (IsDerivedFrom(sourceType, XPathNavigatorType)) return ((XPathItem)value);
3341if (IsDerivedFrom(sourceType, UriType)) return (new XmlAtomicValue(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.AnyUri), value));
3342if (IsDerivedFrom(sourceType, XmlQualifiedNameType)) return (new XmlAtomicValue(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.QName), value, nsResolver));
3347if (IsDerivedFrom(sourceType, XPathNavigatorType)) return ((XPathNavigator)value);
3351if (IsDerivedFrom(sourceType, XPathNavigatorType)) return ToNavigator((XPathNavigator)value);