mirror of
https://github.com/icsharpcode/ILSpy.git
synced 2026-10-12 02:15:58 +00:00
Extends the breakpoint-map comparison to hidden sequence points, anchoring each hidden point to the visible point it follows so the descriptor stays independent of the IL offsets the decompiler reconstructs. Adds PdbGen cases spanning try/catch/finally, switch, async/await, yield, loops, LINQ, pattern matching and more, pinning the known residuals where the decompiler folds a compiler-hidden branch into an adjacent point. Assisted-by: Claude:claude-opus-4-8:Claude Code
13 lines
229 B
C#
13 lines
229 B
C#
using System;
|
|
using System.IO;
|
|
|
|
internal class UsingDeclaration
|
|
{
|
|
public static void Run()
|
|
{
|
|
using StringWriter stringWriter = new StringWriter();
|
|
stringWriter.Write("x");
|
|
Console.WriteLine(stringWriter.ToString());
|
|
}
|
|
}
|