19 references to GetDelegateForFunctionPointer
Microsoft.AspNetCore.Cryptography.Internal (1)
SafeHandles\SafeLibraryHandle.cs (1)
103return Marshal.GetDelegateForFunctionPointer<TDelegate>(pfnProc);
Microsoft.AspNetCore.Server.HttpSys (1)
NativeInterop\SafeLibraryHandle.cs (1)
48return Marshal.GetDelegateForFunctionPointer<TDelegate>(pfnProc);
Microsoft.Build.Tasks.UnitTests (1)
NativeMethodsShared_Tests.cs (1)
54GetProcessIdDelegate processIdDelegate = Marshal.GetDelegateForFunctionPointer<GetProcessIdDelegate>(processHandle);
Microsoft.Build.Utilities.UnitTests (1)
NativeMethodsShared_Tests.cs (1)
54GetProcessIdDelegate processIdDelegate = Marshal.GetDelegateForFunctionPointer<GetProcessIdDelegate>(processHandle);
Microsoft.CodeAnalysis (1)
DiaSymReader\SymUnmanagedFactory.cs (1)
138var creator = Marshal.GetDelegateForFunctionPointer<NativeFactory>(createAddress);
Microsoft.ML.TestFrameworkCommon (1)
Utility\NativeLibrary.cs (1)
144return Marshal.GetDelegateForFunctionPointer<T>(functionPtr);
PresentationFramework (13)
MS\Internal\WindowsRuntime\Generated\Windows.Data.Text.cs (1)
1607var abiInvoke = Marshal.GetDelegateForFunctionPointer<Abi_Invoke>(_nativeDelegate.Vftbl.Invoke);
MS\Internal\WindowsRuntime\Generated\WinRT.cs (3)
22return Marshal.GetDelegateForFunctionPointer<T>( 49return Marshal.GetDelegateForFunctionPointer<T>(functionPtr); 145_CanUnloadNow = Marshal.GetDelegateForFunctionPointer<DllCanUnloadNow>(canUnloadNow);
MS\Internal\WindowsRuntime\Generated\WinRT\ComWrappersSupport.net5.cs (3)
65QueryInterface = Marshal.GetDelegateForFunctionPointer<IUnknownVftbl._QueryInterface>(qi), 66AddRef = Marshal.GetDelegateForFunctionPointer<IUnknownVftbl._AddRef>(addRef), 67Release = Marshal.GetDelegateForFunctionPointer<IUnknownVftbl._Release>(release),
MS\Internal\WindowsRuntime\Generated\WinRT\Projections\IEnumerable.cs (4)
105First_0 = Marshal.GetDelegateForFunctionPointer<IEnumerable_Delegates.First_0>(vftbl[6]); 432get_HasCurrent_1 = Marshal.GetDelegateForFunctionPointer<_get_PropertyAsBoolean>(vftbl[7]); 433MoveNext_2 = Marshal.GetDelegateForFunctionPointer<IEnumerator_Delegates.MoveNext_2>(vftbl[8]); 434GetMany_3 = Marshal.GetDelegateForFunctionPointer<IEnumerator_Delegates.GetMany_3>(vftbl[9]);
MS\Internal\WindowsRuntime\Generated\WinRT\Projections\IReadOnlyList.cs (2)
222get_Size_1 = Marshal.GetDelegateForFunctionPointer<_get_PropertyAsUInt32>(vftbl[7]); 224GetMany_3 = Marshal.GetDelegateForFunctionPointer<IReadOnlyList_Delegates.GetMany_3>(vftbl[9]);