15 references to ToUri
dotnet-svcutil-lib (15)
FrameworkFork\Microsoft.Xml\Xml\Core\XsdValidatingReader.cs (1)
182
_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
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentSchemaValidator.cs (1)
265
_validator.SourceUri = XmlConvert.
ToUri
(_document.BaseURI);
FrameworkFork\Microsoft.Xml\Xml\schema\NamespaceList.cs (1)
62
XmlConvert.
ToUri
(splitString[i]); // can throw
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (1)
534
XmlConvert.
ToUri
(uri); // can throw
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionPreprocessor.cs (5)
311
XmlConvert.
ToUri
(tns); // can throw
375
XmlConvert.
ToUri
(loc); // can throw
422
XmlConvert.
ToUri
(ns); //can throw
1559
XmlConvert.
ToUri
(notation.Public); // can throw
1574
XmlConvert.
ToUri
(notation.System); // can throw
FrameworkFork\Microsoft.Xml\Xml\schema\XmlValueConverter.cs (4)
2128
if (destinationType == UriType) if (TypeCode == XmlTypeCode.AnyUri) return XmlConvert.
ToUri
((string)value);
2204
if (sourceType == StringType) if (TypeCode == XmlTypeCode.AnyUri) return XmlConvert.
ToUri
((string)value);
2770
if (destinationType == UriType) return XmlConvert.
ToUri
((string)value);
2853
if (sourceType == StringType) return XmlConvert.
ToUri
((string)value);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializerNamespaces.cs (1)
64
XmlConvert.
ToUri
(ns);
FrameworkFork\Microsoft.Xml\Xml\XmlQualifiedName.cs (1)
192
XmlConvert.
ToUri
(_ns);