11 references to BufferSize
PresentationFramework (11)
System\Windows\Markup\XamlStream.cs (11)
92
int availableBytesInBuffer =
BufferSize
- bufferOffset;
114
Debug.Assert(bufferOffset <
BufferSize
,"Trying to Read past bufer");
225
Debug.Assert(bufferOffset <
BufferSize
,"Calculated bufferOffset is greater than buffer");
228
int availableBytesInBuffer =
BufferSize
- bufferOffset;
250
Debug.Assert(bufferOffset <
BufferSize
,"Trying ot read past buffer");
367
bufferIndex = (int) ((position - firstBufferPosition)/
BufferSize
);
371
(int) ((position - firstBufferPosition) - (bufferIndex*
BufferSize
));
373
Debug.Assert(bufferOffset <
BufferSize
,"Calculated bufferOffset is greater than buffer");
381
buffer = new byte[
BufferSize
];
408
int bufferIndex = (int) ((position - firstBufferPosition)/
BufferSize
);
422
firstBufferPosition += numBuffersToRemove*
BufferSize
;