22 references to _byref
mscorlib (22)
system\Runtime\InteropServices\Variant.cs (22)
150
*(IntPtr*)this._typeUnion._unionTypes.
_byref
= IntPtr.Zero;
160
*(IntPtr*)this._typeUnion._unionTypes.
_byref
= vArray._typeUnion._unionTypes.
_byref
;
166
*(sbyte*)this._typeUnion._unionTypes.
_byref
= (sbyte)value;
170
*(byte*)this._typeUnion._unionTypes.
_byref
= (byte)value;
174
*(short*)this._typeUnion._unionTypes.
_byref
= (short)value;
178
*(ushort*)this._typeUnion._unionTypes.
_byref
= (ushort)value;
182
*(short*)this._typeUnion._unionTypes.
_byref
= (bool)value ? (short)-1 : (short)0;
187
*(int*)this._typeUnion._unionTypes.
_byref
= (int)value;
192
*(uint*)this._typeUnion._unionTypes.
_byref
= (uint)value;
196
*(int*)this._typeUnion._unionTypes.
_byref
= ((ErrorWrapper)value).ErrorCode;
200
*(Int64*)this._typeUnion._unionTypes.
_byref
= (Int64)value;
204
*(UInt64*)this._typeUnion._unionTypes.
_byref
= (UInt64)value;
208
*(float*)this._typeUnion._unionTypes.
_byref
= (float)value;
212
*(double*)this._typeUnion._unionTypes.
_byref
= (double)value;
216
*(double*)this._typeUnion._unionTypes.
_byref
= ((DateTime)value).ToOADate();
220
*(IntPtr*)this._typeUnion._unionTypes.
_byref
= Marshal.GetIUnknownForObject(value);
224
*(IntPtr*)this._typeUnion._unionTypes.
_byref
= Marshal.GetIDispatchForObject(value);
228
*(IntPtr*)this._typeUnion._unionTypes.
_byref
= Marshal.StringToBSTR((string)value);
232
*(long*)this._typeUnion._unionTypes.
_byref
= decimal.ToOACurrency((decimal)value);
236
*(decimal*)this._typeUnion._unionTypes.
_byref
= (decimal)value;
240
Marshal.GetNativeVariantForObject(value, this._typeUnion._unionTypes.
_byref
);