public int FindEntry(string name, bool ignoreCase) {
if (isDisposed_) {
throw new ObjectDisposedException("ZipFile");
}
// TODO: This will be slow as the next ice age for huge archives!
for (int i=0; i<entries_.Length; i++) {
#if OS_WINDOWS
if (string.Compare(name, entries_[i].Name, ignoreCase, CultureInfo.InvariantCulture)==0) {
#else
if (string.Compare(name, entries_[i].Name, ignoreCase)==0) {
#endif
return i;
}
}
return -1;
}