Skip to content

Commit 99f50cc

Browse files
authored
add new argumentexceptions for brotlistream (#8648)
1 parent ad4480b commit 99f50cc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

xml/System.IO.Compression/BrotliStream.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
<param name="compressionLevel">One of the enumeration values that indicates whether to emphasize speed or compression efficiency when compressing data to the stream.</param>
6161
<summary>Initializes a new instance of the <see cref="T:System.IO.Compression.BrotliStream" /> class by using the specified stream and compression level.</summary>
6262
<remarks>To be added.</remarks>
63+
<exception cref="T:System.ArgumentException">.NET 7 and later: <paramref name="compressionLevel" /> is not defined in the <see cref="System.IO.Compression.CompressionLevel" /> enumeration.</exception>
6364
</Docs>
6465
</Member>
6566
<Member MemberName=".ctor">
@@ -125,6 +126,7 @@
125126
<see langword="true" /> to leave the stream open after disposing the <see cref="T:System.IO.Compression.BrotliStream" /> object; otherwise, <see langword="false" />.</param>
126127
<summary>Initializes a new instance of the <see cref="T:System.IO.Compression.BrotliStream" /> class by using the specified stream and compression level, and optionally leaves the stream open.</summary>
127128
<remarks>To be added.</remarks>
129+
<exception cref="T:System.ArgumentException">.NET 7 and later: <paramref name="compressionLevel" /> is not defined in the <see cref="System.IO.Compression.CompressionLevel" /> enumeration.</exception>
128130
</Docs>
129131
</Member>
130132
<Member MemberName=".ctor">

0 commit comments

Comments
 (0)