mirror of https://github.com/icsharpcode/ILSpy.git
Browse Source
We now avoid the old `IModuleReference` interface which required allocating for every type being resolved. Instead `MetadataModule.ResolveModule` now combines decoding+resolving assembly references into a single step. This allows the type system to maintain a cache indexed by row number. This also changes the behavior of resolving references within a compilation: We now prefer an exact match (name + version + publickeytoken) first; and fall back to a name-only match only if no exact match exists. This somewhat improves the decompilation of assemblies created by using ilmerge to combine assemblies with different target frameworks.pull/2113/head
4 changed files with 94 additions and 29 deletions
Loading…
Reference in new issue