Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit d429e02

Browse files
ViktorHoferjkotas
authored andcommitted
Remove StringBuilderCache usage from System.Text.RegularExpressions (#30474)
* Remove StringBuilderCache usage * fixed buffer size, manual reverse copying & local textinfo * Fast path for not to encode string * avoid one span slice * code formatting & bounds check opt * Avoid string allocation in char class Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
1 parent 65f88a8 commit d429e02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/System.Private.CoreLib/shared/System/Text/ValueStringBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
namespace System.Text
1111
{
12-
internal ref struct ValueStringBuilder
12+
internal ref partial struct ValueStringBuilder
1313
{
1414
private char[] _arrayToReturnToPool;
1515
private Span<char> _chars;

0 commit comments

Comments
 (0)