private void IndentIfNewLine() { if (this.isNewLine) { for (int i = 0; i < this.indentLevel; ++i) { this.textWriter.Write(" "); } this.isNewLine = false; } }