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

◆ Append() [8/26]

unsafe StringBuilder System.Text.StringBuilder.Append ( char?[] value,
int startIndex,
int charCount )
inline

Definition at line 778 of file StringBuilder.cs.

779 {
780 if (startIndex < 0)
781 {
782 throw new ArgumentOutOfRangeException("startIndex", SR.ArgumentOutOfRange_GenericPositive);
783 }
784 if (charCount < 0)
785 {
786 throw new ArgumentOutOfRangeException("charCount", SR.ArgumentOutOfRange_GenericPositive);
787 }
788 if (value == null)
789 {
790 if (startIndex == 0 && charCount == 0)
791 {
792 return this;
793 }
794 throw new ArgumentNullException("value");
795 }
796 if (charCount > value.Length - startIndex)
797 {
798 throw new ArgumentOutOfRangeException("charCount", SR.ArgumentOutOfRange_Index);
799 }
800 if (charCount == 0)
801 {
802 return this;
803 }
804 fixed (char* value2 = &value[startIndex])
805 {
807 return this;
808 }
809 }
StringBuilder Append(char value, int repeatCount)

References System.Text.StringBuilder.Append(), System.SR.ArgumentOutOfRange_GenericPositive, System.SR.ArgumentOutOfRange_Index, System.charCount, System.Runtime.Serialization.Dictionary, System.startIndex, and System.value.