private void IndentIfAtStartOfNewLine() { if (this.atTheStartOfANewLine) { for (int i = 0, n = this.IndentationLevel*this.IndentSize; i < n; i++) this.textWriter.Write(' '); this.atTheStartOfANewLine = false; } }