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.
6 years ago
Siegfried Pammer
f014e38614
Merge pull request #2067 from edkazcarlson/debugInfo
...
Adding variable tracking throughout assembly printout
6 years ago
Siegfried Pammer
16585ee838
Merge branch 'master' into debugInfo
6 years ago
Siegfried Pammer
f9562d6701
Fix build.
6 years ago
Siegfried Pammer
e7d49b2305
Fix #2079 : Allow variables generated from state-machine fields to be propagated in TDCU.
6 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>
6 years ago
Daniel Grunwald
4cc1d1f3ec
Add resources for new options.
6 years ago
Siegfried Pammer
edf9dc1821
Merge pull request #2066 from maikebing/master
...
All the new statements has been translated
6 years ago
Daniel Grunwald
cc850c27aa
Add "Aggressive inlining" option
6 years ago
Daniel Grunwald
8e67a22896
Update to Roslyn 3.7.0
6 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.
6 years ago
Siegfried Pammer
62b8ab39f1
Fix oversight from b788441c78
6 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.
6 years ago
Daniel Grunwald
1751c9922c
Avoid constructing a GetClassTypeReference instance in TypeProvider.GetTypeFromReference.
6 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.
6 years ago
Daniel Grunwald
5bd47c171f
Don't require a definition for the task builder type, also accept an UnknownType.
6 years ago
Daniel Grunwald
440ef75898
Avoid pointless UnknownType->object->UnknownType casts.
6 years ago
Daniel Grunwald
b6b5f1e8e6
#2092 : ILFunction.Parameters / ILFunction.ReturnType should never be null.
6 years ago
Daniel Grunwald
40e2776f02
#2089 : Handle invalid attribute/reference metadata in `DetectTargetFrameworkId`
6 years ago
Daniel Grunwald
c6b10d3ec3
Fix #2094 : ByteOffset() arguments passed in wrong order
6 years ago
Edward Carlson
ef96d178bf
change from tuple to valuetuple
6 years ago
Siegfried Pammer
2403548ce3
Add tests for C# 9.0 lambda parameter discards
6 years ago
Edward Carlson
8b49cc0f54
backup
6 years ago
Christoph Wille
aaca0e92b8
Remove gitter.im, we are now using Discussions
6 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
6 years ago
Edward Kazuya Carlson
005135be0f
Merge pull request #2 from cshung/patches
...
Some changes I wanted
6 years ago
Andrew Au
28a1382a52
Some changes I wanted
6 years ago
Daniel Grunwald
5c949e6e20
Fix #2086 : Check that window belongs to ILSpy before sending it a WM_COPYDATA message.
6 years ago
Daniel Grunwald
1a997fdb60
Enable aggressive inlining into switch expressions.
6 years ago
Daniel Grunwald
abb9d49a0f
Add support for C# 8 switch expressions.
6 years ago
MysticBoy
8e9030f16c
Merge branch 'master' of https://github.com/maikebing/ILSpy
6 years ago
MysticBoy
bb39fe9f87
fix for Berrysoft‘s suggestion
6 years ago
Siegfried Pammer
383d02611f
Add BuildTools/sort-resx.ps1 and sort contents of resx files by key
6 years ago
MysticBoy
d1bced7eb3
fix for Berrysoft 's suggestion
6 years ago
MysticBoy
3edc8860c8
fix An attribute argument must be a constant expression, typeof expression or array creation expression of an attribute parameter type
6 years ago
MysticBoy
865f855501
Add something missing.
6 years ago
MysticBoy
485278acf8
add ILSpy.ReadyToRun.Plugin.resources.dll to appveyor.yml for 7z
6 years ago
MysticBoy
cae92aa390
Merge pull request #2 from maikebing/addin
...
Translation for Addin.
6 years ago
MysticBoy
5f150efb74
add for vsixlangpack
6 years ago
MysticBoy
9aa39a941a
modify for vsct
6 years ago
MysticBoy
0830a7dada
for vsct
6 years ago
MysticBoy
3c338cb5c9
Merge pull request #1 from Berrysoft/co-trans
...
Discussion about the translations
6 years ago
Berrysoft
4b05d85565
Update about page
6 years ago
Berrysoft
3e64895ec2
Step -> 步骤
6 years ago
Berrysoft
c05151d28d
Adjust res order.
6 years ago
Berrysoft
c08a31a4c9
Merge upstream translations.
6 years ago
MysticBoy
4bc5b2bcbb
update tests
6 years ago
MysticBoy
d96b546db8
Merge branch 'master' of https://github.com/icsharpcode/ILSpy
6 years ago
Daniel Grunwald
d388319cba
Add support for C# 9 init accessors.
6 years ago
Daniel Grunwald
d02fd09822
Explicitly create partitioners for `Parallel.ForEach` calls.
...
Apparently the default `Parallel.ForEach` logic checks whether the input enumerable is an array or `IList<T>`,
and if it is, creates whole chunks of sequential list/array indices and assigns those to the worker threads.
This is more efficient if the individual items are processed very quickly; but if they take varying amounts of time, a single chunk full of expensive items might keep a single CPU core busy for long after all other CPU cores have gone idle.
6 years ago