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)
58
set { _maxAllowedPosition = value.HasValue ?
_position
+ value.Value : long.MaxValue; }
63
_maxAllowedPosition == long.MaxValue ? 0 : (int)(_maxAllowedPosition -
_position
);
71
get =>
_position
;
72
set => this.SkipBytes(value -
_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
));
161
return
_position
;