Base\MS\Internal\IO\Zip\ZipArchive.cs (10)
73if (mode == FileMode.OpenOrCreate || mode == FileMode.Open)
140case FileMode.Open:
614if ((mode != FileMode.Append) && (mode != FileMode.Create) && (mode != FileMode.CreateNew) && (mode != FileMode.Open)
680{(int)FileMode.Open, (int)FileAccess.Read, (int)FileShare.None, 1},
681{(int)FileMode.Open, (int)FileAccess.Read, (int)FileShare.None, 0},
682{(int)FileMode.Open, (int)FileAccess.Read, (int)FileShare.Read, 1},
683{(int)FileMode.Open, (int)FileAccess.Read, (int)FileShare.Read, 0},
684{(int)FileMode.Open, (int)FileAccess.Read, (int)FileShare.Write, 1},
685{(int)FileMode.Open, (int)FileAccess.Read, (int)FileShare.ReadWrite, 1},
686{(int)FileMode.Open, (int)FileAccess.ReadWrite, (int)FileShare.None, 0},