2 writes to _buffer
PresentationCore (2)
Core\CSharp\System\Windows\Media\RenderData.cs (2)
480_buffer = new byte[cbRequiredSize]; 501_buffer = _newBuffer;
24 references to _buffer
PresentationCore (24)
Core\CSharp\System\Windows\Media\Generated\RenderData.cs (12)
562Debug.Assert((_buffer != null) || (_curOffset == 0)); 565Debug.Assert((_buffer == null) || (_curOffset <= _buffer.Length)); 572fixed (byte* pByte = this._buffer) 1137Debug.Assert((_buffer != null) || (_curOffset == 0)); 1140Debug.Assert((_buffer == null) || (_curOffset <= _buffer.Length)); 1146fixed (byte* pByte = this._buffer) 1483Debug.Assert((_buffer != null) || (_curOffset == 0)); 1486Debug.Assert((_buffer == null) || (_curOffset <= _buffer.Length)); 1492fixed (byte* pByte = this._buffer)
Core\CSharp\System\Windows\Media\RenderData.cs (12)
108if ((_buffer == null) || (newOffset > _buffer.Length)) 115Debug.Assert((_buffer != null) && (_buffer.Length >= newOffset)); 118Debug.Assert(_buffer.Length > 0); 125Marshal.Copy((IntPtr)(&header), this._buffer, _curOffset, sizeof(RecordHeader)); 126Marshal.Copy((IntPtr)pbRecord, this._buffer, _curOffset + sizeof(RecordHeader), cbRecordSize); 478if (_buffer == null) 485Debug.Assert(_buffer.Length < cbRequiredSize); 491int newSize = Math.Max((_buffer.Length << 1) - (_buffer.Length >> 1), cbRequiredSize); 499_buffer.CopyTo(_newBuffer, 0);