Peter Crabtree
e1e16b64f5
dev: Strip BOM mark from text files
4 months ago
Siegfried Pammer
62cdf38e9b
Fix #3349 : Get rid of version string manipulation in UniversalAssemblyResolver.ParseTargetFramework.
1 year ago
Herrmannsdörfer, Felix
63c2bb0b18
Ignore empty version directories of dotnet
1 year ago
Siegfried Pammer
ca78d4a14d
Use MetadataFile instead of PEFile in TypeSystem.
2 years ago
Siegfried Pammer
3de29c8d74
Fix #2891 Populate framework_dirs with the correct values depending on the current host runtime.
2 years ago
Brad Cleaver
b3f85abcc4
Fix ArgumentOutOfRangeException on unexpected file in GAC
3 years ago
Siegfried Pammer
de5b72114e
Fix nullable and other warnings.
4 years ago
Siegfried Pammer
93dcba3426
* Rename Metadata.GenericContext to MetadataGenericContext to avoid conflicts with TypeSystem.GenericContext
...
* Change MetadataGenericContext to readonly struct
* Rearrange types in Dom.cs
4 years ago
Siegfried Pammer
3d35240224
Fix nullability warning and bug in UniversalAssemblyResolver.
4 years ago
Siegfried Pammer
a2e9d5bb66
Simplify UniversalAssemblyResolver.GetAsssemblyFile
4 years ago
Siegfried Pammer
1efcfe4ae4
#2594 : Improve AssemblyListSnapshot: normalize all .NET Framework versions "v4.x" to "v4"
4 years ago
Siegfried Pammer
50cfcc214c
DecompilerTypeSystem: Add support for implicit references
4 years ago
Siegfried Pammer
35ad7f3074
Update build tools used by ILSpy to use .NET 5.0 instead of .NET Core 3.1
5 years ago
Daniel Grunwald
715968e02a
Fix potential NullReferenceException in UniversalAssemblyResolver
5 years ago
Daniel Grunwald
7f36cc3e50
#nullable enable for UniversalAssemblyResolver
5 years ago
Siegfried Pammer
f6e39005c6
Fix documentation warning.
5 years ago
Siegfried Pammer
2ed52b9634
#2362 : Provide more information on assembly resolve errors
5 years ago
Siegfried Pammer
b6da9b23b1
Fix thread-safety issue in UniversalAssemblyResolver
5 years ago
Siegfried Pammer
5734da4294
Fix #2314 : ILSpy incorrectly resolves a runtime dependency when dll is present in both WindowsDesktop.App and NETCore.App
5 years ago
Daniel Grunwald
d70bfe80d5
Add ResolveAsync() method to IAssemblyResolver interface.
...
DecompilerTypeSystem uses this to resolve/load multiple assemblies in parallel.
Unfortunately this doesn't gain us any performance yet in ILSpy because there we have a global assembly-loader-lock :(
5 years ago
Daniel Grunwald
899714d603
Remove unnecessary mutable state from UniversalAssemblyResolver.
5 years ago
Siegfried Pammer
cf5a38f927
Fix #2255 : Prefer ".dll" suffix over ".exe" in assembly reference resolution.
5 years ago
Siegfried Pammer
74203e7fb2
#2228 : Add additional documentation to clear up some misunderstanding about UniversalAssemblyResolver ctor parameters.
5 years ago
Daniel Grunwald
0de6238d65
Support resolving assembly references within a bundle.
5 years ago
文煌
d612008c9f
write OutputType for asp.net library
5 years ago
文煌
e8e0f89f6d
don't write HintPath for .NET Core shared assembly
5 years ago
Daniel Grunwald
9b27ced6af
Avoid reference on ICSharpCode.Decompiler in VS AddIn.
...
This way we don't need to load SRM 5 within the VS process.
5 years ago
dotnet format
0d9f871a4f
#2128 : Reformat the whole code base.
5 years ago
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
Siegfried Pammer
4b865c27e4
Fix #2076 : VS AddIn opens reference assembly.
6 years ago
Siegfried Pammer
4f8c588c7b
Fix #2068 : ILSpy can't find referenced library even though it's open
6 years ago
dymanoid
b492a20442
Move assembly resolution logic to better place
...
WholeProjectDecompiler shall not care about checking whether an assembly
is in GAC.
6 years ago
Siegfried Pammer
5f27fd9744
Fix DotNetCorePathFinder not finding assemblies in parent assembly base path.
6 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.
6 years ago
Siegfried Pammer
805b83f43c
Fix DotNetCorePathFinder to properly support netstandard2.1
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
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
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.
8 years ago
Siegfried Pammer
3d68da7237
Improve parsing of TargetFramework attribute in UniversalAssemblyResolver.
8 years ago
Siegfried Pammer
a5ea005c9a
Fix #1223 : Can't open up assembly for browsing
8 years ago
Siegfried Pammer
cb2ec2bf89
UniversalAssemblyResolver: Fix handling of strange assembly references.
8 years ago
Siegfried Pammer
ce855885b1
Implement new declsec parser in ReflectionDisassembler + added unit tests.
8 years ago