2 writes to _originalStream
System (2)
sys\system\configuration\ClientSettingsStore.cs (2)
343
_originalStream
= originalStream;
386
_originalStream
= null;
35 references to _originalStream
System (35)
sys\system\configuration\ClientSettingsStore.cs (35)
346
Debug.Assert(
_originalStream
!= null, "originalStream was null.");
350
get { return
_originalStream
.CanRead; }
354
get { return
_originalStream
.CanWrite; }
358
get { return
_originalStream
.CanSeek; }
362
get { return
_originalStream
.Length; }
367
get { return
_originalStream
.Position; }
379
_originalStream
.Close();
384
if (
_originalStream
!= null) {
385
((IDisposable)
_originalStream
).Dispose();
395
_originalStream
.Flush();
399
long oldLen =
_originalStream
.Length;
403
_originalStream
.SetLength(value);
407
return
_originalStream
.Read(buffer, offset, count);
411
return
_originalStream
.ReadByte();
419
long oldLen =
_originalStream
.Length;
427
newLen =
_originalStream
.Position + offset;
437
return
_originalStream
.Seek(offset, origin);
445
long oldLen =
_originalStream
.Length;
446
long newLen =
_originalStream
.CanSeek ?
_originalStream
.Position + (long)count :
447
_originalStream
.Length + (long)count;
449
_originalStream
.Write(buffer, offset, count);
457
long oldLen =
_originalStream
.Length;
458
long newLen =
_originalStream
.CanSeek ?
_originalStream
.Position + 1 :
_originalStream
.Length + 1;
461
_originalStream
.WriteByte(value);
466
return
_originalStream
.BeginRead(buffer, offset, numBytes, userCallback, stateObject);
470
return
_originalStream
.EndRead(asyncResult);
480
long oldLen =
_originalStream
.Length;
481
long newLen =
_originalStream
.CanSeek ?
_originalStream
.Position + (long)numBytes :
482
_originalStream
.Length + (long)numBytes;
484
return
_originalStream
.BeginWrite(buffer, offset, numBytes, userCallback, stateObject);
488
_originalStream
.EndWrite(asyncResult);