static int GetIndentationLevel(CodeLine line) { return(line.Line.TakeWhile(Char.IsWhiteSpace).Count()); }