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)
23
Marshal.
GetFunctionPointerForDelegate
(del));
MS\Internal\WindowsRuntime\Generated\WinRT\Projections\IEnumerable.cs (4)
119
nativeVftbl[6] = Marshal.
GetFunctionPointerForDelegate
(AbiToProjectionVftable.First_0);
452
nativeVftbl[7] = Marshal.
GetFunctionPointerForDelegate
(AbiToProjectionVftable.get_HasCurrent_1);
453
nativeVftbl[8] = Marshal.
GetFunctionPointerForDelegate
(AbiToProjectionVftable.MoveNext_2);
454
nativeVftbl[9] = Marshal.
GetFunctionPointerForDelegate
(AbiToProjectionVftable.GetMany_3);
MS\Internal\WindowsRuntime\Generated\WinRT\Projections\IReadOnlyList.cs (2)
242
nativeVftbl[7] = Marshal.
GetFunctionPointerForDelegate
(AbiToProjectionVftable.get_Size_1);
244
nativeVftbl[9] = Marshal.
GetFunctionPointerForDelegate
(AbiToProjectionVftable.GetMany_3);
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Runtime\Loader\AssemblyDependencyResolver.cs (1)
50
IntPtr errorWriterPtr = Marshal.
GetFunctionPointerForDelegate
(errorWriter);
System.Private.Windows.Core (1)
Windows\Win32\PInvokeCore.SetWindowLong.cs (1)
38
IntPtr 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)
94
IntPtr hook = Marshal.
GetFunctionPointerForDelegate
(_callBack);
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.ModalMenuFilter.HostedWindowsFormsMessageHook.cs (1)
65
IntPtr hook = Marshal.
GetFunctionPointerForDelegate
(_callBack);
System\Windows\Forms\NativeWindow.WindowClass.cs (1)
157
nint callback = Marshal.
GetFunctionPointerForDelegate
(_windProc);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\Behavior\BehaviorService.AdornerWindow.MouseHook.cs (1)
78
IntPtr hook = Marshal.
GetFunctionPointerForDelegate
(_callBack);