canWrite = true;
Native.Stdlib.clearerr (file);
}
- catch (Exception e) {
+ catch (Exception) {
throw new ArgumentException (Locale.GetText ("Invalid file stream"), "fileStream");
}
GC.KeepAlive (this);
{
if (file == InvalidFileStream)
throw new ObjectDisposedException ("Invalid File Stream");
+ GC.KeepAlive (this);
}
public IntPtr Handle {