diff --git a/xml/System.IO/MemoryStream.xml b/xml/System.IO/MemoryStream.xml
index 1fa8f5acad6..1364fbfdd61 100644
--- a/xml/System.IO/MemoryStream.xml
+++ b/xml/System.IO/MemoryStream.xml
@@ -1800,7 +1800,7 @@ The pending operation does not support writing.
]]>
- The position is set to a negative value or a value greater than Int32.MaxValue.
+ The position is set to a negative value or a value greater than the maximum length of the , where the maximum length is (Int32.MaxValue - origin
), and origin
is the index into the underlying buffer at which the stream starts.
The stream is closed.
File and Stream I/O
How to: Read Text from a File
@@ -2244,7 +2244,7 @@ The pending operation does not support writing.
Seeking is attempted before the beginning of the stream.
- is greater than Int32.MaxValue.
+ is greater than the maximum length of the , where the maximum length is (Int32.MaxValue - origin
), and origin
is the index into the underlying buffer at which the stream starts.
There is an invalid .
-or-