Charlie Lin
65d1cbcdd5
Add EnableWindowsTargeting propery to csprojs targeting net6.0-windows
3 years ago
Siegfried Pammer
6584a2f576
Performance Optimization: Do no longer collect all lower case type and member names.
3 years ago
Siegfried Pammer
2ed9ad6b51
Add support for C# 11 scoped parameter modifier.
3 years ago
Siegfried Pammer
5f324de10b
Add support for ref fields.
3 years ago
Daniel Grunwald
fc882b9203
Automatically install dotnet-format in specific version in the commit hook.
3 years ago
Siegfried Pammer
1afcec2af1
Merge branch 'roslyn-430'
3 years ago
Siegfried Pammer
1f1e95d7a1
Update RecordDecompiler for Roslyn 4.3.0.
3 years ago
Daniel Grunwald
3c847b56a2
Fix decompilation of async streams compiled with Roslyn 4.2
3 years ago
Siegfried Pammer
22e9791f86
Update RoslynToolset to 4.3.0-2.final
3 years ago
Daniel Grunwald
f02fc5c50e
VB marks lambdas as [SpecialName]
3 years ago
Daniel Grunwald
21c3ec046f
Output attributes on lambda expressions
3 years ago
Siegfried Pammer
1d22470c80
Merge branch 'master' of https://github.com/icsharpcode/ILSpy
3 years ago
Siegfried Pammer
5046e4cf60
Fix #2718 , Fix #2719 , Fix #2725 : Remove WPF compiler-generated code.
3 years ago
Christoph Wille
f1a0894ef5
Install specific version of dotnet-format from AzDO feed ( #2747 )
3 years ago
Daniel Grunwald
f2ec937e67
Fix formatting check in CI
3 years ago
Daniel Grunwald
08ceffc3ad
Upgrade dotnet-format from version 5 to the version included with the .NET (6) SDK.
3 years ago
Daniel Grunwald
6a9d5cd20a
Merge pull request #2743 from icsharpcode/string-interpolation-blocks
...
Add support for C# 10 interpolated string improvements
3 years ago
Siegfried Pammer
f695bbcf3a
Add support for DefaultInterpolatedStringHandler
3 years ago
Siegfried Pammer
fbafc0289b
Fix #2741 : CallBuilder produces invalid invocation target when disambiguating calls to protected methods.
3 years ago
Siegfried Pammer
5078796b17
Add support for string format alignment.
3 years ago
Daniel Grunwald
06039f24ef
Merge pull request #2731 from ElektroKill/transform-initializer-reduce-alloc
...
Reduce allocations in TransformArrayInitializers
3 years ago
dependabot[bot]
fecb5a36f6
Bump dessant/lock-threads from 2.0.1 to 3.0.0 ( #2739 )
...
* Bump dessant/lock-threads from 2.0.1 to 3.0.0
Bumps [dessant/lock-threads](https://github.com/dessant/lock-threads ) from 2.0.1 to 3.0.0.
- [Release notes](https://github.com/dessant/lock-threads/releases )
- [Changelog](https://github.com/dessant/lock-threads/blob/master/CHANGELOG.md )
- [Commits](https://github.com/dessant/lock-threads/compare/v2.0.1...v3.0.0 )
---
updated-dependencies:
- dependency-name: dessant/lock-threads
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Fix breaking change as per changelog
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Christoph Wille <christoph.wille@gmail.com>
3 years ago
dependabot[bot]
0c7b24e964
Bump actions/upload-artifact from 2 to 3 ( #2738 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
ea21e2b8e2
Bump actions/checkout from 2 to 3 ( #2740 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
b32505ce50
Bump actions/setup-dotnet from 1 to 2 ( #2737 )
...
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet ) from 1 to 2.
- [Release notes](https://github.com/actions/setup-dotnet/releases )
- [Commits](https://github.com/actions/setup-dotnet/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: actions/setup-dotnet
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
Christoph Wille
3d6e94e8e5
Move dependabot.yml to correct folder
3 years ago
Christoph Wille
afc6fa2b56
Create dependabot.yml
...
See https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot and https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
3 years ago
Siegfried Pammer
3f09fc1385
Fix ArgumentOutOfRangeException in search when trying to search for metadata tokens and typing "@" into the search box.
3 years ago
Siegfried Pammer
186cc51bf7
Fix #2733 : Ignore bad metadata when trying to resolve ResolutionScope
3 years ago
Siegfried Pammer
e65c0c88fd
Fix #2732 : Set focus on tree node after refresh.
3 years ago
ElektroKill
760a6a653e
Reduce allocations in TransformArrayInitializers
...
DecodeArrayInitializer - Instead of relying on the Add method of a list to expand the underlying array when necessary, the code now allocates a big enough array to fit all the elements removing the need for the Add method to expand the array several times.
BlockFromInitializer now reuses a single instance of List<ILInstruction> instead of reallocating a new one every time and clears it when necessary. The same pre-allocation approach mentioned above has been implemented here too.
3 years ago
Siegfried Pammer
7f0f72823b
Fix typo in CodeAssert
3 years ago
Siegfried Pammer
9ed4d084d5
#2718 : Move XAML files that have an x:Class declaration next to their C# counterparts when using WholeProjectDecompiler.
3 years ago
Christoph Wille
485e77da20
Fix #2724 : CodeQL action bump to v2
3 years ago
Christoph Wille
6fa78d5b34
PdbProvider.Cecil no longer exists (-> ILSpyX)
3 years ago
Siegfried Pammer
b72f5bac6c
Merge pull request #2713 from icsharpcode/christophwille/ilspyxnuget
...
Build ILSpyX NuGet package
3 years ago
Siegfried Pammer
a6721df590
Fix #2707 : Resolve full path to OutputDirectory before using it.
3 years ago
Siegfried Pammer
d3f8912d53
Handle special-cases with addressof:
...
- Never introduce casts for ldobj-address-chains
- Add special-case to TransformExpressionTrees: transform addressof(ldloc) to ldloca
- Classify foreach and using variables as readonly lvalues
3 years ago
Siegfried Pammer
8dd721aee3
Fix #2706 : Filenames and directories truncated to 30 characters.
...
With the built-in support for long paths in .NET 6.0, we no longer need to check for the registry key. The only limitation that remains is maxSegmentLength, which seems to be 255 on all commonly used file systems/all platforms. Also there is no need to differentiate between Windows and other platforms.
- Windows Explorer in Windows 10 seems to be fine with files generated by ILSpy that have names longer than 260 characters.
- Notepad++ and other applications seem to use 8.3 path syntax to access the file.
- Visual Studio 2022 does not like the long path names, affected users should raise an issue with MS. ILSpy generates proper paths.
3 years ago
Siegfried Pammer
702a7da2c3
Fix #2714 : Force inlining of call targets in ctor initializers.
3 years ago
Christoph Wille
22eafd55c0
Build workflow publish ILSpyX NuGet to artifacts & feed on master
3 years ago
Christoph Wille
5379b29c30
Build ILSpyX NuGet package
3 years ago
Siegfried Pammer
874ac9ac0b
Fix #2712 : TransformCollectionAndObjectInitializers fails to properly detect set-accessors of FakeProperties.
...
Bug likely introduced due to an oversight in #2677 .
3 years ago
Siegfried Pammer
107a5b5044
ILSpyX: Make all Search-related types public
3 years ago
Siegfried Pammer
7ce453c73d
Fix #2710 : enhanced using statements are not allowed as embedded statements.
3 years ago
Siegfried Pammer
4e035ab2ec
Merge pull request #2703 from superstrom/patch-1
...
Fix allowed Language Versions
3 years ago
Siegfried Pammer
613f0833ea
Fix #2705 : Replace '.dll' with '.exe' in shell handler
3 years ago
Siegfried Pammer
e2d79774cd
#2704 : Delay decompilation requests until context menu is closed.
3 years ago
superstrom
29bfe82d11
Fix allowed Language Versions
3 years ago
Daniel Grunwald
93d97ab2cc
Merge pull request #2698 from kant2002/patch-1
...
Allow decompile C++/CLI assemblies
3 years ago