private ZipArchiveEntry CreateEntry(string name) { var index = IndexOfEntry(name); if (index < 0) { _entries.Insert(~index, name); } return _archive.CreateEntry(name); }