16 references to ToUri
System.Private.Xml (16)
System\Xml\Core\XsdValidatingReader.cs (1)
173
_validator.SourceUri = XmlConvert.
ToUri
(reader.BaseURI); // Not using XmlResolver.ResolveUri as it checks for relative Uris,reader.BaseURI will be absolute file paths or string.Empty
System\Xml\Dom\DocumentSchemaValidator.cs (1)
246
_validator.SourceUri = XmlConvert.
ToUri
(_document.BaseURI);
System\Xml\Schema\NamespaceList.cs (1)
57
XmlConvert.
ToUri
(splitString[i]); // can throw
System\Xml\Schema\Preprocessor.cs (1)
509
XmlConvert.
ToUri
(uri); // can throw
System\Xml\Schema\SchemaCollectionpreProcessor.cs (5)
306
XmlConvert.
ToUri
(tns); // can throw
370
XmlConvert.
ToUri
(loc); // can throw
417
XmlConvert.
ToUri
(ns); //can throw
1546
XmlConvert.
ToUri
(notation.Public); // can throw
1561
XmlConvert.
ToUri
(notation.System); // can throw
System\Xml\Schema\XmlValueConverter.cs (4)
1793
if (destinationType == UriType) if (TypeCode == XmlTypeCode.AnyUri) return XmlConvert.
ToUri
((string)value);
1869
if (sourceType == StringType) if (TypeCode == XmlTypeCode.AnyUri) return XmlConvert.
ToUri
((string)value);
2350
if (destinationType == UriType) return XmlConvert.
ToUri
((string)value);
2433
if (sourceType == StringType) return XmlConvert.
ToUri
((string)value);
System\Xml\Serialization\XmlSerializerNamespaces.cs (1)
71
XmlConvert.
ToUri
(ns);
System\Xml\XmlQualifiedName.cs (1)
138
XmlConvert.
ToUri
(Namespace);
System\Xml\Xsl\XsltOld\Compiler.cs (1)
776
XmlConvert.
ToUri
(nsUri);