1 write to FullName
System.IO.Compression (1)
System\IO\Compression\ZipArchiveEntry.cs (1)
136FullName = entryName;
75 references to FullName
Microsoft.Arcade.Common (2)
ZipArchiveManager.cs (2)
38zip.Entries.FirstOrDefault(e => e.FullName == entryName)?.Delete(); 53archive.Entries.FirstOrDefault(e => e.FullName == targetFilename)?.Delete();
Microsoft.AspNetCore.App.UnitTests (5)
SharedFxTests.cs (2)
333.Where(i => i.FullName.EndsWith(".dll", StringComparison.Ordinal)) 334.Select(i => i.FullName).ToHashSet();
TargetingPackTests.cs (3)
375.Where(i => i.FullName.EndsWith(".dll", StringComparison.Ordinal) && !i.FullName.EndsWith(".resources.dll", StringComparison.Ordinal)) 376.Select(i => i.FullName).ToHashSet();
Microsoft.Build (1)
Logging\BinaryLogger\Postprocessing\ArchiveFile.cs (1)
77return new ArchiveStream(entry.FullName, new StreamReader(entry.Open()));
Microsoft.Build.CommandLine.UnitTests (1)
XMake_Tests.cs (1)
2543archive.Entries.ShouldContain(e => e.FullName.EndsWith(".proj", StringComparison.OrdinalIgnoreCase), 2);
Microsoft.Build.Tasks.Core (9)
Unzip.cs (9)
169Log.LogMessageFromResources(MessageImportance.Low, "Unzip.DidNotUnzipBecauseOfFilter", zipArchiveEntry.FullName); 173string fullDestinationPath = Path.GetFullPath(Path.Combine(destinationDirectory.FullName, zipArchiveEntry.FullName)); 197Log.LogMessageFromResources(MessageImportance.Low, "Unzip.DidNotUnzipBecauseOfFileMatch", zipArchiveEntry.FullName, destinationPath.FullName, nameof(SkipUnchangedFiles), "true"); 202Log.LogErrorFromResources("Unzip.FileComment", zipArchiveEntry.FullName, destinationPath.FullName); 225Log.LogErrorWithCodeFromResources("Unzip.ErrorCouldNotMakeFileWriteable", zipArchiveEntry.FullName, destinationPath.FullName, e.Message, lockedFileMessage); 232Log.LogMessageFromResources(MessageImportance.Normal, "Unzip.FileComment", zipArchiveEntry.FullName, destinationPath.FullName); 273Log.LogErrorWithCodeFromResources("Unzip.ErrorCouldNotExtractFile", zipArchiveEntry.FullName, destinationPath.FullName, e.Message); 289result = _includePatterns.All(pattern => !FileMatcher.IsMatch(FileMatcher.Normalize(zipArchiveEntry.FullName), pattern)); 294result |= _excludePatterns.Any(pattern => FileMatcher.IsMatch(FileMatcher.Normalize(zipArchiveEntry.FullName), pattern));
Microsoft.Build.Tasks.UnitTests (4)
CodeTaskFactoryEmbeddedFileInBinlogTestHelper.cs (2)
77zE => zE.FullName.StartsWith(projectDirectoryPath) && zE.Name.EndsWith($"{taskName}-compilation-file.tmp"), 129zE => zE.FullName.StartsWith(projectDirectory) && zE.Name.EndsWith($"{taskName}-compilation-file.tmp"),
ZipDirectory_Tests.cs (2)
50.Select(i => i.FullName) 92.Select(i => i.FullName)
Microsoft.DotNet.Helix.Sdk (4)
ProvisioningProfileProvider.cs (4)
131if (!s_topLevelAppPattern.IsMatch(entry.FullName)) 136string appBundleName = entry.FullName.Split(new[] { '/' }, 2).First(); 138if (entry.FullName == appBundleName + "/" + ProfileFileName) 157if (!zipArchive.Entries.Any(e => e.FullName == ProfileFileName))
Microsoft.DotNet.Internal.SymbolHelper (5)
SymbolUploadHelper.cs (5)
279if (entry.FullName.EndsWith('/')) 285if (!ShouldIndexPackageFile(entry.FullName)) 287logger.Verbose("Skipping {0}", entry.FullName); 291logger.Verbose("Extracting {0}", entry.FullName); 292string entryPath = Path.Combine(packageExtractDir, entry.FullName);
Microsoft.DotNet.NuGetRepack.Tasks (1)
src\ReplacePackageParts.cs (1)
234archive.Entries.FirstOrDefault(e => e.FullName == NuGetUtils.SignaturePartUri)?.Delete();
Microsoft.DotNet.NuGetRepack.Tests (2)
ReplacePackagePartsTests.cs (1)
52}, archive.Entries.Select(e => e.FullName));
VersionUpdaterTests.cs (1)
31return (e.FullName, m.ToArray());
Microsoft.DotNet.SignCheckLibrary (19)
Verification\ArchiveVerifier.cs (6)
39string directoryName = Path.GetDirectoryName(archiveEntry.FullName); 42string extension = Path.GetExtension(archiveEntry.FullName); 45string aliasFileName = String.Equals(extension.ToLowerInvariant(), ".cab") ? Path.GetFileName(archiveEntry.FullName) : 46Utils.GetHash(archiveEntry.FullName, HashAlgorithmName.SHA256.Name) + Path.GetExtension(archiveEntry.FullName); // lgtm [cs/zipslip] Archive from trusted source 57archiveMap[archiveEntry.FullName] = aliasFullName;
Verification\Jar\JarFile.cs (9)
100a => String.Equals(Path.GetExtension(a.FullName), ".SF", StringComparison.OrdinalIgnoreCase) && 101String.Equals(Directory.GetParent(a.FullName).Name, "META-INF", StringComparison.OrdinalIgnoreCase) 106a => String.Equals(a.FullName, "META-INF/MANIFEST.MF", StringComparison.OrdinalIgnoreCase) 181where (String.Equals(Path.GetExtension(entry.FullName), ".SF", StringComparison.OrdinalIgnoreCase) && 182String.Equals(Directory.GetParent(entry.FullName).Name, "META-INF", StringComparison.OrdinalIgnoreCase)) 188string baseFilename = Path.GetFileNameWithoutExtension(file.FullName); 195signatureFiles.Add(new JarSignatureFile(ArchivePath, file.FullName, rsaEntry?.FullName, dsaEntry?.FullName));
Verification\Jar\JarManifestFileBase.cs (1)
95ZipArchiveEntry manifestArchiveEntry = archive.Entries.First(a => String.Equals(a.FullName, ManifestPath, StringComparison.OrdinalIgnoreCase));
Verification\SignatureVerificationManager.cs (3)
234if (zipArchive.Entries.Any(z => String.Equals(Path.GetExtension(z.FullName), "nuspec", StringComparison.OrdinalIgnoreCase))) 239else if (zipArchive.Entries.Any(z => String.Equals(Path.GetExtension(z.FullName), "vsixmanifest", StringComparison.OrdinalIgnoreCase))) 244else if (zipArchive.Entries.Any(z => String.Equals(z.FullName, "META-INF/MANIFEST.MF", StringComparison.OrdinalIgnoreCase)))
Microsoft.DotNet.SignTool (2)
src\ZipData.cs (2)
144string relativePath = entry.FullName; // lgtm [cs/zipslip] Archive from trusted source 170string relativeName = entry.FullName;
Microsoft.ML.Core (1)
Data\Repository.cs (1)
472var path = NormalizeForArchiveEntry(entry.FullName);
Microsoft.ML.Ensemble (4)
EntryPoints\CreateEnsemble.cs (4)
334var entries = zip.Entries.OrderBy(e => e.FullName).ToArray(); 339dataZipEntryNames[i] = entries[i].FullName; 382var entries = zip.Entries.OrderBy(e => e.FullName).ToArray(); 387ch.Check(dataZipEntryNames[i] == entries[i].FullName, errorMsg);
Microsoft.ML.IntegrationTests (1)
ModelFiles.cs (1)
64var versionPath = archive.Entries.First(x => x.FullName == versionFileName);
System.IO.Compression (5)
System\IO\Compression\ZipArchive.cs (2)
432_entriesDictionary.TryAdd(entry.FullName, entry); 449_entriesDictionary.Remove(entry.FullName);
System\IO\Compression\ZipArchiveEntry.cs (3)
229ArgumentNullException.ThrowIfNull(value, nameof(FullName)); 296public string Name => ParseFileName(FullName, _versionMadeByPlatform); 352return FullName;
System.IO.Compression.ZipFile (1)
System\IO\Compression\ZipFileExtensions.ZipArchiveEntry.Extract.cs (1)
117string fileDestinationPath = Path.GetFullPath(Path.Combine(destinationDirectoryFullPath, ArchivingUtils.SanitizeEntryFilePath(source.FullName)));
System.IO.Packaging (8)
System\IO\Packaging\ZipPackage.cs (7)
192if (IsZipItemValidOpcPartOrPiece(zipArchiveEntry.FullName)) 214Uri partUri = new Uri(GetOpcNameFromZipItemName(zipArchiveEntry.FullName), UriKind.Relative); 231_ignoredItemHelper.AddItemForAtomicPart(validatedPartUri, zipArchiveEntry.FullName); 1052if (zipFileInfo.FullName.StartsWith(ContentTypesFileUpperInvariant, StringComparison.OrdinalIgnoreCase)) 1055if (zipFileInfo.FullName.Length == ContentTypeFileName.Length) 1394AddItem(pieceInfo.PartUri, pieceInfo.NormalizedPrefixName, pieceInfo.ZipArchiveEntry.FullName); 1418zipFileInfoNameList.Add(pieces[i].ZipArchiveEntry.FullName);
System\IO\Packaging\ZipPackagePartPiece.cs (1)
36bool success = TryParseName(zipArchiveEntry.FullName, out PackUriHelper.ValidatedPartUri? partUri, out string? prefixName, out int pieceNumber, out bool isLastPiece);