(object value)
| 394 | public static explicit operator IntPtr(ManagedHandle value) => ToIntPtr(value); |
| 395 | |
| 396 | [MethodImpl(MethodImplOptions.AggressiveInlining)] |
| 397 | public static IntPtr ToIntPtr(object value) => ManagedHandlePool.AllocateHandle(value, GCHandleType.Normal); |
| 398 | |
| 399 | [MethodImpl(MethodImplOptions.AggressiveInlining)] |
| 400 | public static IntPtr ToIntPtr(object value, GCHandleType type) => ManagedHandlePool.AllocateHandle(value, type); |
no test coverage detected