4 writes to position
System.ServiceModel (4)
System\ServiceModel\Channels\BufferedOutputAsyncStream.cs (4)
712this.position = 0; 808this.position += count; 816this.bytes[this.position++] = value; 837this.position = 0;
9 references to position
System.ServiceModel (9)
System\ServiceModel\Channels\BufferedOutputAsyncStream.cs (9)
732return this.bytes.Length - this.position; 804Fx.Assert(this.position + count <= this.bytes.Length, string.Format(CultureInfo.InvariantCulture, "Chunk is too big to fit in this buffer. Chunk size={0}, free space={1}", count, this.bytes.Length - this.position)); 805Fx.Assert(!this.writePending, string.Format(CultureInfo.InvariantCulture, "The buffer is in use, position={0}", this.position)); 807Buffer.BlockCopy(buffer, offset, this.bytes, this.position, count); 813Fx.Assert(this.position < this.bytes.Length, "Buffer is full"); 814Fx.Assert(!this.writePending, string.Format(CultureInfo.InvariantCulture, "The buffer is in use, position={0}", this.position)); 825if (this.position <= 0) 835int bytesToWrite = this.position;