Skip to content

Commit

Permalink
Update Polyfill_StringBuilder.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Jun 7, 2024
1 parent 3138945 commit 42667dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Polyfill/Polyfill_StringBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ public static StringBuilder Replace(this StringBuilder target, ReadOnlySpan<char
/// <remarks>
/// If <paramref name="newValue"/> is empty, instances of <paramref name="oldValue"/> are removed from this builder.
/// </remarks>
[Link("https://learn.microsoft.com/en-us/dotnet/api/system.text.stringbuilder.replace#system-text-stringbuilder-replace(system-readonlyspan((system-char))-system-readonlyspan((system-char))-system-int32-system-int32")]
[Link("https://learn.microsoft.com/en-us/dotnet/api/system.text.stringbuilder.replace#system-text-stringbuilder-replace(system-char-system-char-system-int32-system-int32)")]
public static StringBuilder Replace(this StringBuilder target, ReadOnlySpan<char> oldValue, ReadOnlySpan<char> newValue, int startIndex, int count) =>
target.Replace(oldValue.ToString(), newValue.ToString(), startIndex, count);
#endif
Expand Down

0 comments on commit 42667dd

Please sign in to comment.