2 writes to _buffers
dotnet-svcutil-lib (2)
FrameworkFork\Microsoft.Xml\Xml\BufferBuilder.cs (2)
437
_buffers
= new Buffer[InitialBufferArrayLength];
488
_buffers
= newBuffers;
22 references to _buffers
dotnet-svcutil-lib (22)
FrameworkFork\Microsoft.Xml\Xml\BufferBuilder.cs (22)
297
if (
_buffers
!= null)
302
Recycle(ref
_buffers
[i]);
334
char[] buf =
_buffers
[i].buffer;
338
_stringBuilder.Append(
_buffers
[_buffersCount - 1].buffer, 0, charsLeft);
405
if (startIndex <
_buffers
[i].buffer.Length)
409
startIndex -=
_buffers
[i].buffer.Length;
416
char[] buf =
_buffers
[i].buffer;
434
if (
_buffers
== null)
438
_buffers
[0].buffer = _lastBuffer;
481
Debug.Assert(
_buffers
!= null);
484
if (_buffersCount + 1 ==
_buffers
.Length)
486
Buffer[] newBuffers = new Buffer[
_buffers
.Length * 2];
487
Array.Copy(
_buffers
, 0, newBuffers, 0,
_buffers
.Length);
493
if (
_buffers
[_buffersCount].recycledBuffer != null)
495
newBuffer = (char[])
_buffers
[_buffersCount].recycledBuffer.Target;
498
_buffers
[_buffersCount].recycledBuffer.Target = null;
506
_buffers
[_buffersCount++].buffer = newBuffer;
549
if (newLastIndex <
_buffers
[i].buffer.Length)
553
newLastIndex -=
_buffers
[i].buffer.Length;
557
_lastBuffer =
_buffers
[i].buffer;
563
Recycle(ref
_buffers
[i]);