2 writes to buffer
System.ServiceModel (2)
System\ServiceModel\Dispatcher\QueryStack.cs (2)
169
this.
buffer
= new QueryBuffer<Value>(frameCapacity + stackCapacity);
259
this.buffer.CopyFrom(ref stack.
buffer
);
44 references to buffer
System.ServiceModel (44)
System\ServiceModel\Dispatcher\QueryStack.cs (44)
171
this.
buffer
.Reserve(stackCapacity);
173
this.
buffer
.Reserve(frameCapacity);
190
return this.
buffer
.buffer;
214
return this.
buffer
.buffer[this.frames.stackPtr - frameIndex].Frame;
259
this.
buffer
.CopyFrom(ref stack.buffer);
277
Fx.Assert(this.
buffer
[i].IsType(ValueDataType.Sequence), "");
278
count += this.
buffer
[i].NodeCount;
292
this.
buffer
.ReserveAt(this.frames.bounds.end + 1, growBy);
304
this.
buffer
.ReserveAt(this.stack.bounds.end + 1, growBy);
344
return this.
buffer
.buffer[index].GetBoolean();
350
return this.
buffer
.buffer[index].GetDouble();
362
return this.
buffer
.buffer[index].GetSequence();
368
return this.
buffer
.buffer[index].GetString();
392
this.
buffer
.buffer[i].Clear(context);
411
this.
buffer
.buffer[this.frames.stackPtr].StartFrame(this.stack.stackPtr);
423
dest.Push(this.
buffer
.buffer, topFrame.basePtr, argCount);
430
dest.Push(this.
buffer
.buffer[topFrame.basePtr].Sequence);
468
this.
buffer
.buffer[this.stack.stackPtr].String = val;
469
this.
buffer
.buffer[this.frames.stackPtr].FrameEndPtr = this.stack.stackPtr;
484
this.
buffer
.buffer[++stackPtr].String = val;
487
this.
buffer
.buffer[this.frames.stackPtr].FrameEndPtr = this.stack.stackPtr;
498
this.
buffer
.buffer[this.stack.stackPtr].Boolean = val;
499
this.
buffer
.buffer[this.frames.stackPtr].FrameEndPtr = this.stack.stackPtr;
516
this.
buffer
.buffer[++stackPtr].Boolean = val;
519
this.
buffer
.buffer[this.frames.stackPtr].FrameEndPtr = this.stack.stackPtr;
530
this.
buffer
.buffer[this.stack.stackPtr].Double = val;
531
this.
buffer
.buffer[this.frames.stackPtr].FrameEndPtr = this.stack.stackPtr;
548
this.
buffer
.buffer[++stackPtr].Double = val;
551
this.
buffer
.buffer[this.frames.stackPtr].FrameEndPtr = this.stack.stackPtr;
562
this.
buffer
.buffer[this.stack.stackPtr].Sequence = val;
563
this.
buffer
.buffer[this.frames.stackPtr].FrameEndPtr = this.stack.stackPtr;
583
this.
buffer
.buffer[++stackPtr].Sequence = val;
586
this.
buffer
.buffer[this.frames.stackPtr].FrameEndPtr = this.stack.stackPtr;
602
this.
buffer
.buffer[stackPtr] = buffer[startAt];
606
Array.Copy(buffer, startAt, this.
buffer
.buffer, stackPtr, addCount);
608
this.
buffer
.buffer[this.frames.stackPtr].FrameEndPtr = this.stack.stackPtr;
619
Fx.Assert(this.stack.IsValidStackPtr(index) && this.
buffer
.buffer[index].IsType(ValueDataType.Sequence), "");
620
this.
buffer
.buffer[index].Sequence = seq;
626
this.
buffer
.buffer[index].Update(context, val);
632
this.
buffer
.buffer[index].Update(context, val);
638
this.
buffer
.buffer[index].Update(context, val);
644
this.
buffer
.buffer[index].Update(context, val);
654
NodeSequence seq = this.
buffer
.buffer[i].Sequence;
676
NodeSequence seq = this.
buffer
.buffer[i].Sequence;