5 writes to _format
System.Formats.Tar (5)
System\Formats\Tar\TarHeader.cs (1)
92
_format
= format;
System\Formats\Tar\TarHeader.Read.cs (4)
401
header.
_format
= header._typeFlag switch
436
_format
= TarEntryFormat.V7;
444
_format
= TarEntryFormat.Gnu;
452
_format
= TarEntryFormat.Ustar;
25 references to _format
System.Formats.Tar (25)
System\Formats\Tar\PaxTarEntry.cs (1)
112
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.Read.cs (8)
70
if (header.
_format
!= TarEntryFormat.V7)
78
Debug.Assert(header.
_format
is TarEntryFormat.Ustar or TarEntryFormat.Pax or TarEntryFormat.Gnu);
79
if (header.
_format
== TarEntryFormat.Ustar)
83
else if (header.
_format
== TarEntryFormat.Gnu)
399
if (header.
_format
== TarEntryFormat.Unknown)
449
if (
_format
== TarEntryFormat.V7)
465
if (
_format
== TarEntryFormat.V7)
471
switch (
_format
)
System\Formats\Tar\TarHeader.Write.cs (10)
529
if (
_format
is TarEntryFormat.V7)
649
if (
_format
is not TarEntryFormat.Pax and not TarEntryFormat.Gnu)
707
if (
_format
is not TarEntryFormat.Pax)
725
if (
_format
is not TarEntryFormat.Pax)
1070
if (isOctalRange ||
_format
== TarEntryFormat.Pax)
1074
else if (
_format
== TarEntryFormat.Gnu)
1085
throw new ArgumentException(SR.Format(SR.TarFieldTooLargeForEntryFormat,
_format
));
1096
if (isOctalRange ||
_format
== TarEntryFormat.Pax)
1100
else if (
_format
== TarEntryFormat.Gnu)
1110
throw new ArgumentException(SR.Format(SR.TarFieldTooLargeForEntryFormat,
_format
));
System\Formats\Tar\TarReader.cs (2)
136
TarEntry entry = header.
_format
switch
289
TarEntry entry = header.
_format
switch
System\Formats\Tar\UstarTarEntry.cs (1)
47
if (other._header.
_format
is TarEntryFormat.Ustar or TarEntryFormat.Pax)