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)
115return _stream; 119if (_stream == value) 139Debug.Assert(_stream == null, "we can't have a stream and a path at the same time"); 191Debug.Assert(_stream == null, "we can't have a stream and a path at the same time"); 208if (string.IsNullOrEmpty(_soundLocation) && _stream == null) 263if (_uri != null && !_uri.IsFile && _stream == null) 279if (_stream!.CanSeek) 312if (loadSync && _stream!.CanSeek) 314int streamLen = (int)_stream.Length; 317_stream.ReadExactly(_streamData); 488if (_uri != null && !_uri.IsFile && _stream == null) 502Debug.Assert(_stream != null); 503int readBytes = await _stream.ReadAsync(_streamData.AsMemory(_currentPos, BlockSize), cancellationToken).ConfigureAwait(false); 515readBytes = await _stream.ReadAsync(_streamData.AsMemory(_currentPos, BlockSize), cancellationToken).ConfigureAwait(false);