Daniel Grunwald
04662d7c7d
Auto-loading dependent assemblies shouldn't trigger saving the assembly list
...
This avoids saving the file a dozen times during the initial decompilation.
5 years ago
Daniel Grunwald
102ddcadc7
#2050 : Add additional test where the integer field is nested in a struct field.
5 years ago
Siegfried Pammer
00b65453ee
Remove `out var _` hack
5 years ago
Siegfried Pammer
a0d9410f67
Fix build.
5 years ago
Siegfried Pammer
05c988c5df
Revert "#2098: CallBuilder: Fix named argument handling in TI"
...
This partially reverts commit eea4b7701c
.
5 years ago
Siegfried Pammer
3bc0bf3270
WIP
5 years ago
Christoph Wille
6ab58865a8
lock-threads now runs once a day
5 years ago
Siegfried Pammer
e22e5423d5
Fix #2098 : Support auto event pattern with reordered arguments.
5 years ago
Siegfried Pammer
eea4b7701c
#2098 : CallBuilder: Fix named argument handling in TI
5 years ago
Siegfried Pammer
ea9d2a2eb2
Fix output of pattern nodes
5 years ago
Daniel Grunwald
f5409ebe31
Fix re-pinning getting confused about which variant of the pinned local to use when the new re-pinned reference depends on the old pinned reference.
5 years ago
Siegfried Pammer
e0a8f957cc
Fix #2097 : Prefix:PropertyName is invalid syntax
5 years ago
Christoph Wille
d08d9154b1
Remove lock comment
5 years ago
Christoph Wille
deae14a316
Temp run once an hour
5 years ago
Siegfried Pammer
4f1443e2ff
Fix #2097 : Prefix:PropertyName is invalid syntax
5 years ago
Christoph Wille
2b67388aa8
Merge pull request #2087 from icsharpcode/lock_closed_issues
...
Lock closed issues after defined time period
5 years ago
Daniel Grunwald
4b716e2db5
Fix #2056 : "remove branch into body" must be executed before the clone cleanup
...
Otherwise the to-be-removed branch could keep an soon-to-be-unreachable block alive outside the pinned region.
5 years ago
Daniel Grunwald
c9f65d3b5e
Fix #1555 : Eliminate value-type temporaries emitted by mcs on field reads.
5 years ago
Daniel Grunwald
bd4e565b93
Ensure all pinned regions variables are converted to VariableKind.PinnedRegionLocal
5 years ago
Daniel Grunwald
3e6e628483
Fix missing conversion on ref-reassignment.
5 years ago
Daniel Grunwald
ddff831cf0
#1292 : Fix some more problems with pinned locals.
...
Let's distinguish between the original pinned locals and the PinnedRegion locals.
The format need declarations if any are left over after transformations; the latter don't.
5 years ago
Siegfried Pammer
f014e38614
Merge pull request #2067 from edkazcarlson/debugInfo
...
Adding variable tracking throughout assembly printout
5 years ago
Siegfried Pammer
16585ee838
Merge branch 'master' into debugInfo
5 years ago
Siegfried Pammer
f9562d6701
Fix build.
5 years ago
Siegfried Pammer
e7d49b2305
Fix #2079 : Allow variables generated from state-machine fields to be propagated in TDCU.
5 years ago
Edward Kazuya Carlson
eabe8f9635
Update ILSpy.ReadyToRun/ReadyToRunLanguage.cs
...
Change how it handle's unexpected var loc types.
Co-authored-by: Siegfried Pammer <siegfriedpammer@gmail.com>
5 years ago
Daniel Grunwald
4cc1d1f3ec
Add resources for new options.
5 years ago
Siegfried Pammer
edf9dc1821
Merge pull request #2066 from maikebing/master
...
All the new statements has been translated
5 years ago
Daniel Grunwald
cc850c27aa
Add "Aggressive inlining" option
5 years ago
Daniel Grunwald
8e67a22896
Update to Roslyn 3.7.0
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
62b8ab39f1
Fix oversight from b788441c78
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
1751c9922c
Avoid constructing a GetClassTypeReference instance in TypeProvider.GetTypeFromReference.
5 years ago
Daniel Grunwald
b788441c78
DecompilerTypeSystem: If some known types are present in referenced assemblies but others are missing; add the missing known types to the compilation.
...
This ensures that FindType(KnownTypeCode).GetDefinition() always returns a usable definition.
5 years ago
Daniel Grunwald
5bd47c171f
Don't require a definition for the task builder type, also accept an UnknownType.
5 years ago
Daniel Grunwald
440ef75898
Avoid pointless UnknownType->object->UnknownType casts.
5 years ago
Daniel Grunwald
b6b5f1e8e6
#2092 : ILFunction.Parameters / ILFunction.ReturnType should never be null.
5 years ago
Daniel Grunwald
40e2776f02
#2089 : Handle invalid attribute/reference metadata in `DetectTargetFrameworkId`
5 years ago
Daniel Grunwald
c6b10d3ec3
Fix #2094 : ByteOffset() arguments passed in wrong order
5 years ago
Edward Carlson
ef96d178bf
change from tuple to valuetuple
5 years ago
Siegfried Pammer
2403548ce3
Add tests for C# 9.0 lambda parameter discards
5 years ago
Edward Carlson
8b49cc0f54
backup
5 years ago
Christoph Wille
aaca0e92b8
Remove gitter.im, we are now using Discussions
5 years ago
Christoph Wille
ced4b8d3d3
Implementation for https://github.com/icsharpcode/ILSpy/issues/1933#issuecomment-663998595
...
Uses https://github.com/marketplace/actions/lock-threads
Settings: issues only, run once a day, lock after 365 days, add comment why it was locked
5 years ago
Edward Kazuya Carlson
005135be0f
Merge pull request #2 from cshung/patches
...
Some changes I wanted
5 years ago
Andrew Au
28a1382a52
Some changes I wanted
5 years ago
Daniel Grunwald
5c949e6e20
Fix #2086 : Check that window belongs to ILSpy before sending it a WM_COPYDATA message.
5 years ago
Daniel Grunwald
1a997fdb60
Enable aggressive inlining into switch expressions.
5 years ago
Daniel Grunwald
abb9d49a0f
Add support for C# 8 switch expressions.
5 years ago