1 write to _stream
Microsoft.TestPlatform.CrossPlatEngine (1)
Client\MTP\MtpServerConnection.cs (1)
122_stream = _client.GetStream();
8 references to _stream
Microsoft.TestPlatform.CrossPlatEngine (8)
Client\MTP\MtpServerConnection.cs (8)
181if (_stream is null) 192_stream.Write(header, 0, header.Length); 193_stream.Write(body, 0, body.Length); 194_stream.Flush(); 200Debug.Assert(_stream != null, "Stream must be set before the read loop starts."); 205int contentLength = await ReadHeadersAsync(_stream!, cancellationToken).ConfigureAwait(false); 211byte[] body = await ReadExactlyAsync(_stream!, contentLength, cancellationToken).ConfigureAwait(false); 438_stream?.Dispose();