18 references to GetFunctionPointerForDelegate
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (4)
BlindAggregatorFactory.cs (4)
96_queryInterfacePtr = Marshal.GetFunctionPointerForDelegate(VTable.s_queryInterface); 97_addRefPtr = Marshal.GetFunctionPointerForDelegate(VTable.s_addRef); 98_releasePtr = Marshal.GetFunctionPointerForDelegate(VTable.s_release); 99_getGCHandlePtr = Marshal.GetFunctionPointerForDelegate(VTable.s_get_GCHandlePtr);
PresentationFramework (7)
MS\Internal\WindowsRuntime\Generated\WinRT.cs (1)
23Marshal.GetFunctionPointerForDelegate(del));
MS\Internal\WindowsRuntime\Generated\WinRT\Projections\IEnumerable.cs (4)
119nativeVftbl[6] = Marshal.GetFunctionPointerForDelegate(AbiToProjectionVftable.First_0); 452nativeVftbl[7] = Marshal.GetFunctionPointerForDelegate(AbiToProjectionVftable.get_HasCurrent_1); 453nativeVftbl[8] = Marshal.GetFunctionPointerForDelegate(AbiToProjectionVftable.MoveNext_2); 454nativeVftbl[9] = Marshal.GetFunctionPointerForDelegate(AbiToProjectionVftable.GetMany_3);
MS\Internal\WindowsRuntime\Generated\WinRT\Projections\IReadOnlyList.cs (2)
242nativeVftbl[7] = Marshal.GetFunctionPointerForDelegate(AbiToProjectionVftable.get_Size_1); 244nativeVftbl[9] = Marshal.GetFunctionPointerForDelegate(AbiToProjectionVftable.GetMany_3);
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Runtime\Loader\AssemblyDependencyResolver.cs (1)
50IntPtr errorWriterPtr = Marshal.GetFunctionPointerForDelegate(errorWriter);
System.Private.Windows.Core (1)
Windows\Win32\PInvokeCore.SetWindowLong.cs (1)
38IntPtr pointer = Marshal.GetFunctionPointerForDelegate(dwNewLong);
System.Windows.Forms (4)
System\Windows\Forms\Accessibility\LabelEditNativeWindow.cs (1)
46(void*)Marshal.GetFunctionPointerForDelegate(_winEventProcCallback);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.MouseHook.cs (1)
94IntPtr hook = Marshal.GetFunctionPointerForDelegate(_callBack);
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.ModalMenuFilter.HostedWindowsFormsMessageHook.cs (1)
65IntPtr hook = Marshal.GetFunctionPointerForDelegate(_callBack);
System\Windows\Forms\NativeWindow.WindowClass.cs (1)
157nint callback = Marshal.GetFunctionPointerForDelegate(_windProc);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\Behavior\BehaviorService.AdornerWindow.MouseHook.cs (1)
78IntPtr hook = Marshal.GetFunctionPointerForDelegate(_callBack);