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