1 write to _backingStream
Microsoft.CodeAnalysis.Test.Utilities (1)
Mocks\TestStream.cs (1)
40_backingStream = backingStream;
15 references to _backingStream
Microsoft.CodeAnalysis.Test.Utilities (15)
Mocks\TestStream.cs (15)
44public override bool CanRead => _canRead ?? _backingStream?.CanRead ?? false; 46public override bool CanSeek => _canSeek ?? _backingStream?.CanSeek ?? false; 48public override bool CanWrite => _canWrite ?? _backingStream?.CanWrite ?? false; 50public override long Length => _length ?? _backingStream?.Length ?? 0; 62if (_backingStream != null) 64return _backingStream.Position; 79else if (_backingStream != null) 81_backingStream.Position = value; 92if (_backingStream == null) 96_backingStream.Flush(); 105else if (_backingStream != null) 107return _backingStream.Read(buffer, offset, count); 127if (_backingStream == null) 131_backingStream.SetLength(value); 150_backingStream?.Dispose();