Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/System/Text/StringBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public unsafe StringBuilder(string value, int startIndex, int length, int capaci
//Set the length of the chunk
_chunkLength = length;
//Copy the value to the chunkChars
value.ToCharArray().CopyTo(_chunkChars, 0);
value.ToCharArray(startIndex, length).CopyTo(_chunkChars, 0);
}

private StringBuilder(int size, int maxCapacity, StringBuilder previousBlock)
Expand Down