5 writes to _format
System.Formats.Tar (5)
System\Formats\Tar\TarHeader.cs (1)
112
_format
= format;
System\Formats\Tar\TarHeader.Read.cs (4)
382
header.
_format
= header._typeFlag switch
435
_format
= TarEntryFormat.V7;
443
_format
= TarEntryFormat.Gnu;
451
_format
= TarEntryFormat.Ustar;
27 references to _format
System.Formats.Tar (27)
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)
189
if (
_format
== TarEntryFormat.Pax && _ea is not null)
206
if (
_format
== TarEntryFormat.Pax && _ea is not null)
218
if (
_format
== TarEntryFormat.Pax && _ea is not null)
System\Formats\Tar\TarHeader.Read.cs (8)
55
if (header.
_format
!= TarEntryFormat.V7)
63
Debug.Assert(header.
_format
is TarEntryFormat.Ustar or TarEntryFormat.Pax or TarEntryFormat.Gnu);
64
if (header.
_format
is TarEntryFormat.Ustar or TarEntryFormat.Pax)
74
else if (header.
_format
== TarEntryFormat.Gnu)
380
if (header.
_format
== TarEntryFormat.Unknown)
448
if (
_format
== TarEntryFormat.V7)
464
if (
_format
== TarEntryFormat.V7)
470
switch (
_format
)
System\Formats\Tar\TarHeader.Write.cs (10)
375
if (
_format
is TarEntryFormat.V7)
495
if (
_format
is not TarEntryFormat.Pax and not TarEntryFormat.Gnu)
553
if (
_format
is not TarEntryFormat.Pax)
571
if (
_format
is not TarEntryFormat.Pax)
861
if (isOctalRange ||
_format
== TarEntryFormat.Pax)
865
else if (
_format
== TarEntryFormat.Gnu)
876
throw new ArgumentException(SR.Format(SR.TarFieldTooLargeForEntryFormat,
_format
));
887
if (isOctalRange ||
_format
== TarEntryFormat.Pax)
891
else if (
_format
== TarEntryFormat.Gnu)
901
throw new ArgumentException(SR.Format(SR.TarFieldTooLargeForEntryFormat,
_format
));
System\Formats\Tar\TarReader.cs (1)
216
TarEntry entry = header.
_format
switch
System\Formats\Tar\UstarTarEntry.cs (1)
47
if (other._header.
_format
is TarEntryFormat.Ustar or TarEntryFormat.Pax)