5 writes to _stream
System.Windows.Extensions (5)
System\Media\SoundPlayer.cs (5)
61
_stream
= stream;
274
_stream
= webResponse.GetResponseStream();
386
_stream
= null;
415
_stream
= stream;
496
_stream
= webResponse.GetResponseStream();
14 references to _stream
System.Windows.Extensions (14)
System\Media\SoundPlayer.cs (14)
115
return
_stream
;
119
if (
_stream
== value)
139
Debug.Assert(
_stream
== null, "we can't have a stream and a path at the same time");
191
Debug.Assert(
_stream
== null, "we can't have a stream and a path at the same time");
208
if (string.IsNullOrEmpty(_soundLocation) &&
_stream
== null)
263
if (_uri != null && !_uri.IsFile &&
_stream
== null)
279
if (
_stream
!.CanSeek)
312
if (loadSync &&
_stream
!.CanSeek)
314
int streamLen = (int)
_stream
.Length;
317
_stream
.ReadExactly(_streamData);
488
if (_uri != null && !_uri.IsFile &&
_stream
== null)
502
Debug.Assert(
_stream
!= null);
503
int readBytes = await
_stream
.ReadAsync(_streamData.AsMemory(_currentPos, BlockSize), cancellationToken).ConfigureAwait(false);
515
readBytes = await
_stream
.ReadAsync(_streamData.AsMemory(_currentPos, BlockSize), cancellationToken).ConfigureAwait(false);