5 writes to _position
Microsoft.Build (5)
Logging\BinaryLogger\Postprocessing\TransparentReadStream.cs (5)
93_position += cnt; 104_position++; 122_position += cnt; 135_position += cnt; 147_position += cnt;
14 references to _position
Microsoft.Build (14)
Logging\BinaryLogger\Postprocessing\TransparentReadStream.cs (14)
58set { _maxAllowedPosition = value.HasValue ? _position + value.Value : long.MaxValue; } 63_maxAllowedPosition == long.MaxValue ? 0 : (int)(_maxAllowedPosition - _position); 71get => _position; 72set => this.SkipBytes(value - _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)); 161return _position;