1 write to _maxAllowedPosition
Microsoft.Build (1)
Logging\BinaryLogger\Postprocessing\TransparentReadStream.cs (1)
58set { _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); 87if (_position + count > _maxAllowedPosition) 89count = (int)(_maxAllowedPosition - _position); 99if (_position + 1 <= _maxAllowedPosition) 114if (_position + count > _maxAllowedPosition) 116count = (int)(_maxAllowedPosition - _position); 129if (_position + buffer.Length > _maxAllowedPosition) 131buffer = buffer.Slice(0, (int)(_maxAllowedPosition - _position)); 141if (_position + buffer.Length > _maxAllowedPosition) 143buffer = buffer.Slice(0, (int)(_maxAllowedPosition - _position));