Siegfried Pammer
79f7a188b0
Add support for C# 12 inline array expressions
10 months ago
Siegfried Pammer
cb790c6d38
Allow variable splitting of compiler-generated temporaries for Span<T>/ROS<T>
10 months ago
Siegfried Pammer
978c31ca5e
Add PropertyAndEventBackingFieldLookup to improve performance of MemberIsHidden.
10 months ago
Alex
26302d8624
Minor update related to issue #3492
10 months ago
Siegfried Pammer
82e461be8c
Change return type of Clone method in derived class.
10 months ago
ds5678
4e21aedce7
Emit property in project file
10 months ago
ds5678
361bb17618
Add configuration option to check for overflow and underflow
10 months ago
Daniel Grunwald
7fc9025500
Fix nullability of Extract return type
11 months ago
Daniel Grunwald
d4de698465
#3466 : avoid recursion in `CSharpConversions.SelectOperator`
11 months ago
Jeremy Pritts
c1ecf1ae9c
Handle explicit optional parameter after default parameter ( #3470 )
...
* Handle explicit optional parameter after default parameter
* Rename and add documentation
* Move extension method
* Add unit test for lamba function
* Apply suggestions from code review
Co-authored-by: Siegfried Pammer <siegfried@pammer.io>
---------
Co-authored-by: Siegfried Pammer <siegfried@pammer.io>
11 months ago
Jeremy Pritts
0261ca3ae8
Fix stack overflow exception in CSharpResolver ( #3471 )
...
* Fix stack overflow exception in CSharpResolver
* lhs and rhs
11 months ago
ds5678
9827405f02
Fix null reference exception when writing resource files
11 months ago
Steve
0c230629e5
Correct flag to flags
11 months ago
Jeremy Pritts
aff9649711
Parenthesize interpolations containing `global::` ( #3463 )
...
* Parenthesize interpolations containing global::
* Improvements:
* Cleaner output
* More unit testing
* More efficient tree search
* Implement revisions
* Update Lambda1 to be invariant
* Visit descendents before deciding whether or not to parenthesize an interpolation expression
* Rename local function
* Remove branch for conditional expressions
* Handle Lambda expressions without a block body
* Check for parenthesized expressions
* `NET60` instead of `!NET40`
11 months ago
Siegfried Pammer
e7a6e27820
Fix #3464 : Missing cast in string interpolation
11 months ago
Christoph Wille
988fee69ef
Set version 9.1
12 months ago
Siegfried Pammer
b1a617c827
AssignVariableNames: Fix ArgumentException
12 months ago
Siegfried Pammer
a85e5b513d
Fix a possible NRE in XmlDocumentationElement and wrong nullable annotations in analyzers.
12 months ago
Siegfried Pammer
e5a85422d3
Fix #3457 : NRE when creating Mermaid diagram of assembly with (possibly) missing references.
12 months ago
Christoph Wille
3ed6da38df
NuGet updates 04/25 ( #3459 )
12 months ago
ds5678
fb180b0010
Add tests
1 year ago
ds5678
db45fc70a2
Fix regression: UseNestedDirectoriesForNamespaces
1 year ago
Siegfried Pammer
6c72d1c5f0
Add transform to remove unconstrained generic reference type check.
1 year ago
ds5678
ceed9eb01a
Dont call GetPointerArithmeticOffset twice unnecessarily
1 year ago
Siegfried Pammer
9f77f8a919
Prevent inlining of call arguments when doing so would change order of evaluation with regards to the implicit ldobj performed by a constrained.callvirt.
1 year ago
ds5678
8c29144811
Add struct to struct tests
1 year ago
ds5678
d75da053a8
Use type hint in pointer arithmetic when appropriate
1 year ago
Siegfried Pammer
485ca1d69a
Fix #3353 : Normal method is decompiled as lambda expression.
1 year ago
Siegfried Pammer
453fc06e02
Fix #3406 : Wrong decompilation of record struct without primary constructor.
1 year ago
ds5678
7f024de786
Don't include generic constraints in generated explicit overrides
1 year ago
Siegfried Pammer
7d0262d779
Fix #3439 : Regressed decompilation of variables in lambda scope
1 year ago
Siegfried Pammer
349a89c1fa
Fix #3436 : Duplicate naming of local functions
1 year ago
Siegfried Pammer
96caa4ecb7
Fix : #3407 Add "private protected" feature for 7.2 decompiler options
1 year ago
Siegfried Pammer
51522c4487
Fix #3190 : NRE in YieldReturnDecompiler
1 year ago
Siegfried Pammer
29861d7903
Fix #1647 : Add a cast to enum constants where the enum type is not known.
1 year ago
Siegfried Pammer
356d7a1b43
Fix #3408 : Wrong exported assembly type
1 year ago
Siegfried Pammer
355a039b59
Sightly improve variable naming of known types such as EventArgs and Exceptions
1 year ago
Siegfried Pammer
8a67f48e4e
Fix #1956 : Adapt previous fix for variable names that have a number as suffix.
1 year ago
Siegfried Pammer
ffcd468d22
Fix #1572 : parameters of lambdas and local functions are renamed, if there are with names from outer scopes collisions.
1 year ago
Siegfried Pammer
0481c7d1ee
Improve LINQ decompiler to support combining lambda parameter names if they syntactically refer to the same range variable
1 year ago
Siegfried Pammer
03aecf047d
Add VariableScope and rework AssignVariableNames step to support renaming parameters of nested ILFunctions in the future.
1 year ago
Siegfried Pammer
a599aae54d
#1572 : Do not generate variable names that match C# keywords.
1 year ago
Siegfried Pammer
73e9771d3c
Fix #2269 : LocalFunctionDecompiler misplaces nested local functions in ctors
1 year ago
ElektroKill
16600fa633
Addressed feedback
1 year ago
Siegfried Pammer
49942382d1
Fix #3432 : Do not include delegate construction use-sites in DetermineCaptureAndDeclarationScopes.
1 year ago
ElektroKill
012f5812e9
Fix #3423
1 year 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`.
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