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
Siegfried Pammer
540abf84a6
Merge pull request #2697 from icsharpcode/ilspyx-search
3 years ago
Siegfried Pammer
760b8cedcf
Merge pull request #2696 from icsharpcode/record-structs
3 years ago
Andrii Kurdiumov
a2e9a2f5d8
Allow decompile C++/CLI assemblies
...
When C++/CLI project produce assembly it generates target attribute like this
```
[assembly: TargetFramework(".NETCoreApp,Version=7.0", FrameworkDisplayName = "")]
```
when C# generates `TargetFrameworkAttribute` it produce slightly different format
```
[assembly: TargetFramework(".NETCoreApp,Version=v7.0", FrameworkDisplayName = "")]
```
3 years ago
Siegfried Pammer
e8a480d43f
Move search functionality to ILSpyX
3 years ago
Siegfried Pammer
e905160537
Extend definition of ComputeIsRecord to avoid false-positives.
3 years ago
Siegfried Pammer
11468135b4
Add special-case for non-primary record struct constructors
3 years ago
Siegfried Pammer
d248867302
Add support for C# 10 record structs.
3 years ago
Christoph Wille
de350f19dd
Switch action to Windows machine
3 years ago
Christoph Wille
f5269769be
CycloneDX BOM generation
3 years ago
Siegfried Pammer
39992161b6
Fix #2692 : NRE in DeconstructionTransform.IsCompatibleImplicitConversion
3 years ago
Daniel Grunwald
672cff6897
Merge pull request #2677 from fowl2/GuessFakeMethodAccessor
...
Assume conventionally named unresolved method references are properties or events
3 years ago
James May
4aaf452b75
Merge branch 'icsharpcode:master' into GuessFakeMethodAccessor
3 years ago
Siegfried Pammer
c0f0135373
#2691 : Do not use AssemblyDefintion.GetAssemblyName().
...
This fails in culture-invariant mode (ilspycmd) when trying to work with satellite assemblies, because System.Reflection.AssemblyName tries to retrieve CultureInfo of the assembly culture.
3 years ago
Siegfried Pammer
a791612077
Fix broken HexFilterControl
3 years ago
Siegfried Pammer
44aa41d933
Fix #2686 : Introduce ToolPaneModel.AssociatedCommand to allow overriding Window-menu action.
3 years ago
Siegfried Pammer
7e08c348b5
#2685 : Emit 'override' without 'newslot' as 'virtual' if there is no (known) method to override.
3 years ago
Siegfried Pammer
c66eb7bbef
#2685 : Hide ctors from ComImport classes.
...
#2685 : Remove logic added in previous commit, as it breaks our ILPretty tests.
3 years ago
Siegfried Pammer
3e05a8d763
#2685 : Emit 'override' without 'newslot' as 'virtual' if there is no (known) method to override.
3 years ago
Siegfried Pammer
1aa36a23f2
Use test-summary/action@v1 for test reports.
3 years ago
Siegfried Pammer
e61f46c474
Add MethodCodeType argument to MethodImplAttribute.
3 years ago
Siegfried Pammer
146fd72e4f
Do not add NETCORE preproc symbol if CompilerOptions.TargetNet40 is specified.
3 years ago
Siegfried Pammer
54a3bba820
#2685 : Do not add interface impl helper for extern methods.
3 years ago
Siegfried Pammer
ca9c288dc5
Merge pull request #2678 from andrewcrawley/custom-pdb-id
3 years ago
Daniel Grunwald
d6d0392d2f
Fix crash when IL byte code unexpectedly ends in the middle of an operand.
3 years ago