7 writes to buffer
System.ServiceModel (7)
System\ServiceModel\Dispatcher\QueryUtil.cs (7)
121this.buffer = QueryBuffer<T>.EmptyBuffer; 125this.buffer = new T[capacity]; 230Array.Resize<T>(ref this.buffer, this.count > 0 ? this.count * 2 : 16); 325this.buffer = new T[addCount]; 339this.buffer = new T[1]; 374Array.Resize<T>(ref this.buffer, capacity > newCapacity ? capacity : newCapacity); 525this.buffer = QueryBuffer<T>.EmptyBuffer;
65 references to buffer
System.ServiceModel (65)
System\ServiceModel\Dispatcher\QueryStack.cs (37)
190return this.buffer.buffer; 214return this.buffer.buffer[this.frames.stackPtr - frameIndex].Frame; 344return this.buffer.buffer[index].GetBoolean(); 350return this.buffer.buffer[index].GetDouble(); 362return this.buffer.buffer[index].GetSequence(); 368return this.buffer.buffer[index].GetString(); 392this.buffer.buffer[i].Clear(context); 411this.buffer.buffer[this.frames.stackPtr].StartFrame(this.stack.stackPtr); 423dest.Push(this.buffer.buffer, topFrame.basePtr, argCount); 430dest.Push(this.buffer.buffer[topFrame.basePtr].Sequence); 468this.buffer.buffer[this.stack.stackPtr].String = val; 469this.buffer.buffer[this.frames.stackPtr].FrameEndPtr = this.stack.stackPtr; 484this.buffer.buffer[++stackPtr].String = val; 487this.buffer.buffer[this.frames.stackPtr].FrameEndPtr = this.stack.stackPtr; 498this.buffer.buffer[this.stack.stackPtr].Boolean = val; 499this.buffer.buffer[this.frames.stackPtr].FrameEndPtr = this.stack.stackPtr; 516this.buffer.buffer[++stackPtr].Boolean = val; 519this.buffer.buffer[this.frames.stackPtr].FrameEndPtr = this.stack.stackPtr; 530this.buffer.buffer[this.stack.stackPtr].Double = val; 531this.buffer.buffer[this.frames.stackPtr].FrameEndPtr = this.stack.stackPtr; 548this.buffer.buffer[++stackPtr].Double = val; 551this.buffer.buffer[this.frames.stackPtr].FrameEndPtr = this.stack.stackPtr; 562this.buffer.buffer[this.stack.stackPtr].Sequence = val; 563this.buffer.buffer[this.frames.stackPtr].FrameEndPtr = this.stack.stackPtr; 583this.buffer.buffer[++stackPtr].Sequence = val; 586this.buffer.buffer[this.frames.stackPtr].FrameEndPtr = this.stack.stackPtr; 602this.buffer.buffer[stackPtr] = buffer[startAt]; 606Array.Copy(buffer, startAt, this.buffer.buffer, stackPtr, addCount); 608this.buffer.buffer[this.frames.stackPtr].FrameEndPtr = this.stack.stackPtr; 619Fx.Assert(this.stack.IsValidStackPtr(index) && this.buffer.buffer[index].IsType(ValueDataType.Sequence), ""); 620this.buffer.buffer[index].Sequence = seq; 626this.buffer.buffer[index].Update(context, val); 632this.buffer.buffer[index].Update(context, val); 638this.buffer.buffer[index].Update(context, val); 644this.buffer.buffer[index].Update(context, val); 654NodeSequence seq = this.buffer.buffer[i].Sequence; 676NodeSequence seq = this.buffer.buffer[i].Sequence;
System\ServiceModel\Dispatcher\QueryUtil.cs (28)
204return this.buffer[index]; 208this.buffer[index] = value; 228if (this.count == this.buffer.Length) 232this.buffer[this.count++] = t; 257this.Add(addBuffer.buffer[0]); 262if (newCount >= this.buffer.Length) 267Array.Copy(addBuffer.buffer, 0, this.buffer, this.count, addBuffer.count); 323if (addCount > this.buffer.Length) 328Array.Copy(addBuffer.buffer, 0, this.buffer, 0, addCount); 337if (this.buffer.Length == 0) 341this.buffer[0] = addBuffer.buffer[0]; 349Array.Copy(this.buffer, dest, this.count); 373int newCapacity = this.buffer.Length * 2; 381if (t.Equals(this.buffer[i])) 393if (t.Equals(this.buffer[i])) 430if (newCount >= this.buffer.Length) 451if (newCount >= this.buffer.Length) 461if (newCount >= this.buffer.Length) 466Array.Copy(this.buffer, index, this.buffer, index + reserveCount, this.count - index); 484Array.Copy(this.buffer, index + 1, this.buffer, index, this.count - index - 1); 491Array.Sort<T>(this.buffer, 0, this.count, comparer); 521if (this.count < this.buffer.Length) 530Array.Copy(this.buffer, newBuffer, this.count);