Add StringBuilder.Append(ROM) by Wraith2 · Pull Request #20773 · dotnet/coreclr (original) (raw)
Addresses https://github.com/dotnet/corefx/issues/32348
Ref, Tests and PerTests in corefx PR
Adds a StringBuilder.Append(ReadOnlyMemory<char> value)
method to avoid the situation where a user assumes memory will work just as well as span but has it use the object parameter overload which causes boxing and a ToString() call on the memory instance which allocates.