text: public static char[] Grow(char[] array, int minSize){Debug.Assert(minSize >= 0, "size must be positive (got " + minSize + "): likely integer overflow?");if (array.Length < minSize){char[] newArray = new char[Oversize(minSize, RamUsageEstimator.NUM_BYTES_CHAR)];Array.Copy(array, 0, newArray, 0, array.Length);return newArray;}else{return array;}}