13 writes to _name
System.Formats.Tar (13)
System\Formats\Tar\TarEntry.cs (1)
166_header._name = value;
System\Formats\Tar\TarHeader.cs (1)
93_name = name;
System\Formats\Tar\TarHeader.Read.cs (3)
114_name = paxEaName; 561_name = $"{_prefix}/{_name}"; 690_name = longPath;
System\Formats\Tar\TarHeader.Write.cs (2)
436_name = GnuLongMetadataName, // Same name for both longpath or longlink 481_name = isGea ?
System\Formats\Tar\TarReader.cs (6)
508thirdHeader._name = secondHeader._name; 514thirdHeader._name = header._name; 531secondHeader._name = header._name; 584thirdHeader._name = secondHeader._name; 590thirdHeader._name = header._name; 607secondHeader._name = header._name;
29 references to _name
System.Formats.Tar (29)
System\Formats\Tar\TarEntry.cs (1)
162get => _header._name;
System\Formats\Tar\TarHeader.cs (1)
105: this(format, other._name, other._mode, other._mTime, typeFlag)
System\Formats\Tar\TarHeader.Read.cs (5)
480throw new InvalidDataException(SR.Format(SR.TarPosixFormatExpected, _name)); 498throw new InvalidDataException(SR.Format(SR.TarGnuFormatExpected, _name)); 561_name = $"{_prefix}/{_name}"; 580ReadExtendedAttributesFromBuffer(span, _name); 602ReadExtendedAttributesFromBuffer(memory.Span, _name);
System\Formats\Tar\TarHeader.Write.cs (10)
374if (Encoding.UTF8.GetByteCount(_name) > FieldLengths.Name) 376TarHeader longPathHeader = GetGnuLongMetadataHeader(TarEntryType.LongPath, _name); 410if (Encoding.UTF8.GetByteCount(_name) > FieldLengths.Name) 412TarHeader longPathHeader = GetGnuLongMetadataHeader(TarEntryType.LongPath, _name); 524ReadOnlySpan<char> name = _name; 550if (GetUtf8TextLength(_name) > MaxPathName) 556int encoded = Encoding.UTF8.GetBytes(_name, encodingBuffer); 910ExtendedAttributes[PaxEaName] = _name; 1153ReadOnlySpan<char> dirName = Path.GetDirectoryName(_name.AsSpan()); 1156ReadOnlySpan<char> fileName = Path.GetFileName(_name.AsSpan());
System\Formats\Tar\TarReader.cs (12)
505Debug.Assert(secondHeader._name != null); 508thirdHeader._name = secondHeader._name; 512Debug.Assert(header._name != null); 514thirdHeader._name = header._name; 530Debug.Assert(header._name != null); 531secondHeader._name = header._name; 581Debug.Assert(secondHeader._name != null); 584thirdHeader._name = secondHeader._name; 588Debug.Assert(header._name != null); 590thirdHeader._name = header._name; 606Debug.Assert(header._name != null); 607secondHeader._name = header._name;