[runtime] Fix assembly remapping by using a hashtable. Fixes #52846 and #52743
commitfe9c5ebe97bd1127358da7e5613df1bace577051
authorRodrigo Kumpera <kumpera@gmail.com>
Tue, 28 Feb 2017 00:46:00 +0000 (27 16:46 -0800)
committerRodrigo Kumpera <kumpera@gmail.com>
Tue, 28 Feb 2017 01:09:29 +0000 (27 17:09 -0800)
tree00eb5ca759c3f58a30a2e80a0017ea0df85056c6
parent51403d818e2ab0d9a43aecab39671d17a4603d0a
[runtime] Fix assembly remapping by using a hashtable. Fixes #52846 and #52743

In multiple occasions we had bugs due to framework_assemblies not being correctly sorted.

Instead of just fixing the ordering again, I'm moving it a hashtable so future generations won't have to fix this for System.SpaceTravel.dll.
mono/metadata/assembly.c