5 writes to _format
System.Formats.Tar (5)
System\Formats\Tar\TarHeader.cs (1)
88
_format
= format;
System\Formats\Tar\TarHeader.Read.cs (4)
437
header.
_format
= header._typeFlag switch
490
_format
= TarEntryFormat.V7;
498
_format
= TarEntryFormat.Gnu;
506
_format
= TarEntryFormat.Ustar;
28 references to _format
System.Formats.Tar (28)
System\Formats\Tar\PaxTarEntry.cs (1)
91
if (other._header.
_format
is TarEntryFormat.Ustar or TarEntryFormat.Pax)
System\Formats\Tar\TarEntry.cs (3)
24
protected bool FormatIsOctalOnly => _header.
_format
is TarEntryFormat.V7 or TarEntryFormat.Ustar;
31
Debug.Assert(header.
_format
== format);
82
public TarEntryFormat Format => _header.
_format
;
System\Formats\Tar\TarHeader.cs (3)
162
if (
_format
== TarEntryFormat.Pax && _ea is not null)
179
if (
_format
== TarEntryFormat.Pax && _ea is not null)
191
if (
_format
== TarEntryFormat.Pax && _ea is not null)
System\Formats\Tar\TarHeader.Read.cs (8)
71
if (header.
_format
!= TarEntryFormat.V7)
79
Debug.Assert(header.
_format
is TarEntryFormat.Ustar or TarEntryFormat.Pax or TarEntryFormat.Gnu);
80
if (header.
_format
is TarEntryFormat.Ustar or TarEntryFormat.Pax)
90
else if (header.
_format
== TarEntryFormat.Gnu)
435
if (header.
_format
== TarEntryFormat.Unknown)
503
if (
_format
== TarEntryFormat.V7)
519
if (
_format
== TarEntryFormat.V7)
525
switch (
_format
)
System\Formats\Tar\TarHeader.Write.cs (10)
564
if (
_format
is TarEntryFormat.V7)
684
if (
_format
is not TarEntryFormat.Pax and not TarEntryFormat.Gnu)
742
if (
_format
is not TarEntryFormat.Pax)
760
if (
_format
is not TarEntryFormat.Pax)
1075
if (isOctalRange ||
_format
== TarEntryFormat.Pax)
1079
else if (
_format
== TarEntryFormat.Gnu)
1090
throw new ArgumentException(SR.Format(SR.TarFieldTooLargeForEntryFormat,
_format
));
1101
if (isOctalRange ||
_format
== TarEntryFormat.Pax)
1105
else if (
_format
== TarEntryFormat.Gnu)
1115
throw new ArgumentException(SR.Format(SR.TarFieldTooLargeForEntryFormat,
_format
));
System\Formats\Tar\TarReader.cs (2)
136
TarEntry entry = header.
_format
switch
271
TarEntry entry = header.
_format
switch
System\Formats\Tar\UstarTarEntry.cs (1)
47
if (other._header.
_format
is TarEntryFormat.Ustar or TarEntryFormat.Pax)