3 writes to BytesLength
System.Data (3)
fx\src\data\Microsoft\SqlServer\Server\MemoryRecordBuffer.cs (1)
150
_buffer[ordinal].
BytesLength
= length;
fx\src\data\Microsoft\SqlServer\Server\SqlRecordBuffer.cs (2)
424
BytesLength
= length;
438
BytesLength
= ndataIndex + length;
5 references to BytesLength
System.Data (5)
fx\src\data\Microsoft\SqlServer\Server\MemoryRecordBuffer.cs (1)
57
return _buffer[ordinal].
BytesLength
;
fx\src\data\Microsoft\SqlServer\Server\SqlRecordBuffer.cs (4)
390
Debug.Assert(ndataIndex + length <=
BytesLength
, "Invalid fieldOffset or length");
426
if (ndataIndex >
BytesLength
) { // no gap is allowed
429
if (ndataIndex + length >
BytesLength
) { // beyond the current length
434
Buffer.BlockCopy((byte[])_object, 0, data, 0, (int)
BytesLength
);