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