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
Siegfried Pammer
49942382d1
Fix #3432 : Do not include delegate construction use-sites in DetermineCaptureAndDeclarationScopes.
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
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
jwfx
5d1219950f
Fix exception when writing resx files without adding any resources
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
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
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
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
Siegfried Pammer
2c419f68cf
Fix #3322 : Add missing checks for equality comparison
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
Siegfried Pammer
7218a63a46
#3367 : Extend range check to support negative integers.
5 months ago
Siegfried Pammer
b9f50901a4
Fix #3367 : Add extra validation to TransformDecimalCtorToConstant to prevent crashes with obfuscated assemblies.
5 months ago
Christoph Wille
507da701e7
Set VersionName for release
5 months ago
Christoph Wille
1263f48dc0
Use Microsoft.Sbom.Targets in Decompiler, BamlDecompiler and ILSpyX NuGets ( #3346 )
...
https://github.com/microsoft/sbom-tool/tree/main/src/Microsoft.Sbom.Targets to embed SBOM
* GeneratePackageOnBuild removed, build action now has a new step for dotnet pack
* Decompiler, BamlDecompiler and ILSpyX include SBOM
5 months ago
Siegfried Pammer
ae776716dd
Fix #3181 : missing type information on NullReferenceExpression used with nullable value types.
6 months ago
Siegfried Pammer
7c6f7fea05
Make sure that there is only one applicable implicit conversion when dealing with switch, otherwise use an explicit cast.
6 months ago
Siegfried Pammer
e1e2f739f6
Fix switch-on-string transform for optimized Roslyn.
6 months ago
Siegfried Pammer
e4285b751b
Fix build.
6 months ago
Siegfried Pammer
efbefd0d3b
Fix #3361 : switch-value conversion was losing its target type.
6 months ago
Christoph Wille
1048cd9557
Enable repeatable package restores ( #3359 )
...
Locking restricted to projects that create NuGet packages
ICSharpCode.Decompiler
ICSharpCode.ILSpyX
ILSpyCmd
ICSharpCode.BamlDecompiler
6 months ago
Christoph Wille
8373ac752e
v9.0 RC Designation ( #3357 )
...
* v9.0 RC designation
* Ambiguous reference errors fixed
6 months ago
박성원
2f53f69799
Fix #3355 : Insert missing DecompilerSettings
6 months ago
Siegfried Pammer
62cdf38e9b
Fix #3349 : Get rid of version string manipulation in UniversalAssemblyResolver.ParseTargetFramework.
6 months ago
Siegfried Pammer
c478ccc2e0
Fix #3319 : KeyDownEvent field reference was replaced with KeyDown event reference.
8 months ago
Siegfried Pammer
e96605ca87
Fix #3310 : Filter out copy-constructor only if it's an actual record type.
8 months ago
Siegfried Pammer
8c440f42a8
Fix #2166 : Unnecessary uint casts/conversions for certain bitwise operations
8 months ago
Siegfried Pammer
ac0ef8a113
Fix #3253 : Remove duplicate assembly references keeping the ones with the highest version.
8 months ago
Christoph Wille
684e72881f
NuGet updates October 2024 ( #3307 )
8 months ago
Siegfried Pammer
c6e3752977
Fix #3089 : Add comment regarding .constraint prefix expressed as cast in C#
9 months ago
Siegfried Pammer
90946ae31a
XML doc corrections
9 months ago
Siegfried Pammer
f66ccea9ef
Fix #3296 : Ensure unknown types are wrapped properly in "Convert Expression Tree"
9 months ago