Siegfried Pammer
1c563a62a9
Fix #2090 : ignore mscorlib references without public key token, when trying to resolve mscorlib. This will automatically fallback to .NET 4.0's mscorlib.dll.
5 years ago
Daniel Grunwald
8061634e67
#1203 , #2092 : New logic for resolving assembly references within the type system.
...
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.
5 years ago
Daniel Grunwald
40e2776f02
#2089 : Handle invalid attribute/reference metadata in `DetectTargetFrameworkId`
5 years ago
Siegfried Pammer
4b865c27e4
Fix #2076 : VS AddIn opens reference assembly.
5 years ago
Siegfried Pammer
4f8c588c7b
Fix #2068 : ILSpy can't find referenced library even though it's open
5 years ago
Daniel Grunwald
bd059dfb59
Fix #2075 : IndexOutOfRange exception in PEFile.GetRuntime()
5 years ago
Siegfried Pammer
4f6d4a0954
Fix #2037 : Try to detect framework type when TargetFrameworkAttribute is missing
5 years ago
dymanoid
b492a20442
Move assembly resolution logic to better place
...
WholeProjectDecompiler shall not care about checking whether an assembly
is in GAC.
5 years ago
Siegfried Pammer
5f27fd9744
Fix DotNetCorePathFinder not finding assemblies in parent assembly base path.
5 years ago
Siegfried Pammer
40687ea8ad
#1498 : Remove Fusion API usage: Use standard file enumeration instead. This should enable us to use the GAC even with restricted access, as only the LIST permission is required.
5 years ago
Siegfried Pammer
7571b59abf
Improve DotNetCorePathFinderExtensions.DetectTargetFrameworkId to properly detect framework version of GAC assemblies.
5 years ago
Siegfried Pammer
0dfcafdfe8
Add preconfigured assembly list selection and rename command to ManageAssemblyListsDialog
5 years ago
Siegfried Pammer
60e9c204cc
Fix #1940 : Make sure that we use the correct .NET Core version, when there are multiple frameworks loaded in the current assembly list.
5 years ago
Siegfried Pammer
54a742f3f5
Metadata Explorer: Display blob contents of custom debug information in tooltip.
5 years ago
Siegfried Pammer
2efca22fae
Add Debug Metadata Explorer
5 years ago
Siegfried Pammer
6ac56bbc74
Refactor IAssemblyReference and IAssemblyResolver implementations in LoadedAssembly.
6 years ago
Andrew Au
93239e2e61
Implement FindAssembly
6 years ago
Siegfried Pammer
00b855851c
Fix typo.
6 years ago
Siegfried Pammer
805b83f43c
Fix DotNetCorePathFinder to properly support netstandard2.1
6 years ago
Siegfried Pammer
867d3d5755
Fix crash reported in #1820 : Change Dictionary<string, DotNetCorePackageInfo> to DotNetCorePackageInfo array, because key is no longer used.
6 years ago
Siegfried Pammer
e211b01595
Fix CA1507:UseNameofInPlaceOfString, adjust formatting of some older source files copied from NRefactory.
6 years ago
Siegfried Pammer
84ca705250
Fix #1750 : DotNetCorePathFinder should not crash if a package is missing
...
Fix #1757 : Error decompiling .NET Core 3.0 assembly in Linux
6 years ago
Siegfried Pammer
981401a206
Fix #1750 : DotNetCorePathFinder should not crash if a package is missing
...
Fix #1757 : Error decompiling .NET Core 3.0 assembly in Linux
6 years ago
Jane Doe
0c39ddbd9a
assosiated -> associated
6 years ago
jkuehner
6bd12413ae
Apply DebuggerDisplayAttribute to PEFile for easier debugging.
6 years ago
Siegfried Pammer
3b0402b381
Fix assembly resolving and Tester for .NET Core 3.0
6 years ago
Siegfried Pammer
e80a4a2f5c
Use .NET Core 3.0 in Unit Tests Roslyn config.
6 years ago
Andreas Weizel
c12b5d60ec
Resolve framework assemblies from more .NET Core runtime packs, like "Microsoft.WindowsDesktop.App" etc.
6 years ago
Siegfried Pammer
8bf7d3f41c
Support for most metadata tables.
6 years ago
Jan Kučera
b342dd6b11
Assembly search kind, default to short name
6 years ago
Siegfried Pammer
ad550fe675
Add uint{size} aliases used by ildasm.
6 years ago
Siegfried Pammer
05454bd741
Fix SwitchOnStringTransform.SimplifyCascadingIfStatements: do not remove statements unrelated to switch pattern.
6 years ago
Siegfried Pammer
22fa104ed6
UniversalAssemblyResolver: Unix can be either .NET Core or Mono, hence put the check last.
6 years ago
Jochen Kühner
427a459bfd
fixes #1646 - netcoreapp uses wrong mscorlib ( #1649 )
...
* fixes #1646 - netcoreapp uses wrong mscorlib
* optimize framework detection
* refactor decompiler runtime to a enum
6 years ago
Siegfried Pammer
a9bb17aba9
Make it possible to search by full name without including generic type parameters.
6 years ago
Siegfried Pammer
db65c49f00
Show full assembly load log in ReferenceFolderTreeNode.
6 years ago
Siegfried Pammer
7befbb659c
#1300 : Fix resolver bug in DotNetCorePathFinder
6 years ago
Siegfried Pammer
efb66e7878
Add documentation for CodeMappingInfo.
6 years ago
Siegfried Pammer
c23522dca1
Add BAML decompiler engine from dnSpy.
6 years ago
Siegfried Pammer
f716f4ed9c
Fix CSharpLanguage.GetEntityName to return ~TypeName for destructors.
7 years ago
Siegfried Pammer
6a1181c496
Add support for mscorlib: Compact Framework v2.0 and v3.5.
7 years ago
Chris Poole
e812a1f230
Add search path for Compact Framework 3.5 mscorlib.dll
7 years ago
Chris Poole
4ef03611dd
Add folder null check in GetMscorlibBasePath to stop exception on NETCF 3.5 assemblies
7 years ago
Chris Poole
3cf492382c
Update UniversalAssemblyResolver to include missing .NET 3 support
7 years ago
Siegfried Pammer
fac1a4d115
Fix #1311 : Methods in .winmd files compiled from C# don't show up in individual method view in ILSpy 4.
...
Add an option to disable application of WinRT projections.
7 years ago
Siegfried Pammer
702302ed35
Fix #1141 : Add basic support for resolving winmd files to UniversalAssemblyResolver.
7 years ago
Siegfried Pammer
3d68da7237
Improve parsing of TargetFramework attribute in UniversalAssemblyResolver.
7 years ago
Daniel Grunwald
b331c59169
Fix #1234 : handle exception when a field initial value is not available
7 years ago
Siegfried Pammer
af594e46b9
Do not crash on files that contain no managed metadata.
7 years ago
Siegfried Pammer
a5ea005c9a
Fix #1223 : Can't open up assembly for browsing
7 years ago