6 writes to stream
System (6)
sys\system\Media\SoundPlayer.cs (6)
73
this.
stream
= stream;
91
stream
= (Stream) entry.Value;
325
stream
= webResponse.GetResponseStream();
418
stream
= null;
442
this.
stream
= stream;
529
stream
= webResponse.GetResponseStream();
17 references to stream
System (17)
sys\system\Media\SoundPlayer.cs (17)
94
if (
stream
.CanSeek) {
95
stream
.Seek(0, SeekOrigin.Begin);
149
return this.
stream
;
152
if (
stream
== value)
184
Debug.Assert(
stream
== null, "we can't have a stream and a path at the same time");
233
Debug.Assert(
stream
== null, "we can't have a stream and a path at the same time");
249
if (String.IsNullOrEmpty(soundLocation) &&
stream
== null) {
315
if (uri != null && !uri.IsFile &&
stream
== null) {
328
if (
stream
.CanSeek) {
357
if (loadSync &&
stream
.CanSeek) {
358
int streamLen = (int)
stream
.Length;
361
stream
.Read(streamData, 0, streamLen);
524
if (uri != null && !uri.IsFile &&
stream
== null) {
534
int readBytes =
stream
.Read(streamData, currentPos, blockSize);
544
readBytes =
stream
.Read(streamData, currentPos, blockSize);
715
if (this.
stream
!= null) {
716
info.AddValue("Stream", this.
stream
);