private bool ReadAbstract(DumpReader reader) { int level = 0; while (reader.PeekWord() == "//") { string name = level == 0 ? ClassName : Inheritance[level - 1]; reader.ValidateWord("//"); reader.FindValidateWord(name); reader.FindValidateWord("is"); reader.FindValidateWord("abstract"); reader.FindValidateEOL(); reader.FindNextLine(); level++; } IsAbstract = level > 0; return(level == Inheritance.Count + 1); }