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