Files
ILSpy/ICSharpCode.Decompiler.Tests/TestCases/PdbGen/UsingDeclaration.cs
T
Siegfried Pammer 853220dba9 Cover more constructs in the PDB sequence-point tests
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
2026-06-26 07:12:15 +02:00

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());
}
}