3 writes to _fileComment
System.IO.Compression (3)
System\IO\Compression\ZipArchiveEntry.cs (3)
95_fileComment = cd.FileComment; 149_fileComment = Array.Empty<byte>(); 233_fileComment = ZipHelper.GetEncodedTruncatedBytesFromString(value, _archive.EntryNameAndCommentEncoding, ushort.MaxValue, out bool isUTF8);
8 references to _fileComment
System.IO.Compression (8)
System\IO\Compression\ZipArchiveEntry.Async.cs (2)
196if (_fileComment.Length > 0) 198await _archive.ArchiveStream.WriteAsync(_fileComment, cancellationToken).ConfigureAwait(false);
System\IO\Compression\ZipArchiveEntry.cs (6)
230get => DecodeEntryString(_fileComment); 546Debug.Assert(_fileComment.Length <= ushort.MaxValue); 620+ _fileComment.Length; 663BinaryPrimitives.WriteUInt16LittleEndian(cdStaticHeader[ZipCentralDirectoryFileHeader.FieldLocations.FileCommentLength..], (ushort)_fileComment.Length); 687if (_fileComment.Length > 0) 689_archive.ArchiveStream.Write(_fileComment);