11 writes to _linkName
System.Formats.Tar (11)
System\Formats\Tar\TarEntry.cs (1)
134
_header.
_linkName
= value;
System\Formats\Tar\TarHeader.cs (1)
111
_linkName
= other._linkName;
System\Formats\Tar\TarHeader.Read.cs (3)
120
_linkName
= paxEaLinkName;
396
_linkName
= TarHelpers.GetTrimmedUtf8String(buffer.Slice(FieldLocations.LinkName, FieldLengths.LinkName))
686
_linkName
= longPath;
System\Formats\Tar\TarReader.cs (6)
507
thirdHeader.
_linkName
= header._linkName;
515
thirdHeader.
_linkName
= secondHeader._linkName;
526
secondHeader.
_linkName
= header._linkName;
583
thirdHeader.
_linkName
= header._linkName;
591
thirdHeader.
_linkName
= secondHeader._linkName;
602
secondHeader.
_linkName
= header._linkName;
27 references to _linkName
System.Formats.Tar (27)
System\Formats\Tar\TarEntry.cs (1)
126
get => _header.
_linkName
?? string.Empty;
System\Formats\Tar\TarHeader.cs (1)
111
_linkName = other.
_linkName
;
System\Formats\Tar\TarHeader.Write.cs (11)
365
if (
_linkName
!= null && Encoding.UTF8.GetByteCount(
_linkName
) > FieldLengths.LinkName)
367
TarHeader longLinkHeader = GetGnuLongMetadataHeader(TarEntryType.LongLink,
_linkName
);
401
if (
_linkName
!= null && Encoding.UTF8.GetByteCount(
_linkName
) > FieldLengths.LinkName)
403
TarHeader longLinkHeader = GetGnuLongMetadataHeader(TarEntryType.LongLink,
_linkName
);
613
Debug.Assert(!string.IsNullOrEmpty(
_linkName
) ^ (_typeFlag is not TarEntryType.SymbolicLink and not TarEntryType.HardLink));
643
if (!string.IsNullOrEmpty(
_linkName
))
645
ReadOnlySpan<char> linkName =
_linkName
;
916
if (!string.IsNullOrEmpty(
_linkName
))
919
ExtendedAttributes[PaxEaLinkName] =
_linkName
;
System\Formats\Tar\TarReader.cs (12)
504
Debug.Assert(header.
_linkName
!= null);
507
thirdHeader._linkName = header.
_linkName
;
513
Debug.Assert(secondHeader.
_linkName
!= null);
515
thirdHeader._linkName = secondHeader.
_linkName
;
525
Debug.Assert(header.
_linkName
!= null);
526
secondHeader._linkName = header.
_linkName
;
580
Debug.Assert(header.
_linkName
!= null);
583
thirdHeader._linkName = header.
_linkName
;
589
Debug.Assert(secondHeader.
_linkName
!= null);
591
thirdHeader._linkName = secondHeader.
_linkName
;
601
Debug.Assert(header.
_linkName
!= null);
602
secondHeader._linkName = header.
_linkName
;
System\Formats\Tar\TarWriter.cs (2)
224
ValidateEntryLinkName(entry._header._typeFlag, entry._header.
_linkName
);
273
ValidateEntryLinkName(entry._header._typeFlag, entry._header.
_linkName
);