9 writes to position
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (9)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SerializableBytes.cs (9)
104
this.
position
= 0;
133
this.
position
= value;
160
position
= target;
170
this.
position
++;
182
this.
position
+= totalCopyCount;
304
this.
position
= value;
351
position
= value;
364
this.
position
++;
386
this.
position
+= writeCount;
14 references to position
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (14)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SerializableBytes.cs (14)
124
get => this.
position
;
145
SeekOrigin.Current => checked(offset +
position
),
166
if (
position
>= length)
176
if (count <= 0 ||
position
>= length)
181
var totalCopyCount = Read(this.chunks, this.
position
, this.length, buffer, index, count);
244
protected int CurrentChunkIndex { get { return GetChunkIndex(this.
position
); } }
245
protected int CurrentChunkOffset { get { return GetChunkOffset(this.
position
); } }
349
if (
position
> value)
357
EnsureCapacity(this.
position
+ 1);
365
if (this.
position
>= length)
367
this.length = this.
position
;
373
EnsureCapacity(this.
position
+ count);
392
if (this.
position
>= length)
394
this.length = this.
position
;