Fix Assembly.LoadFrom resolver (#70537)
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Wed, 15 Jun 2022 02:45:48 +0000 (20:45 -0600)
committerGitHub <noreply@github.com>
Wed, 15 Jun 2022 02:45:48 +0000 (20:45 -0600)
commit50def09be82607b8c61ac43a01513d3747493234
tree753054c59c90eb1c993a8e0ce658071647259ec0
parent66cd9dc2467aaeed46c7104fae850e3bc1bf632d
Fix Assembly.LoadFrom resolver (#70537)

Path.GetFullPath fails on empty path. Check for empty requestor path earlier.

Fixes #67802

Co-authored-by: Jan Kotas <jkotas@microsoft.com>
src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs