Skip to content
Merged
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
8 changes: 4 additions & 4 deletions xml/System.IO/MemoryStream.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2029,13 +2029,13 @@ The pending operation does not support writing.</exception>
This method returns `true` when the the underlying buffer is marked as exposable, which happens when the current `MemoryStream` instance is created with:

- <xref:System.IO.MemoryStream.%23ctor>.
- <xref:System.IO.MemoryStream.%23ctor%28System.Int32%29).
- <xref:System.IO.MemoryStream.%23ctor%28System.Byte%5B%5D,System.Int32,System.Int32,System.Boolean,System.Boolean%29) with the parameter `publiclyVisible` set to `true`.
- <xref:System.IO.MemoryStream.%23ctor(System.Int32)>.
- <xref:System.IO.MemoryStream.%23ctor(System.Byte[],System.Int32,System.Int32,System.Boolean,System.Boolean)> with the parameter `publiclyVisible` set to `true`.

The underlying buffer will not be exposed if the current `MemoryStream` instance is created with:

- <xref:System.IO.MemoryStream.%23ctor%28System.Byte%5B%5D,System.Boolean%29).
- <xref:System.IO.MemoryStream.%23ctor%28System.Byte%5B%5D,System.Int32,System.Int32,System.Boolean,System.Boolean%29) with the parameter `publiclyVisible` set to `false`.
- <xref:System.IO.MemoryStream.%23ctor(System.Byte[],System.Boolean)>
- <xref:System.IO.MemoryStream.%23ctor(System.Byte[],System.Int32,System.Int32,System.Boolean,System.Boolean)> with the parameter `publiclyVisible` set to `false`.

]]></format>
</remarks>
Expand Down