15 references to ToUri
System.Xml (15)
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)
229
validator.SourceUri = XmlConvert.
ToUri
(document.BaseURI);
System\Xml\Schema\NamespaceList.cs (1)
50
XmlConvert.
ToUri
(splitString[i]); // can throw
System\Xml\Schema\Preprocessor.cs (1)
453
XmlConvert.
ToUri
(uri); // can throw
System\Xml\Schema\SchemaCollectionpreProcessor.cs (5)
264
XmlConvert.
ToUri
(tns); // can throw
314
XmlConvert.
ToUri
(loc); // can throw
348
XmlConvert.
ToUri
(ns); //can throw
1237
XmlConvert.
ToUri
(notation.Public); // can throw
1248
XmlConvert.
ToUri
(notation.System); // can throw
System\Xml\Schema\XmlValueConverter.cs (4)
1931
if (destinationType == UriType) if (TypeCode == XmlTypeCode.AnyUri) return XmlConvert.
ToUri
((string) value);
1990
if (sourceType == StringType) if (TypeCode == XmlTypeCode.AnyUri) return XmlConvert.
ToUri
((string) value);
2499
if (destinationType == UriType) return XmlConvert.
ToUri
((string) value);
2564
if (sourceType == StringType) return XmlConvert.
ToUri
((string) value);
System\Xml\Serialization\XmlSerializerNamespaces.cs (1)
61
XmlConvert.
ToUri
(ns);
System\Xml\XmlQualifiedName.cs (1)
235
XmlConvert.
ToUri
(ns);