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

◆ Append() [4/26]

unsafe StringBuilder System.Text.StringBuilder.Append ( char * value,
int valueCount )
inline

Definition at line 1959 of file StringBuilder.cs.

1960 {
1961 if (valueCount < 0)
1962 {
1963 throw new ArgumentOutOfRangeException("valueCount", SR.ArgumentOutOfRange_NegativeCount);
1964 }
1965 int num = Length + valueCount;
1966 if (num > m_MaxCapacity || num < valueCount)
1967 {
1968 throw new ArgumentOutOfRangeException("valueCount", SR.ArgumentOutOfRange_LengthGreaterThanCapacity);
1969 }
1971 if (num2 <= m_ChunkChars.Length)
1972 {
1975 }
1976 else
1977 {
1979 if (num3 > 0)
1980 {
1982 m_ChunkLength = m_ChunkChars.Length;
1983 }
1984 int num4 = valueCount - num3;
1988 }
1989 return this;
1990 }
void CopyTo(KeyValuePair< TKey, TValue >[] array, int index)
void ExpandByABlock(int minBlockCharCount)

References System.SR.ArgumentOutOfRange_LengthGreaterThanCapacity, System.SR.ArgumentOutOfRange_NegativeCount, System.Collections.Generic.Dictionary< TKey, TValue >.CopyTo(), System.Runtime.Serialization.Dictionary, System.Text.StringBuilder.ExpandByABlock(), System.Text.StringBuilder.Length, System.Text.StringBuilder.m_ChunkChars, System.Text.StringBuilder.m_ChunkLength, System.Text.StringBuilder.m_MaxCapacity, and System.value.