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)
228return (String)_object; 230return new String((char[])_object, 0, (int)CharsLength); 235System.IO.Stream byteStream = new System.IO.MemoryStream((byte[])_object, false); 259return (SqlDecimal)_object; 307Debug.Assert(value > 0 && value <= ((byte[])_object).Length, "Invalid BytesLength"); 331((StorageType.CharArray == _type && value <= ((char[])_object).Length) || (StorageType.String == _type && value <= ((string)_object).Length)), 364case StorageType.SqlDecimal: return new SmiMetaData(SqlDbType.Decimal, 17, ((SqlDecimal)_object).Precision, ((SqlDecimal)_object).Scale, 0, SqlCompareOptions.None, null); 392Buffer.BlockCopy((byte[])_object, ndataIndex, buffer, bufferOffset, length); 406Array.Copy((char[])_object, ndataIndex, buffer, bufferOffset, length); 408((string)_object).CopyTo(ndataIndex, buffer, bufferOffset, length); 430int cbytes = ((byte[])_object).Length; 434Buffer.BlockCopy((byte[])_object, 0, data, 0, (int)BytesLength); 442Buffer.BlockCopy(buffer, bufferOffset, (byte[])_object, ndataIndex, length); 463_object = ((string)_object).ToCharArray(); 467int cchars = ((char[])_object).Length; 471Array.Copy((char[])_object, 0, data, 0, CharsLength); 478Array.Copy(buffer, bufferOffset, (char[])_object, ndataIndex, length); 492string value = (string)_object;