2 writes to stack
System.ServiceModel (2)
System\ServiceModel\Dispatcher\QueryStack.cs (2)
170
this.
stack
= new StackRegion(new QueryRange(0, stackCapacity - 1));
261
this.
stack
= stack.stack;
58 references to stack
System.ServiceModel (58)
System\ServiceModel\Dispatcher\QueryStack.cs (58)
252
this.
stack
.Clear();
261
this.stack = stack.
stack
;
267
if (this.
stack
.stackPtr < 0)
298
int growBy = this.
stack
.bounds.Count;
304
this.buffer.ReserveAt(this.
stack
.bounds.end + 1, growBy);
305
this.
stack
.Grow(growBy);
343
Fx.Assert(this.
stack
.IsValidStackPtr(index), "");
349
Fx.Assert(this.
stack
.IsValidStackPtr(index), "");
361
Fx.Assert(this.
stack
.IsValidStackPtr(index), "");
367
Fx.Assert(this.
stack
.IsValidStackPtr(index), "");
395
this.
stack
.stackPtr = topArg.basePtr - 1;
411
this.buffer.buffer[this.frames.stackPtr].StartFrame(this.
stack
.stackPtr);
435
this.
stack
.stackPtr = topFrame.basePtr - 1;
462
this.
stack
.stackPtr++;
463
if (this.
stack
.NeedsGrowth)
468
this.buffer.buffer[this.
stack
.stackPtr].String = val;
469
this.buffer.buffer[this.frames.stackPtr].FrameEndPtr = this.
stack
.stackPtr;
474
int stackPtr = this.
stack
.stackPtr;
475
this.
stack
.stackPtr += addCount;
476
if (this.
stack
.NeedsGrowth)
487
this.buffer.buffer[this.frames.stackPtr].FrameEndPtr = this.
stack
.stackPtr;
492
this.
stack
.stackPtr++;
493
if (this.
stack
.NeedsGrowth)
498
this.buffer.buffer[this.
stack
.stackPtr].Boolean = val;
499
this.buffer.buffer[this.frames.stackPtr].FrameEndPtr = this.
stack
.stackPtr;
504
int stackPtr = this.
stack
.stackPtr;
506
this.
stack
.stackPtr += addCount;
507
if (this.
stack
.NeedsGrowth)
519
this.buffer.buffer[this.frames.stackPtr].FrameEndPtr = this.
stack
.stackPtr;
524
this.
stack
.stackPtr++;
525
if (this.
stack
.NeedsGrowth)
530
this.buffer.buffer[this.
stack
.stackPtr].Double = val;
531
this.buffer.buffer[this.frames.stackPtr].FrameEndPtr = this.
stack
.stackPtr;
536
int stackPtr = this.
stack
.stackPtr;
538
this.
stack
.stackPtr += addCount;
539
if (this.
stack
.NeedsGrowth)
551
this.buffer.buffer[this.frames.stackPtr].FrameEndPtr = this.
stack
.stackPtr;
556
this.
stack
.stackPtr++;
557
if (this.
stack
.NeedsGrowth)
562
this.buffer.buffer[this.
stack
.stackPtr].Sequence = val;
563
this.buffer.buffer[this.frames.stackPtr].FrameEndPtr = this.
stack
.stackPtr;
571
int stackPtr = this.
stack
.stackPtr;
573
this.
stack
.stackPtr += addCount;
574
if (this.
stack
.NeedsGrowth)
586
this.buffer.buffer[this.frames.stackPtr].FrameEndPtr = this.
stack
.stackPtr;
593
int stackPtr = this.
stack
.stackPtr + 1;
594
this.
stack
.stackPtr += addCount;
595
if (this.
stack
.NeedsGrowth)
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), "");
625
Fx.Assert(this.
stack
.IsValidStackPtr(index), "");
631
Fx.Assert(this.
stack
.IsValidStackPtr(index), "");
637
Fx.Assert(this.
stack
.IsValidStackPtr(index), "");
643
Fx.Assert(this.
stack
.IsValidStackPtr(index), "");
657
if ((this.
stack
.stackPtr + nodeCount) > this.
stack
.bounds.end)
679
if ((this.
stack
.stackPtr + nodeCount) > this.
stack
.bounds.end)