12 references to Mode
System.IO.Compression (9)
System\IO\Compression\ZipArchive.cs (1)
497
bool saveExtraFieldsAndComments =
Mode
== ZipArchiveMode.Update;
System\IO\Compression\ZipArchiveEntry.cs (8)
147
if (_archive.
Mode
== ZipArchiveMode.Create)
268
if (_archive.
Mode
== ZipArchiveMode.Read)
270
if (_archive.
Mode
== ZipArchiveMode.Create && _everOpenedForWrite)
312
if (_archive.
Mode
!= ZipArchiveMode.Update)
333
switch (_archive.
Mode
)
341
Debug.Assert(_archive.
Mode
== ZipArchiveMode.Update);
889
if (_archive.
Mode
== ZipArchiveMode.Create && _archive.ArchiveStream.CanSeek == false)
1007
if (_archive.
Mode
== ZipArchiveMode.Update || !_everOpenedForWrite)
System.IO.Packaging (3)
System\IO\Packaging\ZipPackage.cs (2)
783
if (_zipArchive.
Mode
== ZipArchiveMode.Read || _zipArchive.
Mode
== ZipArchiveMode.Update)
System\IO\Packaging\ZipPackagePart.cs (1)
33
if (streamFileMode == FileMode.Create && _zipArchiveEntry.Archive.
Mode
!= ZipArchiveMode.Create)