64 references to ValueOffset
System.Data (64)
fx\src\data\System\Data\OleDb\ColumnBinding.cs (63)
233RowBinding.WriteInt64(ValueOffset, 0); // safe because AlignDataSize forces 8 byte blocks 238RowBinding.WriteInt64(ValueOffset, 0); // safe because AlignDataSize forces 8 byte blocks 559Int16 value = RowBinding.ReadInt16(ValueOffset); 566RowBinding.WriteInt16(ValueOffset, (short)(value ? ODB.VARIANT_TRUE : ODB.VARIANT_FALSE)); 578IntPtr ptr = bindings.ReadIntPtr(ValueOffset); 595RowBinding.SetBstrValue(ValueOffset, value); 607IntPtr ptr = bindings.ReadIntPtr(ValueOffset); 636RowBinding.SetByRefValue(ValueOffset, ptr); 648IntPtr ptr = bindings.ReadIntPtr(ValueOffset); 676RowBinding.SetByRefValue(ValueOffset, ptr); 693RowBinding.SetByRefValue(ValueOffset, ptr); 701RowBinding.ReadBytes(ValueOffset, value, 0, byteCount); 711RowBinding.WriteBytes(ValueOffset, value, ValueBindingOffset, bytecount); 718return Decimal.FromOACurrency(RowBinding.ReadInt64(ValueOffset)); 724RowBinding.WriteInt64(ValueOffset, Decimal.ToOACurrency(value)); 730return DateTime.FromOADate(RowBinding.ReadDouble(ValueOffset)); 736RowBinding.WriteDouble(ValueOffset, value.ToOADate()); 742return RowBinding.ReadDate(ValueOffset); 748RowBinding.WriteDate(ValueOffset, value); 754return RowBinding.ReadTime(ValueOffset); 760RowBinding.WriteTime(ValueOffset, value); 766return RowBinding.ReadDateTime(ValueOffset); 772RowBinding.WriteDateTime(ValueOffset, value); 779RowBinding.ReadInt32Array(ValueOffset, buffer, 0, 4); 803RowBinding.WriteInt32Array(ValueOffset, buffer, 0, 4); 809return RowBinding.ReadInt32(ValueOffset); 815RowBinding.WriteInt32(ValueOffset, value); 821Int64 tmp = RowBinding.ReadInt64(ValueOffset); 829RowBinding.WriteInt64(ValueOffset, tmp); 835return RowBinding.ReadGuid(ValueOffset); 842RowBinding.WriteGuid(ValueOffset, value); 849return DataReader().ResetChapter(IndexForAccessor, IndexWithinAccessor, RowBinding, ValueOffset); 855byte value = RowBinding.ReadByte(ValueOffset); 862RowBinding.WriteByte(ValueOffset, unchecked((Byte) value)); 868return RowBinding.ReadInt16(ValueOffset); 874RowBinding.WriteInt16(ValueOffset, value); 880return RowBinding.ReadInt32(ValueOffset); 886RowBinding.WriteInt32(ValueOffset, value); 892return RowBinding.ReadInt64(ValueOffset); 898RowBinding.WriteInt64(ValueOffset, value); 910IntPtr ptr = bindings.ReadIntPtr(ValueOffset); 927RowBinding.WriteIntPtr(ValueOffset, ptr); 939IntPtr ptr = bindings.ReadIntPtr(ValueOffset); 956RowBinding.WriteIntPtr(ValueOffset, ptr); 962return RowBinding.ReadNumeric(ValueOffset); 975RowBinding.WriteNumeric(ValueOffset, value, ColumnBindingPrecision); 982return RowBinding.ReadSingle(ValueOffset); 988RowBinding.WriteSingle(ValueOffset,value); 995return RowBinding.ReadDouble(ValueOffset); 1001RowBinding.WriteDouble(ValueOffset, value); 1007return RowBinding.ReadByte(ValueOffset); 1013RowBinding.WriteByte(ValueOffset, value); 1019return unchecked((UInt16) RowBinding.ReadInt16(ValueOffset)); 1025RowBinding.WriteInt16(ValueOffset, unchecked((Int16) value)); 1031return unchecked((UInt32) RowBinding.ReadInt32(ValueOffset)); 1037RowBinding.WriteInt32(ValueOffset, unchecked((Int32) value)); 1043return unchecked((UInt64) RowBinding.ReadInt64(ValueOffset)); 1049RowBinding.WriteInt64(ValueOffset, unchecked((Int64) value)); 1057return RowBinding.PtrToStringUni(ValueOffset, byteCount / 2); 1069RowBinding.WriteCharArray(ValueOffset, chars, ValueBindingOffset, charCount); 1081RowBinding.WriteCharArray(ValueOffset, value, ValueBindingOffset, charCount); 1087return RowBinding.GetVariantValue(ValueOffset); 1093RowBinding.SetVariantValue(ValueOffset, value);
fx\src\data\System\Data\OleDb\DBBindings.cs (1)
239_dbcolumns[i].pData = rowBinding.DangerousGetDataPtr(columnBindings[i].ValueOffset); // We are simply pointing at a location later in the buffer, so we're OK to not addref the buffer.