public void Dispose() { if (builder != null) { builder.Dispose(); builder = null; } for (int n = LineCount - 1; n >= 0; n--) { CodeLinePool.Dispose(ref lines[n]); } }
public void InsertAt(int index, string content) { lines = lines.InsertAt(index, CodeLinePool.Create(content, builder)); }