16 references to InternalComInterfaceDispatch
System.Private.CoreLib (16)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ComWrappers.cs (16)
140InternalComInterfaceDispatch* dispatch = (InternalComInterfaceDispatch*)unchecked((nuint)dispatchPtr & (nuint)InternalComInterfaceDispatch.DispatchAlignmentMask); 154internal const ulong DispatchAlignmentMask = unchecked((ulong)~(InternalComInterfaceDispatch.DispatchAlignment - 1)); 204internal InternalComInterfaceDispatch* Dispatches; 392InternalComInterfaceDispatch* dispatch = &Dispatches[index / InternalComInterfaceDispatch.NumEntriesInDispatchTable]; 394return (IntPtr)(&vtables[index % InternalComInterfaceDispatch.NumEntriesInDispatchTable]); 859int numSections = totalDefinedCount / InternalComInterfaceDispatch.NumEntriesInDispatchTable; 860if (totalDefinedCount % InternalComInterfaceDispatch.NumEntriesInDispatchTable != 0) 866nuint headerSize = AlignUp((nuint)sizeof(ManagedObjectWrapper), InternalComInterfaceDispatch.DispatchAlignment); 875InternalComInterfaceDispatch.DispatchAlignment); 878InternalComInterfaceDispatch* pDispatches = (InternalComInterfaceDispatch*)((nuint)wrapperMem + headerSize); 879Span<InternalComInterfaceDispatch> dispatches = new Span<InternalComInterfaceDispatch>(pDispatches, numSections);