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)
297if (_buffers != null) 302Recycle(ref _buffers[i]); 334char[] buf = _buffers[i].buffer; 338_stringBuilder.Append(_buffers[_buffersCount - 1].buffer, 0, charsLeft); 405if (startIndex < _buffers[i].buffer.Length) 409startIndex -= _buffers[i].buffer.Length; 416char[] buf = _buffers[i].buffer; 434if (_buffers == null) 438_buffers[0].buffer = _lastBuffer; 481Debug.Assert(_buffers != null); 484if (_buffersCount + 1 == _buffers.Length) 486Buffer[] newBuffers = new Buffer[_buffers.Length * 2]; 487Array.Copy(_buffers, 0, newBuffers, 0, _buffers.Length); 493if (_buffers[_buffersCount].recycledBuffer != null) 495newBuffer = (char[])_buffers[_buffersCount].recycledBuffer.Target; 498_buffers[_buffersCount].recycledBuffer.Target = null; 506_buffers[_buffersCount++].buffer = newBuffer; 549if (newLastIndex < _buffers[i].buffer.Length) 553newLastIndex -= _buffers[i].buffer.Length; 557_lastBuffer = _buffers[i].buffer; 563Recycle(ref _buffers[i]);