21 references to Name
aspire (7)
Bundles\BundleService.cs (3)
247var name = entry.Name; 267throw new InvalidOperationException($"Tar entry '{entry.Name}' would extract outside the destination directory."); 301throw new InvalidOperationException($"Symlink '{entry.Name}' targets '{entry.LinkName}' which resolves outside the destination directory.");
Utils\ArchiveHelper.cs (4)
81if (string.IsNullOrEmpty(entry.Name)) 86var fullPath = Path.GetFullPath(Path.Combine(destinationPath, entry.Name)); 92throw new InvalidOperationException($"Tar entry '{entry.Name}' would extract outside the destination directory."); 126throw new InvalidOperationException($"Symlink '{entry.Name}' targets '{entry.LinkName}' which resolves outside the destination directory.");
Microsoft.DotNet.SignCheckLibrary (2)
Verification\TarVerifier.cs (2)
49if (!entry.Name.EndsWith("/")) 53RelativePath = entry.Name,
Microsoft.DotNet.SignTool (4)
src\ZipData.cs (4)
76.Select(static entry => new ZipDataEntry(entry.Name, entry.DataStream, entry.Length) 529string relativeName = entry.Name; 745string relativeName = entry.Name; 779string outputPath = Path.Join(destination, tar.Name);
System.Formats.Tar (8)
System\Formats\Tar\TarEntry.cs (4)
260throw new InvalidOperationException(SR.Format(SR.TarEntryDoesNotSupportDataStream, Name, EntryType)); 296/// <returns>The <see cref="Name"/> of the current entry.</returns> 297public override string ToString() => Name; 350string name = ArchivingUtils.SanitizeEntryFilePath(Name, preserveDriveRoot: true);
System\Formats\Tar\TarHeader.Write.cs (3)
566throw new ArgumentException(SR.Format(SR.TarEntryFieldExceedsMaxLength, nameof(TarEntry.Name)), ArgNameEntry); 587throw new ArgumentException(SR.Format(SR.TarEntryFieldExceedsMaxLength, nameof(TarEntry.Name)), ArgNameEntry); 640throw new ArgumentException(SR.Format(SR.TarEntryFieldExceedsMaxLength, nameof(TarEntry.Name)), ArgNameEntry);
System\Formats\Tar\TarWriter.cs (1)
398throw new IOException(SR.Format(SR.TarStreamSeekabilityUnsupportedCombination, entry.Name));