2 writes to _buffer
PresentationCore (2)
System\Windows\Media\RenderData.cs (2)
463_buffer = ArrayPool<byte>.Shared.Rent(cbRequiredSize); 492_buffer = newBuffer;
27 references to _buffer
PresentationCore (27)
System\Windows\Media\Generated\RenderData.cs (12)
540Debug.Assert((_buffer != null) || (_curOffset == 0)); 543Debug.Assert((_buffer == null) || (_curOffset <= _buffer.Length)); 550fixed (byte* pByte = this._buffer) 1109Debug.Assert((_buffer != null) || (_curOffset == 0)); 1112Debug.Assert((_buffer == null) || (_curOffset <= _buffer.Length)); 1118fixed (byte* pByte = this._buffer) 1449Debug.Assert((_buffer != null) || (_curOffset == 0)); 1452Debug.Assert((_buffer == null) || (_curOffset <= _buffer.Length)); 1458fixed (byte* pByte = this._buffer)
System\Windows\Media\RenderData.cs (15)
92if ((_buffer == null) || (newOffset > _buffer.Length)) 99Debug.Assert((_buffer != null) && (_buffer.Length >= newOffset)); 102Debug.Assert(_buffer.Length > 0); 109Marshal.Copy((IntPtr)(&header), this._buffer, _curOffset, sizeof(RecordHeader)); 110Marshal.Copy((IntPtr)pbRecord, this._buffer, _curOffset + sizeof(RecordHeader), cbRecordSize); 461if (_buffer == null) 468Debug.Assert(_buffer.Length < cbRequiredSize); 474int newSize = Math.Max((_buffer.Length << 1) - (_buffer.Length >> 1), cbRequiredSize); 484fixed (byte* pBuffer = _buffer) 487Buffer.MemoryCopy(pBuffer, pNewBuffer, _buffer.Length, _buffer.Length); 491var oldBuffer = _buffer;