Why not just use:
if (m_stream.CanSeek)
?
Piers.
> -----Original Message-----
> From: Carlos Guzm�n �lvarez [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 20, 2002 3:13 AM
> To: Mono-List
> Subject: [Mono-list] [PATCH] BufferedStream.cs
>
>
> Hello:
>
>
> This patch fix a problem closing a bufferedstream that uses a
> networkstream, the problem gives when bufferedstream try to get the
> value of the property Position of the networkstream, this property on
> networkstream will throw always an exeption(this is correct).
>
> The same thing with csc works well.
>
>
>
>
> Best regards
> Carlos Guzm�n �lvarez
> Vigo-Spain
>
>
>
> P.S.: I use GetType().FullName instead of is because using
> the last mcs
> don�t build.
>
