Skip to content

Commit 4f6df3f

Browse files
authored
Remove stale comments on Stream.Can properties (#4506)
1 parent 0c68949 commit 4f6df3f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

xml/System.IO/Stream.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -382,8 +382,6 @@
382382
## Remarks
383383
If a class derived from <xref:System.IO.Stream> does not support reading, calls to the <xref:System.IO.Stream.Read%2A>, <xref:System.IO.Stream.ReadByte%2A>, and <xref:System.IO.Stream.BeginRead%2A> methods throw a <xref:System.NotSupportedException>.
384384
385-
If the stream is closed, this property returns `false`.
386-
387385
388386
389387
## Examples
@@ -446,8 +444,6 @@
446444
## Remarks
447445
If a class derived from <xref:System.IO.Stream> does not support seeking, calls to <xref:System.IO.Stream.Length%2A>, <xref:System.IO.Stream.SetLength%2A>, <xref:System.IO.Stream.Position%2A>, and <xref:System.IO.Stream.Seek%2A> throw a <xref:System.NotSupportedException>.
448446
449-
If the stream is closed, this property returns `false`.
450-
451447
]]></format>
452448
</remarks>
453449
<related type="Article" href="/dotnet/standard/io/">File and Stream I/O</related>
@@ -557,8 +553,6 @@
557553
## Remarks
558554
If a class derived from <xref:System.IO.Stream> does not support writing, a call to <xref:System.IO.Stream.Write%2A>, <xref:System.IO.Stream.BeginWrite%2A>, or <xref:System.IO.Stream.WriteByte%2A> throws a <xref:System.NotSupportedException>. In such cases, <xref:System.IO.Stream.Flush%2A> is typically implemented as an empty method to ensure full compatibility with other <xref:System.IO.Stream> types since it's valid to flush a read-only stream.
559555
560-
If the stream is closed, this property returns `false`.
561-
562556
563557
564558
## Examples

0 commit comments

Comments
 (0)