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)
181
if (
_stream
is null)
192
_stream
.Write(header, 0, header.Length);
193
_stream
.Write(body, 0, body.Length);
194
_stream
.Flush();
200
Debug.Assert(
_stream
!= null, "Stream must be set before the read loop starts.");
205
int contentLength = await ReadHeadersAsync(
_stream
!, cancellationToken).ConfigureAwait(false);
211
byte[] body = await ReadExactlyAsync(
_stream
!, contentLength, cancellationToken).ConfigureAwait(false);
438
_stream
?.Dispose();