Siegfried Pammer
0481c7d1ee
Improve LINQ decompiler to support combining lambda parameter names if they syntactically refer to the same range variable
2 months ago
Siegfried Pammer
03aecf047d
Add VariableScope and rework AssignVariableNames step to support renaming parameters of nested ILFunctions in the future.
2 months ago
Siegfried Pammer
a599aae54d
#1572 : Do not generate variable names that match C# keywords.
2 months ago
Siegfried Pammer
73e9771d3c
Fix #2269 : LocalFunctionDecompiler misplaces nested local functions in ctors
2 months ago
Siegfried Pammer
49942382d1
Fix #3432 : Do not include delegate construction use-sites in DetermineCaptureAndDeclarationScopes.
2 months ago
Siegfried Pammer
a264217952
Merge pull request #3422 from ds5678/fix-issue-3421
...
Improve null case handling in MatchLegacySwitchOnStringWithDict
2 months ago
ds5678
e4000c8a5c
Enhance null handling in switch transformations
...
- Updated `Issue3421.cs`.
- Updated `MatchLegacySwitchOnStringWithDict` to check for `leaveContainer` and handle null sections accordingly.
- Introduced an overload for `AddNullSection` to accept `ILInstruction` as the body, improving flexibility.
- Modified existing `AddNullSection` to utilize the new overload, allowing for varied body types in `SwitchSection`.
2 months ago
ds5678
a1b3b14b0b
Add test
2 months ago
Siegfried Pammer
412b5134e7
Merge pull request #3417 from icsharpcode/roslyn413
...
Roslyn 4.13
2 months ago
ds5678
cbe8dd43d7
Fix null check in MatchLegacySwitchOnStringWithDict
...
Updated the condition for `nullValueCaseBlock` to ensure it is not null and not equal to `defaultBlock`.
2 months ago
Siegfried Pammer
f0f95efa05
Fix StateRangeAnalysis to handle changes in yield return codegen in Roslyn 4.13.
2 months ago
Siegfried Pammer
bada92ebdf
Merge pull request #3418 from jwfx/resx-exception
...
Fix exception when writing resx files without adding any resources
2 months ago
jwfx
5d1219950f
Fix exception when writing resx files without adding any resources
2 months ago
Siegfried Pammer
3e5e81e16c
Roslyn 4.13
3 months ago
Siegfried Pammer
5fab18f3a0
Fix #3414 : Apply latest session settings before saving upon closing the main window
3 months ago
dependabot[bot]
d8825bc1a6
Bump ossf/scorecard-action from 2.4.0 to 2.4.1 ( #3410 )
...
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action ) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/ossf/scorecard-action/releases )
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md )
- [Commits](https://github.com/ossf/scorecard-action/compare/v2.4.0...v2.4.1 )
---
updated-dependencies:
- dependency-name: ossf/scorecard-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 months ago
Siegfried Pammer
180428a1ff
Merge pull request #3380 from ds5678/runtimehelpers-createspan-array-initialization
...
Replace `RuntimeHelpers.CreateSpan<T>(LdMemberToken)` with `new T[] { }`
3 months ago
ds5678
3a13d5a698
Allow explicit null termination character
3 months ago
Siegfried Pammer
38cdf6d50a
Avoid transforming sub pattern of cpblk stackalloc initializer
3 months ago
Siegfried Pammer
bd0fd8db1f
Small refactorings:
...
- extract common code
- reduce nesting
3 months ago
ds5678
b0d6fa2276
Add support for array initialization based on RuntimeHelpers.CreateSpan<T>
3 months ago
Siegfried Pammer
53522c45f8
#3401 : fix missing file extension if name contains ':'
3 months ago
Siegfried Pammer
d31ed51569
Fix a few bugs in AnalyzerEntityTreeNode
3 months ago
Siegfried Pammer
3c70224441
Fix detection and display of explicitly implemented operators.
3 months ago
Siegfried Pammer
31bbcf41bc
Fix handling of file extensions in project export.
3 months ago
Siegfried Pammer
292c21d68e
#3401 : Treat class name as single name and not as path.
3 months ago
Siegfried Pammer
6312ab18ae
#2716 : Fix typo
3 months ago
Siegfried Pammer
8b76879493
Fix #2716 : Add an option to allow sorting custom attributes
3 months ago
Siegfried Pammer
853e9d41d4
Merge pull request #3405 from tom-englert/toggle-smooth-scrolling
...
Fix #3393 : Option to turn off smooth scrolling
3 months ago
tom-englert
8eadd907c9
Fix #3393 : Option to turn off smooth scrolling
3 months ago
Siegfried Pammer
79ddc448b6
Fix #3377 : Extend error information if multiple assemblies with the same (short) name are selected when creating a solution file.
3 months ago
Siegfried Pammer
c0c5559a7b
Fix #3399 : Add module filename as ToolTip of AnalyzerEntityTreeNode
3 months ago
Siegfried Pammer
5b90dbdabf
Fix #3385 : Allow address uses of structs in using transform, if the reference is passed to an in parameter.
3 months ago
Siegfried Pammer
807ac32aab
Hide ItemsControl of ComboBox width hack, if languageVersionComboBox is invisible.
3 months ago
Siegfried Pammer
0096994679
Fix #3401 : normalize directory separators to use the current platform separator
3 months ago
Siegfried Pammer
202c5e22e3
Fix #3383 : more aggressively transform object initializers on structs
3 months ago
tom-englert
fb2561ac83
Fix #3402 : System.NullReferenceException on right click on .NET 9 ( #3403 )
...
* Fix #3402 : System.NullReferenceException on right click on .NET 9
* Add comments to clarify about used design pattern
3 months ago
Siegfried Pammer
2c419f68cf
Fix #3322 : Add missing checks for equality comparison
3 months ago
Siegfried Pammer
4a8c375c41
Merge pull request #3391 from nil4/master
...
Enable `<RollForward>major</RollForward>` for `ILSpy.exe`
3 months ago
Siegfried Pammer
d7d0f82418
Fix #3384 : add special case for null-literal conversions in optional argument handling.
3 months ago
Siegfried Pammer
906d248403
Fix #3392 : uses of init-setters must use object-initializer syntax.
3 months ago
Siegfried Pammer
fa50e8d8b3
Add non-embedded attributes to all tests that use older framework versions.
3 months ago
nil4
15b826fb70
Enable `<RollForward>major</RollForward>` for `ILSpy.exe`
...
Allow `ILSpy.exe` to run when .NET 8 (the version it currently targets)
is not installed, but a later major version, e.g. .NET 9, is available.
ref. https://learn.microsoft.com/en-us/dotnet/core/versions/selection#control-roll-forward-behavior
ref. https://github.com/icsharpcode/ILSpy/issues/3390
3 months ago
Siegfried Pammer
7d715a4ac3
Merge pull request #3389 from snorrk/master
...
Load resource stream outside of delegate
3 months ago
Snorri Gislason
fa409a8186
Load resource stream outside of delegate
3 months ago
Siegfried Pammer
a592169bb3
Fix #3381 : Make sure that selectedNode is still selected when focus is deferred in IsActive property changed handler.
4 months ago
Siegfried Pammer
01d726cd8d
Fix #3378 : Navigation shortcuts (Alt-Left and Alt-Right) don't work when TreeView has focus
4 months ago
Siegfried Pammer
e94eb91739
Fix #3372 : Fix loading a DLL that contains byte sequences matching ZIP central directory.
4 months ago
Siegfried Pammer
15d8ed1ffe
Merge pull request #3371 from icsharpcode/fix/fabegone
...
Switch from FA to Shouldly
4 months ago
Christoph Wille
4137a04569
Switch from FA to Shouldly
4 months ago