private Stream Open(FileMode mode, FileAccess access, FileShare share) { try { return(new FileStream(this.Path.ToString(), mode, access, share, 4096, true)); } catch (IOException e) { throw FileSystemError.AlreadyOpen(this.Path, e); } }
public Stream OpenWrite() { try { return(this.buffer.OpenWrite()); } catch (IOException e) { throw FileSystemError.AlreadyOpen(this.Path, e); } }