2 writes to _stream
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\Json\JsonEncodingStreamWrapper.cs (2)
433_stream = new BufferedStream(inputStream); 465_stream = new BufferedStream(outputStream);
22 references to _stream
System.Private.DataContractSerialization (22)
System\Runtime\Serialization\Json\JsonEncodingStreamWrapper.cs (22)
65return _stream.CanRead; 78get { return _stream.CanTimeout; } 91return _stream.CanWrite; 97get { return _stream.Length; } 114get { return _stream.ReadTimeout; } 115set { _stream.ReadTimeout = value; } 120get { return _stream.WriteTimeout; } 121set { _stream.WriteTimeout = value; } 162_stream.Dispose(); 168_stream.Flush(); 182return _stream.Read(buffer); 189_byteCount = _stream.Read(_bytes, _byteCount, (_chars.Length - 1) * 2); 227return _stream.ReadByte(); 257_stream.Write(buffer); 269_stream.Write(_bytes, 0, _byteCount); 278_stream.WriteByte(b); 363int b = _stream.ReadByte(); 385int b1 = _stream.ReadByte(); 386int b2 = _stream.ReadByte(); 425_byteCount += _stream.ReadAtLeast(_bytes.AsSpan(_byteOffset + _byteCount, count), count, throwOnEndOfStream: false); 480int b1 = _stream.ReadByte(); 481int b2 = _stream.ReadByte();