16 references to GetComInterfaceForObject
mscorlib (8)
system\reflection\assembly.cs (1)
1206ppv = Marshal.GetComInterfaceForObject(this, typeof(_Assembly));
system\runtime\interopservices\marshal.cs (1)
1758return GetComInterfaceForObject(o, typeof(TInterface));
system\runtime\interopservices\windowsruntime\windowsruntimemarshal.cs (1)
1211return Marshal.GetComInterfaceForObject(activationFactory, typeof(IActivationFactory));
system\runtime\interopservices\windowsruntime\winrtclassactivator.cs (1)
65return Marshal.GetComInterfaceForObject(this, typeof(IWinRTClassActivator));
system\stubhelpers.cs (4)
706newItemsIP = Marshal.GetComInterfaceForObject(newItems, typeof(IBindableVector)); 708oldItemsIP = Marshal.GetComInterfaceForObject(oldItems, typeof(IBindableVector)); 1347return Marshal.GetComInterfaceForObject(impl, typeof(IReference<T>)); 1539return Marshal.GetComInterfaceForObject(impl, typeof(IKeyValuePair<K, V>));
PresentationCore (5)
Core\CSharp\System\Windows\DataObject.cs (1)
845medium.unionmember = Marshal.GetComInterfaceForObject(istream, typeof(IStream));
Core\CSharp\System\Windows\Media\Imaging\BitmapMetadata.cs (3)
267pIEnumMetadata = Marshal.GetComInterfaceForObject( 784blockWriter = Marshal.GetComInterfaceForObject( 838blockWriter = Marshal.GetComInterfaceForObject(
Core\CSharp\System\Windows\Media\Imaging\BitmapSource.cs (1)
635_wicSource = new BitmapSourceSafeMILHandle(Marshal.GetComInterfaceForObject(
System.Data (1)
fx\src\data\System\Data\OleDb\OleDbWrapper.cs (1)
35base.handle = Marshal.GetComInterfaceForObject(unknown, typeof(UnsafeNativeMethods.IDataInitialize)); //
System.Windows.Forms (2)
winforms\Managed\System\WinForms\AccessibleObject.cs (2)
922ppvObject = Marshal.GetComInterfaceForObject(this, typeof(UnsafeNativeMethods.IAccessibleEx)); 3338ppvObject = Marshal.GetComInterfaceForObject(this, typeof(UnsafeNativeMethods.IAccessibleEx));