fx\src\data\System\Data\OleDb\OLEDB_Enum.cs (4)
160static private readonly NativeDBType D_BSTR = new NativeDBType(0xff, ADP.PtrSize, false, false, OleDbType.BSTR, NativeDBType.BSTR, S_BSTR, typeof(System.String), NativeDBType.BSTR, DbType.String ); // 2 - integer4 (pointer)
175static private readonly NativeDBType D_IDispatch = new NativeDBType(0xff, ADP.PtrSize, true, false, OleDbType.IDispatch, NativeDBType.IDISPATCH, S_IDISPATCH, typeof(System.Object), NativeDBType.IDISPATCH, DbType.Object ); // 17 - integer4 (pointer)
176static private readonly NativeDBType D_IUnknown = new NativeDBType(0xff, ADP.PtrSize, true, false, OleDbType.IUnknown, NativeDBType.IUNKNOWN, S_IUNKNOWN, typeof(System.Object), NativeDBType.IUNKNOWN, DbType.Object ); // 18 - integer4 (pointer) // MDAC 64040
195static private readonly NativeDBType D_Chapter = new NativeDBType(0xff, ADP.PtrSize, false, false, OleDbType.Empty, NativeDBType.HCHAPTER, S_UDT, typeof(IDataReader), NativeDBType.HCHAPTER, DbType.Object ); // 36 - (hierarchical chaper)
fx\src\data\System\Data\OleDb\RowBinding.cs (9)
227Debug.Assert(0 == offset%ADP.PtrSize, "invalid alignment");
242Marshal.WriteIntPtr(base.handle, offset + ADP.PtrSize, ptr);
258Debug.Assert(0 == offset%ADP.PtrSize, "invalid alignment");
272Marshal.WriteIntPtr(base.handle, offset + ADP.PtrSize, pinnedValue); // original parameter value
448IntPtr originalValue = Marshal.ReadIntPtr(buffer, valueOffset + ADP.PtrSize);
459Marshal.WriteIntPtr(buffer, valueOffset + ADP.PtrSize, ADP.PtrZero);
472IntPtr originalValue = Marshal.ReadIntPtr(buffer, valueOffset + ADP.PtrSize);
481Marshal.WriteIntPtr(buffer, valueOffset + ADP.PtrSize, ADP.PtrZero);
541Debug.Assert(0 == offset%ADP.PtrSize, "invalid alignment");
fx\src\data\System\Data\ProviderBase\DbBuffer.cs (12)
68Debug.Assert(0 == offset%ADP.PtrSize, "invalid alignment");
93Debug.Assert(0 == offset%ADP.PtrSize, "invalid alignment");
142Debug.Assert(0 == offset%ADP.PtrSize, "invalid alignment");
170Debug.Assert(0 == offset%ADP.PtrSize, "invalid alignment");
220Debug.Assert(0 == offset%ADP.PtrSize, "invalid alignment");
264Debug.Assert(0 == offset%ADP.PtrSize, "invalid alignment");
308Debug.Assert(0 == offset%ADP.PtrSize, "invalid alignment");
346Debug.Assert(0 == offset%ADP.PtrSize, "invalid alignment");
386Debug.Assert(0 == offset%ADP.PtrSize, "invalid alignment");
408Debug.Assert(0 == offset%ADP.PtrSize, "invalid alignment");
454Debug.Assert(0 == offset%ADP.PtrSize, "invalid alignment");
496Debug.Assert(0 == offset%ADP.PtrSize, "invalid alignment");