Remove premature throw (#24450)
authorSteve MacLean <stmaclea@microsoft.com>
Thu, 9 May 2019 02:33:10 +0000 (22:33 -0400)
committerGitHub <noreply@github.com>
Thu, 9 May 2019 02:33:10 +0000 (22:33 -0400)
commit597e5faa03773e3140850d16381c00a6f9d20335
tree68b82458b0f0774ea8363cfef13aeea513450d8e
parent93ec324ee831cd4db087ae985c5b3a814ba8abb3
Remove premature throw (#24450)

* Remove premature throw

ResolveUsingEvent is no longer the last resort for Assembly resolution
and should not be throwing simply because the Assembly.Resolve event did
not find the Assembly

* Delay throw FileNotFound until after AppDomain.AssemblyResolve
src/System.Private.CoreLib/src/System/Runtime/Loader/AssemblyLoadContext.CoreCLR.cs
src/vm/appdomain.cpp