3 writes to _fileComment
System.IO.Compression (3)
System\IO\Compression\ZipArchiveEntry.cs (3)
147_fileComment = cd.FileComment; 200_fileComment = Array.Empty<byte>(); 304_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)
450if (_fileComment.Length > 0) 452await _archive.ArchiveStream.WriteAsync(_fileComment, cancellationToken).ConfigureAwait(false);
System\IO\Compression\ZipArchiveEntry.cs (6)
301get => DecodeEntryString(_fileComment); 751Debug.Assert(_fileComment.Length <= ushort.MaxValue); 836+ _fileComment.Length; 886BinaryPrimitives.WriteUInt16LittleEndian(cdStaticHeader[ZipCentralDirectoryFileHeader.FieldLocations.FileCommentLength..], (ushort)_fileComment.Length); 921if (_fileComment.Length > 0) 923_archive.ArchiveStream.Write(_fileComment);