3 instantiations of ZipArchiveEntry
System.IO.Compression (3)
System\IO\Compression\ZipArchive.cs (3)
403new ZipArchiveEntry(this, entryName, compressionLevel.Value) : 404new ZipArchiveEntry(this, entryName); 501AddEntry(new ZipArchiveEntry(this, currentHeader));
112 references to ZipArchiveEntry
BuildBoss (1)
OptProfCheckerUtil.cs (1)
105var entry = archive.GetEntry("manifest.json");
Microsoft.Arcade.Common (1)
ZipArchiveManager.cs (1)
55ZipArchiveEntry entry = archive.CreateEntry(targetFilename);
Microsoft.Build (4)
Logging\BinaryLogger\BuildEventArgsReader.cs (1)
410foreach (var entry in zipArchive.Entries/*.OrderBy(e => e.LastWriteTime)*/)
Logging\BinaryLogger\Postprocessing\ArchiveFile.cs (2)
71/// Creates an externally exposable embedded file representation from a <see cref="ZipArchiveEntry"/> (which is an implementation detail currently). 75internal static ArchiveStream From(ZipArchiveEntry entry)
Logging\BinaryLogger\ProjectImportsCollector.cs (1)
245var archiveEntry = _zipArchive!.CreateEntry(archivePath);
Microsoft.Build.Tasks.Core (5)
Unzip.cs (5)
165foreach (ZipArchiveEntry zipArchiveEntry in sourceArchive.Entries.TakeWhile(i => !_cancellationToken.IsCancellationRequested)) 281/// <param name="zipArchiveEntry">The <see cref="ZipArchiveEntry"/> object containing information about the file in the zip archive.</param> 283private bool ShouldSkipEntry(ZipArchiveEntry zipArchiveEntry) 303/// <param name="zipArchiveEntry">The <see cref="ZipArchiveEntry"/> object containing information about the file in the zip archive.</param> 306private bool ShouldSkipEntry(ZipArchiveEntry zipArchiveEntry, FileInfo fileInfo)
Microsoft.DotNet.Build.Tasks.VisualStudio (1)
OptProf\GenerateTrainingInputFiles.cs (1)
101var entry = archive.GetEntry("manifest.json");
Microsoft.DotNet.Build.Tasks.VisualStudio.Tests (1)
OptProf\GenerateTrainingInputFilesTests.cs (1)
124var entry = archive.CreateEntry("manifest.json");
Microsoft.DotNet.Helix.Sdk (1)
ProvisioningProfileProvider.cs (1)
129foreach (ZipArchiveEntry entry in zipArchive.Entries)
Microsoft.DotNet.Internal.SymbolHelper (1)
SymbolUploadHelper.cs (1)
277foreach (ZipArchiveEntry entry in archive.Entries)
Microsoft.DotNet.SignCheckLibrary (8)
Verification\ArchiveVerifier.cs (1)
35foreach (ZipArchiveEntry archiveEntry in zipArchive.Entries)
Verification\Jar\JarFile.cs (4)
180IEnumerable<ZipArchiveEntry> signatureFileEntries = from entry in archive.Entries 186foreach (ZipArchiveEntry file in signatureFileEntries) 192ZipArchiveEntry rsaEntry = archive.GetEntry(rsaFilename); 193ZipArchiveEntry dsaEntry = archive.GetEntry(dsaFilename);
Verification\Jar\JarManifestFile.cs (1)
47private bool Verify(JarIndividualEntry entry, ZipArchiveEntry archiveEntry)
Verification\Jar\JarManifestFileBase.cs (1)
95ZipArchiveEntry manifestArchiveEntry = archive.Entries.First(a => String.Equals(a.FullName, ManifestPath, StringComparison.OrdinalIgnoreCase));
Verification\Jar\JarUtils.cs (1)
27ZipArchiveEntry entry = archive.GetEntry(path);
Microsoft.DotNet.SignTool (2)
src\ZipData.cs (2)
142foreach (var entry in archive.Entries) 168foreach (ZipArchiveEntry entry in archive.Entries)
Microsoft.DotNet.VersionTools (2)
Automation\NupkgInfoFactory.cs (1)
38foreach (ZipArchiveEntry entry in zipArchive.Entries)
Dependencies\Submodule\IndicatorPackageSubmoduleUpdater.cs (1)
58ZipArchiveEntry versionTxtEntry = archive.GetEntry("version.txt");
Microsoft.ML.Core (5)
Data\Repository.cs (5)
396var ae = _archive.CreateEntry(kvp.Key); 448private readonly Dictionary<string, ZipArchiveEntry> _entries; 469_entries = new Dictionary<string, ZipArchiveEntry>(); 470foreach (var entry in _archive.Entries) 507ZipArchiveEntry entry;
Microsoft.ML.IntegrationTests (1)
ModelFiles.cs (1)
64var versionPath = archive.Entries.First(x => x.FullName == versionFileName);
Microsoft.ML.TestFramework (1)
DataPipe\TestDataPipe.cs (1)
1060var entry = zip.Entries.First(source => source.Name == "word_topic_summary-Result.txt");
netstandard (1)
netstandard.cs (1)
896[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.IO.Compression.ZipArchiveEntry))]
System.IO.Compression (44)
System\IO\Compression\DeflateManaged\DeflateManagedStream.cs (3)
23internal DeflateManagedStream(Stream stream, ZipArchiveEntry.CompressionMethodValues method, long uncompressedSize = -1) 30Debug.Assert(method == ZipArchiveEntry.CompressionMethodValues.Deflate64); 32_inflater = new InflaterManaged(method == ZipArchiveEntry.CompressionMethodValues.Deflate64, uncompressedSize);
System\IO\Compression\ZipArchive.cs (26)
18private ZipArchiveEntry? _archiveStreamOwner; 21private readonly List<ZipArchiveEntry> _entries; 22private readonly ReadOnlyCollection<ZipArchiveEntry> _entriesCollection; 23private readonly Dictionary<string, ZipArchiveEntry> _entriesDictionary; 168_entries = new List<ZipArchiveEntry>(); 169_entriesCollection = new ReadOnlyCollection<ZipArchiveEntry>(_entries); 170_entriesDictionary = new Dictionary<string, ZipArchiveEntry>(); 197foreach (ZipArchiveEntry entry in _entries) 233public ReadOnlyCollection<ZipArchiveEntry> Entries 273public ZipArchiveEntry CreateEntry(string entryName) 288public ZipArchiveEntry CreateEntry(string entryName, CompressionLevel compressionLevel) 342public ZipArchiveEntry? GetEntry(string entryName) 350_entriesDictionary.TryGetValue(entryName, out ZipArchiveEntry? result); 392private ZipArchiveEntry DoCreateEntry(string entryName, CompressionLevel? compressionLevel) 402ZipArchiveEntry entry = compressionLevel.HasValue ? 411internal void AcquireArchiveStream(ZipArchiveEntry entry) 429private void AddEntry(ZipArchiveEntry entry) 436internal void DebugAssertIsStillArchiveStreamOwner(ZipArchiveEntry entry) => Debug.Assert(_archiveStreamOwner == entry); 438internal void ReleaseArchiveStream(ZipArchiveEntry entry) 445internal void RemoveEntry(ZipArchiveEntry entry) 638List<ZipArchiveEntry> markedForDelete = new List<ZipArchiveEntry>(); 639foreach (ZipArchiveEntry entry in _entries) 644foreach (ZipArchiveEntry entry in markedForDelete) 651foreach (ZipArchiveEntry entry in _entries) 658foreach (ZipArchiveEntry entry in _entries)
System\IO\Compression\ZipArchiveEntry.cs (5)
658(long initialPosition, long currentPosition, uint checkSum, Stream backing, ZipArchiveEntry thisRef, EventHandler? closeHandler) => 714var entry = (ZipArchiveEntry)o!; 1179private readonly ZipArchiveEntry _entry; 1185public DirectToArchiveWriterStream(CheckSumAndSizeWriteStream crcSizeStream, ZipArchiveEntry entry)
System\IO\Compression\ZipCustomStreams.cs (10)
17private readonly Action<ZipArchiveEntry?>? _onClosed; 20private readonly ZipArchiveEntry? _zipArchiveEntry; 26private WrappedStream(Stream baseStream, bool closeBaseStream, ZipArchiveEntry? entry, Action<ZipArchiveEntry?>? onClosed) 35internal WrappedStream(Stream baseStream, ZipArchiveEntry entry, Action<ZipArchiveEntry?>? onClosed) 418private readonly ZipArchiveEntry _zipArchiveEntry; 422private readonly Action<long, long, uint, Stream, ZipArchiveEntry, EventHandler?> _saveCrcAndSizes; 432ZipArchiveEntry entry, EventHandler? onClose, 433Action<long, long, uint, Stream, ZipArchiveEntry, EventHandler?> saveCrcAndSizes)
System.IO.Compression.ZipFile (11)
System\IO\Compression\ZipFileExtensions.ZipArchive.Create.cs (5)
44public static ZipArchiveEntry CreateEntryFromFile(this ZipArchive destination, string sourceFileName, string entryName) => 76public static ZipArchiveEntry CreateEntryFromFile(this ZipArchive destination, 80internal static ZipArchiveEntry DoCreateEntryFromFile(this ZipArchive destination, 94ZipArchiveEntry entry = compressionLevel.HasValue 116static partial void SetExternalAttributes(FileStream fs, ZipArchiveEntry entry);
System\IO\Compression\ZipFileExtensions.ZipArchive.Create.Unix.cs (1)
12static partial void SetExternalAttributes(FileStream fs, ZipArchiveEntry entry)
System\IO\Compression\ZipFileExtensions.ZipArchive.Extract.cs (1)
73foreach (ZipArchiveEntry entry in source.Entries)
System\IO\Compression\ZipFileExtensions.ZipArchiveEntry.Extract.cs (4)
33public static void ExtractToFile(this ZipArchiveEntry source, string destinationFileName) => 63public static void ExtractToFile(this ZipArchiveEntry source, string destinationFileName, bool overwrite) 100internal static void ExtractRelativeToDirectory(this ZipArchiveEntry source, string destinationDirectoryName) => 103internal static void ExtractRelativeToDirectory(this ZipArchiveEntry source, string destinationDirectoryName, bool overwrite)
System.IO.Packaging (22)
System\IO\Packaging\InterleavedZipPackagePartStream.PieceDirectory.cs (1)
410ZipArchiveEntry firstPieceInfo = _sortedPieceInfoList[0].ZipArchiveEntry;
System\IO\Packaging\ZipPackage.cs (11)
62ZipArchiveEntry zipArchiveEntry = _zipArchive.CreateEntry(zipItemName, level); 114ZipArchiveEntry? zipArchiveEntry = _zipArchive.GetEntry(partZipName); 181System.Collections.ObjectModel.ReadOnlyCollection<ZipArchiveEntry> zipArchiveEntries = _zipArchive.Entries; 187foreach (ZipArchiveEntry zipArchiveEntry in zipArchiveEntries) 953private void ParseContentTypesFile(System.Collections.ObjectModel.ReadOnlyCollection<ZipArchiveEntry> zipFiles) 1045private Stream? OpenContentTypeStream(System.Collections.ObjectModel.ReadOnlyCollection<ZipArchiveEntry> zipFiles) 1048SortedDictionary<ZipPackagePartPiece, ZipArchiveEntry>? contentTypeStreamPieces = null; 1050foreach (ZipArchiveEntry zipFileInfo in zipFiles) 1063contentTypeStreamPieces ??= new SortedDictionary<ZipPackagePartPiece, ZipArchiveEntry>(); 1300private ZipArchiveEntry? _contentTypeZipArchiveEntry; 1443ZipArchiveEntry? entry = _zipArchive.GetEntry(zipFileInfoName);
System\IO\Packaging\ZipPackagePart.cs (3)
62ZipArchiveEntry zipArchiveEntry, 107internal ZipArchiveEntry? ZipArchiveEntry => _zipArchiveEntry; 114private readonly ZipArchiveEntry? _zipArchiveEntry;
System\IO\Packaging\ZipPackagePartPiece.cs (4)
25internal static bool TryParse(ZipArchiveEntry zipArchiveEntry, [NotNullWhen(true)] out ZipPackagePartPiece? partPiece) 151ZipArchiveEntry newPieceEntry = zipArchive.CreateEntry(newPieceFileName); 156internal ZipPackagePartPiece(ZipArchiveEntry zipArchiveEntry, PackUriHelper.ValidatedPartUri? partUri, string prefixName, int pieceNumber, bool isLastPiece) 190internal ZipArchiveEntry ZipArchiveEntry { get; }
System\IO\Packaging\ZipStreamManager.cs (1)
25public Stream Open(ZipArchiveEntry zipArchiveEntry, FileAccess streamFileAccess)
System\IO\Packaging\ZipWrappingStream.cs (2)
16private readonly ZipArchiveEntry _zipArchiveEntry; 22public ZipWrappingStream(ZipArchiveEntry zipArchiveEntry, Stream stream, FileMode packageFileMode, FileAccess packageFileAccess, bool canRead, bool canWrite)