1 write to _maxAllowedPosition
Microsoft.Build (1)
Logging\BinaryLogger\Postprocessing\TransparentReadStream.cs (1)
58
set {
_maxAllowedPosition
= value.HasValue ? _position + value.Value : long.MaxValue; }
11 references to _maxAllowedPosition
Microsoft.Build (11)
Logging\BinaryLogger\Postprocessing\TransparentReadStream.cs (11)
63
_maxAllowedPosition
== long.MaxValue ? 0 : (int)(
_maxAllowedPosition
- _position);
87
if (_position + count >
_maxAllowedPosition
)
89
count = (int)(
_maxAllowedPosition
- _position);
99
if (_position + 1 <=
_maxAllowedPosition
)
114
if (_position + count >
_maxAllowedPosition
)
116
count = (int)(
_maxAllowedPosition
- _position);
129
if (_position + buffer.Length >
_maxAllowedPosition
)
131
buffer = buffer.Slice(0, (int)(
_maxAllowedPosition
- _position));
141
if (_position + buffer.Length >
_maxAllowedPosition
)
143
buffer = buffer.Slice(0, (int)(
_maxAllowedPosition
- _position));