Fix Assembly.LoadFromPartialName(string) (#23912)
authorSteve MacLean <stmaclea@microsoft.com>
Fri, 12 Apr 2019 03:48:59 +0000 (23:48 -0400)
committerGitHub <noreply@github.com>
Fri, 12 Apr 2019 03:48:59 +0000 (23:48 -0400)
commitdaa688d788fa470133ef21b0b51f18e9d91d1228
tree84ac3b6e3a0cc42df42bc8b2eaf86e7f51759643
parent2a46c2580580b31d7fa18ea381d2aa838f31d025
Fix Assembly.LoadFromPartialName(string)  (#23912)

Assembly.LoadFromPartialName(string) should not throw FileNotFoundException, but
should rather return null.

ArgumentException should use nameof(partialName)

Fixes #19817
src/System.Private.CoreLib/shared/System/Reflection/Assembly.cs