Siegfried Pammer
a40a033335
Merge pull request #3416 from icsharpcode/variable-naming
...
Add scopes to AssignVariableName
3 months ago
Siegfried Pammer
355a039b59
Sightly improve variable naming of known types such as EventArgs and Exceptions
3 months ago
Siegfried Pammer
8a67f48e4e
Fix #1956 : Adapt previous fix for variable names that have a number as suffix.
3 months ago
Siegfried Pammer
ffcd468d22
Fix #1572 : parameters of lambdas and local functions are renamed, if there are with names from outer scopes collisions.
3 months ago
Siegfried Pammer
0481c7d1ee
Improve LINQ decompiler to support combining lambda parameter names if they syntactically refer to the same range variable
3 months ago
Siegfried Pammer
03aecf047d
Add VariableScope and rework AssignVariableNames step to support renaming parameters of nested ILFunctions in the future.
3 months ago
Siegfried Pammer
a599aae54d
#1572 : Do not generate variable names that match C# keywords.
3 months ago
Siegfried Pammer
73e9771d3c
Fix #2269 : LocalFunctionDecompiler misplaces nested local functions in ctors
3 months ago
ElektroKill
16600fa633
Addressed feedback
3 months ago
Siegfried Pammer
49942382d1
Fix #3432 : Do not include delegate construction use-sites in DetermineCaptureAndDeclarationScopes.
3 months ago
ElektroKill
012f5812e9
Fix #3423
3 months ago
Siegfried Pammer
a264217952
Merge pull request #3422 from ds5678/fix-issue-3421
...
Improve null case handling in MatchLegacySwitchOnStringWithDict
3 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`.
3 months ago
ds5678
a1b3b14b0b
Add test
3 months ago
Siegfried Pammer
412b5134e7
Merge pull request #3417 from icsharpcode/roslyn413
...
Roslyn 4.13
3 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`.
4 months ago
Siegfried Pammer
f0f95efa05
Fix StateRangeAnalysis to handle changes in yield return codegen in Roslyn 4.13.
4 months ago
Siegfried Pammer
bada92ebdf
Merge pull request #3418 from jwfx/resx-exception
...
Fix exception when writing resx files without adding any resources
4 months ago
jwfx
5d1219950f
Fix exception when writing resx files without adding any resources
4 months ago
Siegfried Pammer
3e5e81e16c
Roslyn 4.13
4 months ago
Siegfried Pammer
5fab18f3a0
Fix #3414 : Apply latest session settings before saving upon closing the main window
4 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>
4 months ago
Siegfried Pammer
180428a1ff
Merge pull request #3380 from ds5678/runtimehelpers-createspan-array-initialization
...
Replace `RuntimeHelpers.CreateSpan<T>(LdMemberToken)` with `new T[] { }`
4 months ago
ds5678
3a13d5a698
Allow explicit null termination character
4 months ago
Siegfried Pammer
38cdf6d50a
Avoid transforming sub pattern of cpblk stackalloc initializer
4 months ago
Siegfried Pammer
bd0fd8db1f
Small refactorings:
...
- extract common code
- reduce nesting
4 months ago
ds5678
b0d6fa2276
Add support for array initialization based on RuntimeHelpers.CreateSpan<T>
4 months ago
Siegfried Pammer
53522c45f8
#3401 : fix missing file extension if name contains ':'
4 months ago
Siegfried Pammer
d31ed51569
Fix a few bugs in AnalyzerEntityTreeNode
4 months ago
Siegfried Pammer
3c70224441
Fix detection and display of explicitly implemented operators.
4 months ago
Siegfried Pammer
31bbcf41bc
Fix handling of file extensions in project export.
4 months ago
Siegfried Pammer
292c21d68e
#3401 : Treat class name as single name and not as path.
4 months ago
Siegfried Pammer
6312ab18ae
#2716 : Fix typo
4 months ago
Siegfried Pammer
8b76879493
Fix #2716 : Add an option to allow sorting custom attributes
4 months ago
Siegfried Pammer
853e9d41d4
Merge pull request #3405 from tom-englert/toggle-smooth-scrolling
...
Fix #3393 : Option to turn off smooth scrolling
4 months ago
tom-englert
8eadd907c9
Fix #3393 : Option to turn off smooth scrolling
4 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.
4 months ago
Siegfried Pammer
c0c5559a7b
Fix #3399 : Add module filename as ToolTip of AnalyzerEntityTreeNode
4 months ago
Siegfried Pammer
5b90dbdabf
Fix #3385 : Allow address uses of structs in using transform, if the reference is passed to an in parameter.
4 months ago
Siegfried Pammer
807ac32aab
Hide ItemsControl of ComboBox width hack, if languageVersionComboBox is invisible.
4 months ago
Siegfried Pammer
0096994679
Fix #3401 : normalize directory separators to use the current platform separator
4 months ago
Siegfried Pammer
202c5e22e3
Fix #3383 : more aggressively transform object initializers on structs
4 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
4 months ago
Siegfried Pammer
2c419f68cf
Fix #3322 : Add missing checks for equality comparison
4 months ago
Siegfried Pammer
4a8c375c41
Merge pull request #3391 from nil4/master
...
Enable `<RollForward>major</RollForward>` for `ILSpy.exe`
4 months ago
Siegfried Pammer
d7d0f82418
Fix #3384 : add special case for null-literal conversions in optional argument handling.
4 months ago
Siegfried Pammer
906d248403
Fix #3392 : uses of init-setters must use object-initializer syntax.
4 months ago
Siegfried Pammer
fa50e8d8b3
Add non-embedded attributes to all tests that use older framework versions.
4 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
4 months ago
Siegfried Pammer
7d715a4ac3
Merge pull request #3389 from snorrk/master
...
Load resource stream outside of delegate
5 months ago