1 write to _stream
System.ComponentModel.TypeConverter (1)
System\ComponentModel\Design\DesigntimeLicenseContextSerializer.cs (1)
72_stream = stream;
15 references to _stream
System.ComponentModel.TypeConverter (15)
System\ComponentModel\Design\DesigntimeLicenseContextSerializer.cs (15)
77public override bool CanRead => _stream.CanRead; 79public override bool CanSeek => _stream.CanSeek; 81public override bool CanWrite => _stream.CanWrite; 83public override long Length => _stream.Length; 85public override long Position { get => _stream.Position; set => _stream.Position = value; } 87public override void Flush() => _stream.Flush(); 94Debug.Assert(_stream.Position != 0, "Expected the first byte to be read first"); 95if (_stream.Position == 1) 100return _stream.Read(buffer.Slice(1)) + 1; 102return _stream.Read(buffer); 105public override long Seek(long offset, SeekOrigin origin) => _stream.Seek(offset, origin); 107public override void SetLength(long value) => _stream.SetLength(value); 109public override void Write(byte[] buffer, int offset, int count) => _stream.Write(buffer, offset, count); 113byte read = (byte)_stream.ReadByte();