1 write to _stream
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Remote\InProcRemostHostClient.cs (1)
265
_stream
= stream;
28 references to _stream
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (28)
Remote\InProcRemostHostClient.cs (28)
270
get { return
_stream
.Position; }
271
set {
_stream
.Position = value; }
276
get { return
_stream
.ReadTimeout; }
277
set {
_stream
.ReadTimeout = value; }
282
get { return
_stream
.WriteTimeout; }
283
set {
_stream
.WriteTimeout = value; }
286
public override bool CanRead =>
_stream
.CanRead;
287
public override bool CanSeek =>
_stream
.CanSeek;
288
public override bool CanWrite =>
_stream
.CanWrite;
289
public override long Length =>
_stream
.Length;
290
public override bool CanTimeout =>
_stream
.CanTimeout;
292
public override void Flush() =>
_stream
.Flush();
293
public override Task FlushAsync(CancellationToken cancellationToken) =>
_stream
.FlushAsync(cancellationToken);
295
public override long Seek(long offset, SeekOrigin origin) =>
_stream
.Seek(offset, origin);
296
public override void SetLength(long value) =>
_stream
.SetLength(value);
298
public override int ReadByte() =>
_stream
.ReadByte();
299
public override void WriteByte(byte value) =>
_stream
.WriteByte(value);
301
public override int Read(byte[] buffer, int offset, int count) =>
_stream
.Read(buffer, offset, count);
302
public override void Write(byte[] buffer, int offset, int count) =>
_stream
.Write(buffer, offset, count);
304
public override Task<int> ReadAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken) =>
_stream
.ReadAsync(buffer, offset, count, cancellationToken);
305
public override Task WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken) =>
_stream
.WriteAsync(buffer, offset, count, cancellationToken);
311
public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object? state) =>
_stream
.BeginRead(buffer, offset, count, callback, state);
312
public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object? state) =>
_stream
.BeginWrite(buffer, offset, count, callback, state);
314
public override int EndRead(IAsyncResult asyncResult) =>
_stream
.EndRead(asyncResult);
315
public override void EndWrite(IAsyncResult asyncResult) =>
_stream
.EndWrite(asyncResult);
317
public override Task CopyToAsync(Stream destination, int bufferSize, CancellationToken cancellationToken) =>
_stream
.CopyToAsync(destination, bufferSize, cancellationToken);
322
_stream
.Close();
330
_stream
.Dispose();