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)
48if (_MemoryStream != null) 103_MemoryStream.Write(buf, 0, buf.Length); 104_MemoryStream.Position = 0; 119return _MemoryStream.Length; 128return _MemoryStream.Position; 133_MemoryStream.Position = value; 140return _MemoryStream.BeginRead(buffer, offset, count, callback, state); 147if (offset + count > _MemoryStream.Length) 148_MemoryStream.SetLength(offset + count); 149return _MemoryStream.BeginWrite(buffer, offset, count, callback, state); 155if (disposing && _MemoryStream != null) { 157_MemoryStream.Close(); 173return _MemoryStream.EndRead(asyncResult); 179_MemoryStream.EndWrite(asyncResult); 190if (_IsDirty && _MemoryStream != null) 208remoteSrv.WriteData(_FileName, _TemplateFileName, _MemoryStream.ToArray(), ref _ReadTime); 238_MemoryStream.Flush(); 248return _MemoryStream.InitializeLifetimeService(); 254return _MemoryStream.Read(buffer, offset, count); 260return _MemoryStream.ReadByte(); 266return _MemoryStream.Seek(offset, origin); 273_MemoryStream.SetLength(val); 280if (offset + count > _MemoryStream.Length) 281_MemoryStream.SetLength(offset + count); 282_MemoryStream.Write(buffer, offset, count); 290_MemoryStream.WriteByte(val);