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

◆ Append() [23/26]

StringBuilder System.Text.StringBuilder.Append ( StringBuilder? value,
int startIndex,
int count )
inline

Definition at line 895 of file StringBuilder.cs.

896 {
897 if (startIndex < 0)
898 {
899 throw new ArgumentOutOfRangeException("startIndex", SR.ArgumentOutOfRange_Index);
900 }
901 if (count < 0)
902 {
903 throw new ArgumentOutOfRangeException("count", SR.ArgumentOutOfRange_GenericPositive);
904 }
905 if (value == null)
906 {
907 if (startIndex == 0 && count == 0)
908 {
909 return this;
910 }
911 throw new ArgumentNullException("value");
912 }
913 if (count == 0)
914 {
915 return this;
916 }
917 if (count > value.Length - startIndex)
918 {
919 throw new ArgumentOutOfRangeException("startIndex", SR.ArgumentOutOfRange_Index);
920 }
922 }
StringBuilder AppendCore(StringBuilder value, int startIndex, int count)

References System.Text.StringBuilder.AppendCore(), System.SR.ArgumentOutOfRange_GenericPositive, System.SR.ArgumentOutOfRange_Index, System.count, System.startIndex, and System.value.