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`.
1 year ago
ds5678
cbe8dd43d7
Fix null check in MatchLegacySwitchOnStringWithDict
...
Updated the condition for `nullValueCaseBlock` to ensure it is not null and not equal to `defaultBlock`.
1 year ago
Siegfried Pammer
f0f95efa05
Fix StateRangeAnalysis to handle changes in yield return codegen in Roslyn 4.13.
1 year ago
jwfx
5d1219950f
Fix exception when writing resx files without adding any resources
1 year ago
ds5678
3a13d5a698
Allow explicit null termination character
1 year ago
Siegfried Pammer
38cdf6d50a
Avoid transforming sub pattern of cpblk stackalloc initializer
1 year ago
Siegfried Pammer
bd0fd8db1f
Small refactorings:
...
- extract common code
- reduce nesting
1 year ago
ds5678
b0d6fa2276
Add support for array initialization based on RuntimeHelpers.CreateSpan<T>
1 year ago
Siegfried Pammer
53522c45f8
#3401 : fix missing file extension if name contains ':'
1 year ago
Siegfried Pammer
3c70224441
Fix detection and display of explicitly implemented operators.
1 year ago
Siegfried Pammer
31bbcf41bc
Fix handling of file extensions in project export.
1 year ago
Siegfried Pammer
292c21d68e
#3401 : Treat class name as single name and not as path.
1 year ago
Siegfried Pammer
6312ab18ae
#2716 : Fix typo
1 year ago
Siegfried Pammer
8b76879493
Fix #2716 : Add an option to allow sorting custom attributes
1 year ago
Siegfried Pammer
5b90dbdabf
Fix #3385 : Allow address uses of structs in using transform, if the reference is passed to an in parameter.
1 year ago
Siegfried Pammer
0096994679
Fix #3401 : normalize directory separators to use the current platform separator
1 year ago
Siegfried Pammer
202c5e22e3
Fix #3383 : more aggressively transform object initializers on structs
1 year ago
Siegfried Pammer
2c419f68cf
Fix #3322 : Add missing checks for equality comparison
1 year ago
Siegfried Pammer
d7d0f82418
Fix #3384 : add special case for null-literal conversions in optional argument handling.
1 year ago
Siegfried Pammer
906d248403
Fix #3392 : uses of init-setters must use object-initializer syntax.
1 year ago
Siegfried Pammer
fa50e8d8b3
Add non-embedded attributes to all tests that use older framework versions.
1 year ago
Siegfried Pammer
7218a63a46
#3367 : Extend range check to support negative integers.
1 year ago
Siegfried Pammer
b9f50901a4
Fix #3367 : Add extra validation to TransformDecimalCtorToConstant to prevent crashes with obfuscated assemblies.
1 year ago
Christoph Wille
507da701e7
Set VersionName for release
1 year 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
1 year ago
Siegfried Pammer
ae776716dd
Fix #3181 : missing type information on NullReferenceExpression used with nullable value types.
1 year ago
Siegfried Pammer
7c6f7fea05
Make sure that there is only one applicable implicit conversion when dealing with switch, otherwise use an explicit cast.
1 year ago
Siegfried Pammer
e1e2f739f6
Fix switch-on-string transform for optimized Roslyn.
1 year ago
Siegfried Pammer
e4285b751b
Fix build.
1 year ago
Siegfried Pammer
efbefd0d3b
Fix #3361 : switch-value conversion was losing its target type.
1 year ago
Christoph Wille
1048cd9557
Enable repeatable package restores ( #3359 )
...
Locking restricted to projects that create NuGet packages
ICSharpCode.Decompiler
ICSharpCode.ILSpyX
ILSpyCmd
ICSharpCode.BamlDecompiler
1 year ago
Christoph Wille
8373ac752e
v9.0 RC Designation ( #3357 )
...
* v9.0 RC designation
* Ambiguous reference errors fixed
1 year ago
박성원
2f53f69799
Fix #3355 : Insert missing DecompilerSettings
1 year ago
Siegfried Pammer
62cdf38e9b
Fix #3349 : Get rid of version string manipulation in UniversalAssemblyResolver.ParseTargetFramework.
1 year ago
Siegfried Pammer
c478ccc2e0
Fix #3319 : KeyDownEvent field reference was replaced with KeyDown event reference.
1 year ago
Siegfried Pammer
e96605ca87
Fix #3310 : Filter out copy-constructor only if it's an actual record type.
1 year ago
Siegfried Pammer
8c440f42a8
Fix #2166 : Unnecessary uint casts/conversions for certain bitwise operations
1 year ago
Siegfried Pammer
ac0ef8a113
Fix #3253 : Remove duplicate assembly references keeping the ones with the highest version.
1 year ago
Christoph Wille
684e72881f
NuGet updates October 2024 ( #3307 )
1 year ago
Siegfried Pammer
c6e3752977
Fix #3089 : Add comment regarding .constraint prefix expressed as cast in C#
2 years ago
Siegfried Pammer
90946ae31a
XML doc corrections
2 years ago
Siegfried Pammer
f66ccea9ef
Fix #3296 : Ensure unknown types are wrapped properly in "Convert Expression Tree"
2 years ago
Siegfried Pammer
f9ae51b12a
Fix #3001 : Support new resources format in ResourcesFile/ResXResourceWriter
2 years ago
Siegfried Pammer
bf2cf936e1
Fix DecompilerVersionInfo.template.cs
2 years ago
Siegfried Pammer
966b99a7f9
Fix #3278 : Missing variable declaration in nested for-loop after many other loops
2 years ago
Siegfried Pammer
4ff0c262f9
Provide commit hash in AboutPage to make finding the correct version easier.
2 years ago
Siegfried Pammer
58e993d71d
Fix #3272 : Missing variable declarations in repeated nested for-loops
2 years ago
Siegfried Pammer
524ab6035f
Fix #3226 : missing assemblyFileName parameter in XmlDocLoader.FindXmlDocumentation
2 years ago
Siegfried Pammer
43f602211b
Fix #3159 : CSharpAmbience.ConvertSymbol output incorrect for record structs and init properties.
2 years ago
Herrmannsdörfer, Felix
0330f38c06
Include Subdirectories when checking for empty dotnet version directory
2 years ago