20 references to new
System.Private.Windows.Core (20)
System\Private\Windows\Ole\Composition.NativeToManagedAdapter.cs (2)
371using ComScope<Com.IStream> pStream = new((Com.IStream*)medium.hGlobal); 544using ComScope<Com.IEnumFORMATETC> enumFORMATETC = new(null);
System\Private\Windows\Ole\Composition.NativeToRuntimeAdapter.cs (2)
48using ComScope<Com.IEnumSTATDATA> nativeStatData = new(null); 57using ComScope<Com.IEnumFORMATETC> nativeFormat = new(null);
System\Private\Windows\Ole\DragDropHelper.cs (5)
61using ComScope<IDropTargetHelper> dropTargetHelper = new(null); 76using ComScope<IDropTargetHelper> dropTargetHelper = new(null); 91using ComScope<IDropTargetHelper> dropTargetHelper = new(null); 107using ComScope<IDropTargetHelper> dropTargetHelper = new(null); 253using ComScope<IDragSourceHelper2> dragSourceHelper = new(null);
Windows\Win32\System\Com\ComHelpers.cs (6)
29new(GetComPointer<T>(@object)); 41new(TryGetComPointer<T>(@object, out hr)); 248using ComScope<IUnknown> unknown = new(null); 257using ComScope<IUnknown> ccw = new((IUnknown*)(void*)Marshal.GetIUnknownForObject(@object)); 338using ComScope<ITypeLib> typelib = new(null); 342ComScope<ITypeInfo> typeInfo = new(null);
Windows\Win32\System\Com\ComScope.cs (4)
62ComScope<TTo> scope = new(null); 72ComScope<TTo> scope = new(null); 82ComScope<T> scope = new(null); 97ComScope<T> scope = new(null);
Windows\Win32\System\Com\GlobalInterfaceTable.cs (1)
55ComScope<TInterface> @interface = new(null);