6 references to TryCreate
dotnet-svcutil-lib (2)
Metadata\MetadataDocumentLoader.cs (2)
270
isUrl && Uri.TryCreate(baseUrl, UriKind.Absolute, out Uri baseUri) && Uri.
TryCreate
(baseUri, uri, out serviceUri) ||
501
Uri.
TryCreate
(baseUri, schemaLocation, out schemaUri);
PresentationCore (2)
MS\Internal\FontCache\CanonicalFontFamilyReference.cs (1)
53
resolved = Uri.
TryCreate
(baseUri, locationString, out absoluteUri);
MS\Internal\FontCache\FontCacheUtil.cs (1)
566
if (Uri.
TryCreate
(fontLocation, fakeFileName, out fileUri))
System.Net.Requests (1)
System\Net\FtpControlStream.cs (1)
994
if (!Uri.
TryCreate
(baseUri, escapedFilename, out newUri))
System.Net.WebClient (1)
System\Net\WebClient.cs (1)
785
if (!Uri.
TryCreate
(_baseAddress, address, out uri))