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