11 references to BufferSize
PresentationFramework (11)
src\Framework\System\Windows\Markup\XamlStream.cs (11)
120
int availableBytesInBuffer =
BufferSize
- bufferOffset;
142
Debug.Assert(bufferOffset <
BufferSize
,"Trying to Read past bufer");
263
Debug.Assert(bufferOffset <
BufferSize
,"Calculated bufferOffset is greater than buffer");
266
int availableBytesInBuffer =
BufferSize
- bufferOffset;
288
Debug.Assert(bufferOffset <
BufferSize
,"Trying ot read past buffer");
407
bufferIndex = (int) ((position - firstBufferPosition)/
BufferSize
);
411
(int) ((position - firstBufferPosition) - (bufferIndex*
BufferSize
));
413
Debug.Assert(bufferOffset <
BufferSize
,"Calculated bufferOffset is greater than buffer");
421
buffer = new byte[
BufferSize
];
449
int bufferIndex = (int) ((position - firstBufferPosition)/
BufferSize
);
463
firstBufferPosition += numBuffersToRemove*
BufferSize
;