5 writes to _position
Microsoft.Build (5)
Logging\BinaryLogger\Postprocessing\SubStream.cs (5)
51
_position
+= read;
62
_position
++;
80
_position
+= read;
89
_position
+= read;
97
_position
+= read;
7 references to _position
Microsoft.Build (7)
Logging\BinaryLogger\Postprocessing\SubStream.cs (7)
33
public bool IsAtEnd =>
_position
>= _length;
43
public override long Position { get =>
_position
; set => throw new NotImplementedException(); }
49
count = Math.Min((int)Math.Max(Length -
_position
, 0), count);
57
if (Length -
_position
> 0)
72
count = Math.Min((int)Math.Max(Length -
_position
, 0), count);
87
buffer = buffer.Slice(0, Math.Min((int)Math.Max(Length -
_position
, 0), buffer.Length));
95
buffer = buffer.Slice(0, Math.Min((int)Math.Max(Length -
_position
, 0), buffer.Length));