Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ReplaceBufferInternal()

unsafe void System.Text.StringBuilder.ReplaceBufferInternal ( char * newBuffer,
int newLength )
inlinepackage

Definition at line 472 of file StringBuilder.cs.

473 {
475 {
476 throw new ArgumentOutOfRangeException("capacity", SR.ArgumentOutOfRange_Capacity);
477 }
478 if (newLength > m_ChunkChars.Length)
479 {
481 }
484 m_ChunkPrevious = null;
485 m_ChunkOffset = 0;
486 }
void CopyTo(KeyValuePair< TKey, TValue >[] array, int index)
int GetReplaceBufferCapacity(int requiredCapacity)

References System.SR.ArgumentOutOfRange_Capacity, System.Collections.Generic.Dictionary< TKey, TValue >.CopyTo(), System.Runtime.Serialization.Dictionary, System.Text.StringBuilder.GetReplaceBufferCapacity(), System.Text.StringBuilder.m_ChunkChars, System.Text.StringBuilder.m_ChunkLength, System.Text.StringBuilder.m_ChunkOffset, System.Text.StringBuilder.m_ChunkPrevious, and System.Text.StringBuilder.m_MaxCapacity.