Skip to content

Commit b6c8c97

Browse files
committed
fix xml
1 parent 10ce63c commit b6c8c97

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

xml/System.IO.Compression/ZipFile.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,7 @@ An I/O error occurred while opening a file to be archived.</exception>
764764
<param name="compressionLevel">One of the enumeration values that specifies the level of the compression (speed/memory vs. compressed size trade-off).</param>
765765
<param name="includeBaseDirectory">
766766
<see langword="true" /> to indicate that a directory named <paramref name="sourceDirectoryName" /> should be included at the root of the archive. <see langword=
767-
"false" /> to indicate that the files and directories in <paramref name="sourceDirectoryName" /> should be included directly in the archive.</para>
767+
"false" /> to indicate that the files and directories in <paramref name="sourceDirectoryName" /> should be included directly in the archive.
768768
</param>
769769
<param name="cancellationToken">The cancellation token to monitor for cancellation requests.</param>
770770
<summary>
@@ -934,7 +934,7 @@ An I/O error occurred while opening a file to be archived.</exception>
934934
<para>If an error is encountered while adding files to the archive, this method will stop adding files and leave the archive in an invalid state. The paths are permitted to specify relative or absolute path information. Relative path information is interpreted as relative to the current working directory. If a file in the archive has data in the last write time field that is not a valid zip timestamp, an indicator value of 1980 January 1 at midnight will be used for the file's last modified time.If an entry with the specified name already exists in the archive, a second entry will be created that has an identical name.Since no <code>CompressionLevel</code> is specified, the default provided by the implementation of the underlying compression algorithm will be used; the <code>ZipArchive</code> will not impose its own default.</para>
935935
<para>(Currently, the underlying compression algorithm is provided by the <see cref="T:System.IO.Compression.DeflateStream" /> class.)</para>
936936
<para>Specifying a value for <paramref name="entryNameEncoding" /> other than <see langword="null" /> is discouraged.</para>
937-
<para>However, this may be necessary for interoperability with zip archive tools and libraries that do not correctly support UTF-8 encoding for entry names or comments.
937+
<para>However, this may be necessary for interoperability with zip archive tools and libraries that do not correctly support UTF-8 encoding for entry names or comments.</para>
938938
<para>This value is used as follows while creating the archive:</para>
939939
<para>If <paramref name="entryNameEncoding" /> is not specified (<code>== null</code>):</para>
940940
<list>
@@ -949,7 +949,7 @@ An I/O error occurred while opening a file to be archived.</exception>
949949
<br />The language encoding flag (EFS) in the general purpose bit flag of the local file header for each entry will be set if and only if the specified <paramref name="entryNameEncoding" /> is a UTF-8 encoding.</item>
950950
</list>
951951
<para>Unicode encodings other than UTF-8 can't be used for the <paramref name="entryNameEncoding" />, otherwise an <see cref="T:System.ArgumentException" /> is thrown.</para>
952-
</remarks>
952+
</remarks>
953953
<exception cref="T:System.ArgumentException">
954954
<para>
955955
<paramref name="sourceDirectoryName" /> or <paramref name="destinationArchiveFileName" /> is a zero-length string, contains only whitespace, or contains one or more invalid characters as defined by <code>InvalidPathChars</code>.</para>
@@ -1980,7 +1980,7 @@ An archive entry has been compressed using a compression method that isn't suppo
19801980
<para>If there is an error while extracting the archive, the archive will remain partially extracted. Each entry will be extracted such that the extracted file has the same relative path to the destinationDirectoryName as the entry has to the archive. The path is permitted to specify relative or absolute path information. Relative path information is interpreted as relative to the current working directory. If a file to be archived has an invalid last modified time, the first datetime representable in the zip timestamp format (midnight on January 1, 1980) will be used.</para>
19811981
</remarks>
19821982
<exception cref="T:System.ArgumentException">
1983-
<paramref name="sourceArchiveFileName" /> or <paramref name="destinationDirectoryName" /> is a zero-length string, contains only whitespace, or contains one or more invalid characters as defined by InvalidPathChars.</para>
1983+
<paramref name="sourceArchiveFileName" /> or <paramref name="destinationDirectoryName" /> is a zero-length string, contains only whitespace, or contains one or more invalid characters as defined by InvalidPathChars.
19841984
</exception>
19851985
<exception cref="T:System.ArgumentNullException">
19861986
<paramref name="sourceArchiveFileName" /> or <paramref name="destinationDirectoryName" /> is <see langword="null" />.</exception>
@@ -2525,7 +2525,7 @@ An unspecified I/O error occurred while opening the file.</exception>
25252525
<summary>Asynchronously opens a <code>ZipArchive</code> on the specified <paramref name="archiveFileName" /> in the specified <code>ZipArchiveMode</code> mode.</summary>
25262526
<returns>To be added.</returns>
25272527
<remarks>
2528-
<para>For <paramref name="archiveFileName" />:
2528+
<para>For <paramref name="archiveFileName" />:</para>
25292529
<para>The path is permitted to specify relative or absolute path information. Relative path information is interpreted as relative to the current working directory.</para>
25302530
<para>For <paramref name="mode" />:</para>
25312531
<para>If <see cref="F:System.IO.Compression.ZipArchiveMode.Read" /> is specified, the file is opened with <code>System.IO.FileMode.Open</code>, and will throw a <code>FileNotFoundException</code> if the file does not exist.</para>

xml/System.IO.Compression/ZipFileExtensions.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -919,7 +919,7 @@ A <see cref="T:System.IO.Compression.ZipArchiveEntry" /> has been compressed usi
919919
<returns>To be added.</returns>
920920
<remarks>
921921
<para>The specified path is permitted to specify relative or absolute path information. Relative path information is interpreted as relative to the current working directory.</para>
922-
</para>The last write time of the file is set to the entry's last write time. This method does not allow overwriting of an existing file with the same name. Attempting to extract explicit directories (entries with names that end in directory separator characters) will not result in the creation of a directory.</para>
922+
<para>The last write time of the file is set to the entry's last write time. This method does not allow overwriting of an existing file with the same name. Attempting to extract explicit directories (entries with names that end in directory separator characters) will not result in the creation of a directory.</para>
923923
</remarks>
924924
<exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
925925
<exception cref="T:System.ArgumentException">

0 commit comments

Comments
 (0)