10 writes to _object
System.Data (10)
fx\src\data\Microsoft\SqlServer\Server\SqlRecordBuffer.cs (10)
242
_object
= value;
264
_object
= value;
301
_object
= new byte[0];
324
_object
= new char[0];
421
_object
= new byte[length];
435
_object
= data;
454
_object
= new char[length];
463
_object
= ((string)_object).ToCharArray();
472
_object
= data;
498
_object
= bytes;
20 references to _object
System.Data (20)
fx\src\data\Microsoft\SqlServer\Server\SqlRecordBuffer.cs (20)
228
return (String)
_object
;
230
return new String((char[])
_object
, 0, (int)CharsLength);
235
System.IO.Stream byteStream = new System.IO.MemoryStream((byte[])
_object
, false);
259
return (SqlDecimal)
_object
;
307
Debug.Assert(value > 0 && value <= ((byte[])
_object
).Length, "Invalid BytesLength");
331
((StorageType.CharArray == _type && value <= ((char[])
_object
).Length) || (StorageType.String == _type && value <= ((string)
_object
).Length)),
364
case StorageType.SqlDecimal: return new SmiMetaData(SqlDbType.Decimal, 17, ((SqlDecimal)
_object
).Precision, ((SqlDecimal)
_object
).Scale, 0, SqlCompareOptions.None, null);
392
Buffer.BlockCopy((byte[])
_object
, ndataIndex, buffer, bufferOffset, length);
406
Array.Copy((char[])
_object
, ndataIndex, buffer, bufferOffset, length);
408
((string)
_object
).CopyTo(ndataIndex, buffer, bufferOffset, length);
430
int cbytes = ((byte[])
_object
).Length;
434
Buffer.BlockCopy((byte[])
_object
, 0, data, 0, (int)BytesLength);
442
Buffer.BlockCopy(buffer, bufferOffset, (byte[])
_object
, ndataIndex, length);
463
_object = ((string)
_object
).ToCharArray();
467
int cchars = ((char[])
_object
).Length;
471
Array.Copy((char[])
_object
, 0, data, 0, CharsLength);
478
Array.Copy(buffer, bufferOffset, (char[])
_object
, ndataIndex, length);
492
string value = (string)
_object
;