Daniel Grunwald
b93e65cdad
Fix #901 : Refactor ILReader: only read reachable code + support reimports
...
This makes our logic more similar to that used by the dotnet runtime. This lets us infer correct stack types in edge cases such as #2401 . It also improves support for obfuscated control flow such as #2878 .
2 years ago
Daniel Grunwald
72a895f64f
#nullable enable for ILReader
2 years ago
Daniel Grunwald
6d671071c1
Fix #2851 : assertion after cloning a block with expected result type
2 years ago
Daniel Grunwald
4fc8f4e66e
Fix #2913 : ArgumentException when generic class is missing `1 suffix.
2 years ago
Daniel Grunwald
94ee5ed216
Fix assertion: UnknownType for unresolved reference can still be nullable; only the SpecialType.Unknown cannot.
2 years ago
Daniel Grunwald
4aa9280a8e
Add test case for generic attributes.
2 years ago
Daniel Grunwald
641c1788fe
Re-order packages.props
2 years ago
Theodore Tsirpanis
ca3b916577
Remove unnecessary package references. ( #2990 )
...
* Remove references to .NET Standard 1.x packages.
* Also remove `System.Bufffers`.
2 years ago
Daniel Grunwald
9bfec8cf98
Fix #2860
2 years ago
Siegfried Pammer
83f4fdcc47
Merge pull request #2873 from icsharpcode/net-7.0
2 years ago
Daniel Grunwald
3f09958922
Fix #2987 : `(nuint)(-3)` is not a compile-time constant.
2 years ago
Christoph Wille
eb2f024b8b
Make Installer top-level solution and build it post-publish of ILSpy.sln ( #2991 )
...
* Remove Installer from main solution
* Split installer into separate solution that has to be run after ILSpy.sln has been built and published
* Modify build action to account for new sln and correct ordering
* Single-line run and release-only installer build
* All publishing in ps1, better naming for publish folders
2 years ago
Daniel Grunwald
b823955ad6
Fix mcs-5 foreach/using pattern when C# 7 (pattern matching) is not enabled.
2 years ago
Daniel Grunwald
9abc2b90da
Fix interaction of C# 11 nint==IntPtr with overload resolution.
...
In C# 11+.NET 7 mode, we now always use type nint, never IntPtr, so that overload resolution works as expected.
2 years ago
Daniel Grunwald
efeaf1356f
Add feature: C#11 nint without NativeIntegerAttribute
...
Because it is no longer possible to distinguish IntPtr from nint, this required a lot of testcase adjustment.
2 years ago
Siegfried Pammer
263360f3f3
Add RemoveCompilerFeatureRequiredAttribute
2 years ago
Siegfried Pammer
b9f6c88ed0
Fix parameters for StackTests test case.
2 years ago
Daniel Grunwald
8cc186d599
Use .NET 7.0 as target framework for the tests.
...
This will be necessary for testing newer language features such as `ref` fields.
2 years ago
Daniel Grunwald
de9b24a65c
Merge branch 'SearchResources' of https://github.com/miloush/ILSpy
2 years ago
Christoph Wille
10129eaf07
Create zip for ARM64 published folder
2 years ago
Daniel Grunwald
c2490d79ec
Enable auto-formatting in commit-hook.
2 years ago
Daniel Grunwald
aea2c5014f
Merge branch 'fix/pointer-compound-assign'
2 years ago
Daniel Grunwald
f04acbdd74
Simplify `IsImplicitTruncation` by using an enum with 3 options instead of a pair of bools.
...
This also fixes the logic for combining the results for BinaryNumericInstruction/IfInstruction.
2 years ago
Daniel Grunwald
dd6dd44732
Merge remote-tracking branch 'ElektroKill/fix/pointer-compound-assign'
2 years ago
Daniel Grunwald
6641dc6c94
Merge pull request #2960 from ificator/fixparentlessgacassembly
...
Fix ArgumentOutOfRangeException on unexpected file in GAC
2 years ago
Christoph Wille
220b4cbd06
Set version for release
2 years ago
ElektroKill
21ddd402c2
Extend unit test for pointer compound assign
2 years ago
ElektroKill
ea1f6e7c25
Fixed compound assignment and post/pre increment for pointer dereference
2 years ago
Siegfried Pammer
29ca38d338
Fix handling of recombined variables and nested functions in IntroduceNativeIntTypeOnLocals and IntroduceDynamicTypeOnLocals.
2 years ago
Siegfried Pammer
539925f259
Fix #2983 : display-class locals should be named uniquely per top-level ILFunction. Add assertion to ResolveCollisions: ensure that colliding/merged variables have the same type.
2 years ago
Siegfried Pammer
5c67844500
Fix #2920 : Implement support for DefaultParameterValueAttribute.
2 years ago
Siegfried Pammer
66e02e3ee3
Merge pull request #2959 from ElektroKill/fix/try-finally-with-fixed
2 years ago
ElektroKill
f9c7b6b66e
Extend `EliminateRedundantTryFinally` in `ReduceNestingTransform`
2 years ago
Christoph Wille
61f79a01cc
RC1 will be the next release
2 years ago
Christoph Wille
be54b44a83
Merge pull request #2980 from cshung/public/refresh-ready-to-run
...
Refresh ready to run package
2 years ago
Andrew Au
7af3988ed7
Refresh ready to run package
2 years ago
Siegfried Pammer
4aca5ab09c
Merge pull request #2972 from ElektroKill/fix/less-return-block-duplication
2 years ago
Christoph Wille
e8d9da10be
Update README for PS cmdlets module
2 years ago
Jan Hoek
29db7fac30
PowerShell module manifest ( #2976 )
...
* Ignore .vscode folders
* Added PowerShell manifest
* After building, copy the manifest to the target folder
---------
Co-authored-by: Jan Hoek <jhoek@uncommonsense.nl>
2 years ago
Boring3
0167489f44
Update Chinese translation ( #2970 )
...
* Update Chinese translation
* Sort Resources.zh-Hans.resx
* Fix trailing space and punctuation to match the original format.
* Update Resources.zh-Hans.resx
2 years ago
ElektroKill
8d7f8cb76b
Adjust test name
2 years ago
ElektroKill
64e6c6318f
Add unit test
2 years ago
ElektroKill
8a1e8e3c6b
Make return duplication in `ControlFlowSimplification` less aggressive
2 years ago
miloush
515c9626bc
Search box for resource tables
2 years ago
Christoph Wille
fa900be124
Merge pull request #2948 from tom-englert/#2947_Alternate
...
Show a dark title bar when a dark theme in ILSpy is selected
2 years ago
tom-englert
ba58ecf017
Alternate approach to #2947
2 years ago
Brad Cleaver
b3f85abcc4
Fix ArgumentOutOfRangeException on unexpected file in GAC
2 years ago
Siegfried Pammer
caec6a6a83
Fix #2945 : Do not treat arbitrary method references pointing to members of the current type definition as part of the method. Only do so for compiler-generated methods.
2 years ago
tom-englert
2f1a1b9dc9
Fix #2954 ( #2955 )
...
* Fix #2954 : Layout Options context menu over maximize button is not visible on Win11 via https://github.com/tom-englert/TomsToolbox/issues/16
2 years ago
Siegfried Pammer
fcb9b0e0b4
Merge pull request #2953 from ElektroKill/fix/issue2949
2 years ago