1 write to _canRead
System.Drawing.Common.Tests (1)
System\Drawing\BitmapTests.cs (1)
1700
_canRead
= canRead;
2 references to _canRead
System.Drawing.Common.Tests (2)
System\Drawing\BitmapTests.cs (2)
1704
public override bool CanRead =>
_canRead
&& _stream.CanRead;
1715
public override int Read(byte[] buffer, int offset, int count) =>
_canRead
? _stream.Read(buffer, offset, count) : throw new NotSupportedException();