fix: Fixes string interpolation in value string builder (#1339)
This commit is contained in:
parent
b46544d752
commit
f24c6a08dd
9 changed files with 87 additions and 242 deletions
|
|
@ -213,7 +213,7 @@ public class ClientVersion : IComparable<ClientVersion>, IComparer<ClientVersion
|
|||
|
||||
private string ToStringImpl()
|
||||
{
|
||||
using var builder = new ValueStringBuilder(stackalloc char[32]);
|
||||
using var builder = ValueStringBuilder.Create();
|
||||
|
||||
if (Major > 5 || Minor > 0 || Revision > 6)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue