mirror of https://github.com/icsharpcode/ILSpy.git
Browse Source
The "IL with C#" view cut up to four substrings (prefix, trimmed prefix, highlighted range, suffix) out of every source line emitted alongside an IL instruction. ISmartTextOutput now accepts a ReadOnlySpan<char> - as a default interface method falling back to Write(text.ToString()) so existing implementers keep working - and AvaloniaEditTextOutput appends the span straight into its StringBuilder. The overload lives on ISmartTextOutput rather than ITextOutput because the latter is netstandard2.0 (no default interface methods there), where a new member would break every external implementer of the decompiler library; the highlighted-comment path is typed against ISmartTextOutput already. Assisted-by: Claude:claude-fable-5:Claude Codepull/3963/head
3 changed files with 18 additions and 4 deletions
Loading…
Reference in new issue