Siegfried Pammer
04505bbdf2
Highlight and scroll to the changed instruction in the ILAst view
...
The C# debug-steps view highlights and centers the exact AST node a
transform changed; the ILAst view already had the step tree and
replay-at-step but produced no highlight. Bring it to parity.
IL rendering has no token-writer seam like the C# output visitor, so
per-instruction text spans are recorded by bracketing
ILInstruction.WriteTo via a new INodeTrackingOutput. The dominant
inst.ReplaceWith(newInst) transform pattern detaches the instruction
passed to Step, so ILTransformContext gains EndStep to record the
produced instruction; Stepper additionally records the position's
ancestor chain as fallback candidates before the step-limit throw, so
the "show state before" view -- which halts at the selected step --
still resolves to a surviving ancestor (ultimately the ILFunction).
The highlight-range resolver is shared with the C# language.
Assisted-by: Claude:claude-opus-4-8:Claude Code
6 days ago
Siegfried Pammer
0a2037ae1f
#3075 : Avoid processing already-transformed blocks by introducing BlockTransformContext.IndexOfFirstAlreadyTransformedInstruction, which allows us to track already transformed instructions after a block has been merged into another by ConditionDetection.
3 years ago
ElektroKill
b193c2a6a2
Add support for rare VB cached delegate construction pattern with return
4 years ago
ElektroKill
ea19843fbd
Fix `CachedDelegateInitializationVBWithClosure` stack slot check
4 years ago
ElektroKill
00e7524780
Fix`CachedDelegatenitializationVB` pattern
4 years ago
ElektroKill
7c73517892
Fix formatting
4 years ago
ElektroKill
a979f0fdfa
Add support for VB.NET cached delegate initialization with closures
4 years ago
Siegfried Pammer
b7d2eec41d
#2199 : Add support for VB cached delegate initialization
6 years ago
Siegfried Pammer
3a7c69e5b9
Fix #2192 : Add support for VB.NET delegate construction
6 years ago
dotnet format
0d9f871a4f
#2128 : Reformat the whole code base.
6 years ago
Siegfried Pammer
679623e4c3
Fix #1609 : Decompilation of cached delegate-construction with unknown delegate type.
7 years ago
Siegfried Pammer
99fc57c6be
CachedDelegateInitialization: Do not lose IL range by creating a new store instruction, reuse existing instruction instead.
8 years ago
Daniel Grunwald
21d3881e37
Introduce named arguments only in the statement transform.
...
Don't use extension method syntax when 'this' parameter of
extension method is named.
8 years ago
Siegfried Pammer
bf8a6b9ff2
CachedDelegateInitialization: Remove dead init-store in loops
9 years ago
Daniel Grunwald
7017c6f6e6
Replace LoopingBlockTransform with StatementTransform.
...
This transform interleaves statement-combining transforms so that nested structures can be detected better.
9 years ago
Siegfried Pammer
bd1e164fdc
CachedDelegateInitialization: extend Roslyn pattern for non-static context
9 years ago
Siegfried Pammer
60e4f8dba4
Untangle CachedDelegateInitialization patterns for Roslyn to avoid false positives
9 years ago
Siegfried Pammer
b4fb3beb01
Simplify CachedDelegateInitializationWithLocal
9 years ago
Siegfried Pammer
6803e5767f
Fix bug in CachedDelegateInitialization: user code was accidentally removed
9 years ago
Daniel Grunwald
fe84ea9730
WIP: yield return decompiler
10 years ago
Siegfried Pammer
840ec04fde
Namespace adjustments for Syntax classes
10 years ago
Christoph Wille
1ce8349dd9
Adjust namespaces
10 years ago
Siegfried Pammer
4c5f3839a3
fix bug in CachedDelegateInitialization
10 years ago
Daniel Grunwald
85bab79e19
Respect context.Settings.AnonymousMethods in CachedDelegateInitialization.
10 years ago
Siegfried Pammer
4ac1c2d0b0
add CachedDelegateInitialization block transform
10 years ago