Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions xml/System.IO/MemoryStream.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1800,7 +1800,7 @@ The pending operation does not support writing.</exception>

]]></format>
</remarks>
<exception cref="T:System.ArgumentOutOfRangeException">The position is set to a negative value or a value greater than <see cref="F:System.Int32.MaxValue">Int32.MaxValue</see>.</exception>
<exception cref="T:System.ArgumentOutOfRangeException">The position is set to a negative value or a value greater than the maximum length of the <see cref="T:System.IO.MemoryStream" />, where the maximum length is (<see cref="F:System.Int32.MaxValue">Int32.MaxValue</see> - <code>origin</code>), and <code>origin</code> is the index into the underlying buffer at which the stream starts.</exception>
<exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
<related type="Article" href="/dotnet/standard/io/">File and Stream I/O</related>
<related type="Article" href="/dotnet/standard/io/how-to-read-text-from-a-file">How to: Read Text from a File</related>
Expand Down Expand Up @@ -2244,7 +2244,7 @@ The pending operation does not support writing.</exception>
</remarks>
<exception cref="T:System.IO.IOException">Seeking is attempted before the beginning of the stream.</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="offset" /> is greater than <see cref="F:System.Int32.MaxValue">Int32.MaxValue</see>.</exception>
<paramref name="offset" /> is greater than the maximum length of the <see cref="T:System.IO.MemoryStream" />, where the maximum length is (<see cref="F:System.Int32.MaxValue">Int32.MaxValue</see> - <code>origin</code>), and <code>origin</code> is the index into the underlying buffer at which the stream starts.</exception>
<exception cref="T:System.ArgumentException">There is an invalid <see cref="T:System.IO.SeekOrigin" />.

-or-
Expand Down