Files
dotnet-runtime/src/libraries
github-actions[bot]andLakshan Fernando 93bdfbee28 [release/5.0] Harden AssemblyDependencyResolver assemblyPaths (#52070)
* Harden AssemblyDependencyResolver assemblyPaths AssemblyDependencyResolver is made resilience to the case where hostpolicy.dll returns the same assembly paths by ignoring multiple entries. This is done by using OrdinalIgnoreCase comparison on Windows and Ordinal comparison elsewhere Fix #37162

* Pick the first simple assembly for multiples

AssemblyDependencyResolver is made resilience to the case when
hostpolicy.dll returns multiple assembly paths for the same assembly
by picking the first one.

Fix #37162

* missed an extra line

* Test case for casing change with the same assembly

* typo

* Disabled the tests for non-windows

Filed #42334 to track the linux-mac differences

* test with enhanced scenarios

Co-authored-by: Lakshan Fernando <[email protected]>
2021-05-05 10:21:40 -07:00
..
2021-03-25 20:36:53 -07:00
2021-03-25 20:36:53 -07:00