Use Uri.TryCreate.
authorEric Erhardt <eric.erhardt@microsoft.com>
Fri, 30 Mar 2018 13:29:26 +0000 (08:29 -0500)
committerKarel Zikmund <karelz@microsoft.com>
Fri, 30 Mar 2018 22:39:16 +0000 (15:39 -0700)
commit0bee307efde36b0521eb507a4a4ca617ac982424
treea11ee4bfda53183257d4f1893dad5466b1340ac6
parent6f9ccd36f3d8d299758435b63d96d708022f4278
Use Uri.TryCreate.

Commit migrated from https://github.com/dotnet/core-setup/commit/6a412613237213abb40521846e5a8da0f63c8ed0
src/installer/managed/Microsoft.Extensions.DependencyModel/DependencyContextLoader.cs