2 writes to _MemoryStream
System.Web (2)
Configuration\RemoteWebConfigurationHostStream.cs (2)
98
_MemoryStream
= new MemoryStream();
102
_MemoryStream
= new MemoryStream(buf.Length);
26 references to _MemoryStream
System.Web (26)
Configuration\RemoteWebConfigurationHostStream.cs (26)
48
if (
_MemoryStream
!= null)
103
_MemoryStream
.Write(buf, 0, buf.Length);
104
_MemoryStream
.Position = 0;
119
return
_MemoryStream
.Length;
128
return
_MemoryStream
.Position;
133
_MemoryStream
.Position = value;
140
return
_MemoryStream
.BeginRead(buffer, offset, count, callback, state);
147
if (offset + count >
_MemoryStream
.Length)
148
_MemoryStream
.SetLength(offset + count);
149
return
_MemoryStream
.BeginWrite(buffer, offset, count, callback, state);
155
if (disposing &&
_MemoryStream
!= null) {
157
_MemoryStream
.Close();
173
return
_MemoryStream
.EndRead(asyncResult);
179
_MemoryStream
.EndWrite(asyncResult);
190
if (_IsDirty &&
_MemoryStream
!= null)
208
remoteSrv.WriteData(_FileName, _TemplateFileName,
_MemoryStream
.ToArray(), ref _ReadTime);
238
_MemoryStream
.Flush();
248
return
_MemoryStream
.InitializeLifetimeService();
254
return
_MemoryStream
.Read(buffer, offset, count);
260
return
_MemoryStream
.ReadByte();
266
return
_MemoryStream
.Seek(offset, origin);
273
_MemoryStream
.SetLength(val);
280
if (offset + count >
_MemoryStream
.Length)
281
_MemoryStream
.SetLength(offset + count);
282
_MemoryStream
.Write(buffer, offset, count);
290
_MemoryStream
.WriteByte(val);