Skip to content

Commit cf8eebe

Browse files
committed
System.IO docs
1 parent 1ef7687 commit cf8eebe

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

xml/System.IO/BinaryReader.xml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1837,9 +1837,12 @@
18371837
<Parameter Name="buffer" Type="System.Span&lt;System.Byte&gt;" Index="0" FrameworkAlternate="net-10.0" />
18381838
</Parameters>
18391839
<Docs>
1840-
<param name="buffer">To be added.</param>
1841-
<summary>To be added.</summary>
1842-
<remarks>To be added.</remarks>
1840+
<param name="buffer">A region of memory. When this method returns, the contents of this region are replaced by the bytes read from the current stream.</param>
1841+
<summary>Reads bytes from the current stream and advances the position within the stream until the <paramref name="buffer" /> is filled.</summary>
1842+
<remarks>When <paramref name="buffer" /> is empty, this read operation will be completed without waiting for available data in the stream.</remarks>
1843+
<exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
1844+
<exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
1845+
<exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached before filling the <paramref name="buffer" />.</exception>
18431846
</Docs>
18441847
</Member>
18451848
<Member MemberName="ReadHalf">

xml/System.IO/FileStream.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2291,6 +2291,7 @@ For an example of copying between two streams, see the <xref:System.IO.Stream.Co
22912291
]]></format>
22922292
</remarks>
22932293
<exception cref="T:System.OperationCanceledException">The cancellation token was canceled. This exception is stored into the returned task.</exception>
2294+
<inheritdoc />
22942295
</Docs>
22952296
</Member>
22962297
<Member MemberName="Dispose">

0 commit comments

Comments
 (0)