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