private void ReadArtifact() { while (!reader.EndOfStream && !currentLine.IsEmptyOrWhitespace()) { if (IsAtEntityStart() || IsAtRuleStart()) { break; } definitionFile.Artifacts.Add(currentLine); NextLine(); } }