[runtime] Fix assembly remapping by using a hashtable. Fixes #52846 and #52743
commit5e0d39a8a1268773656348a012a237164985dc5f
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 00:46:00 +0000 (27 16:46 -0800)
tree1b7e135130d3b51cddd96d4007e0896f9d9e6bc9
parentc2c4503360d21b505a5af3836cafe3569230eaa7
[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