mirror of https://github.com/icsharpcode/ILSpy.git
Browse Source
The remaining parameter-modifier dimension of the C# 14 rules: an expanded params call prefers the params ReadOnlySpan overload over params array (the C# 13 better-params-collection rule) while the normal form keeps the exact array overload; and a span conversion never binds a ref or out parameter, so a keyword-less argument picks the by-value overload and the ref/out keyword must survive decompilation to keep binding the by-ref one. All expectations come from compiling probes (the negative directions are CS1503) and everything was green as written - these are lock-downs, not fixes. Part of #829. Assisted-by: Claude:claude-fable-5:Claude Codepull/3930/head
2 changed files with 58 additions and 2 deletions
Loading…
Reference in new issue