21 references to ToInt64
Microsoft.AspNetCore.Cryptography.Internal (2)
UnsafeBufferUtil.cs (2)
97BlockCopyCore(from: (byte*)from.DangerousGetHandle(), to: (byte*)to.DangerousGetHandle(), byteCount: (ulong)length.ToInt64()); 193SecureZeroMemory(buffer, (ulong)length.ToInt64());
PresentationCore (6)
System\Windows\InterOp\HwndKeyboardInputProvider.cs (1)
404hwnd.ToInt64(),
System\Windows\InterOp\HwndMouseInputProvider.cs (1)
890EventTrace.EventProvider.TraceEvent(EventTrace.Event.WClientInputMessage, EventTrace.Keyword.KeywordInput | EventTrace.Keyword.KeywordPerf, EventTrace.Level.Info, dispatcherHashCode, hwnd.ToInt64(), msg, wParamInt, lParamInt);
System\Windows\InterOp\HwndStylusInputProvider.cs (1)
163hwnd.ToInt64(),
System\Windows\InterOp\HwndTarget.cs (1)
257EventTrace.EventProvider.TraceEvent(EventTrace.Event.WClientCreateVisual, EventTrace.Keyword.KeywordGeneral, EventTrace.Level.Info, Dispatcher.GetHashCode(), hwnd.ToInt64());
System\Windows\Media\Imaging\BitmapSource.cs (1)
1878long rowPtr = pvPixels.ToInt64();
System\Windows\Media\Imaging\WriteableBitmap.cs (1)
1342command.CopyCompletedEvent = (UInt64) hDuplicate.ToInt64();
PresentationFramework (2)
System\Windows\Standard\Utilities.cs (2)
52return LOWORD((int) lParam.ToInt64()); 59return HIWORD((int) lParam.ToInt64());
PresentationUI (2)
MS\Internal\Documents\PeoplePickerWrapper.cs (2)
417IntPtr nameOffset = new IntPtr(_ptrToDsObjectNames.ToInt64() + dsObject.offsetName); 448IntPtr offset = new IntPtr(_ptrToDsObjectNames.ToInt64() +
ReachFramework (1)
MS\Internal\Printing\Configuration\WinSpoolPrinterCapabilities.cs (1)
561IntPtr strAddr = new IntPtr(baseAddr.ToInt64() + offset);
System.Net.Quic (1)
src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeX509Handles.Unix.cs (1)
23Console.WriteLine($"0x{handle.ToInt64():x} {_stacktrace?.ToString() ?? "no stacktrace..."}");
System.Net.Security (1)
src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeX509Handles.Unix.cs (1)
23Console.WriteLine($"0x{handle.ToInt64():x} {_stacktrace?.ToString() ?? "no stacktrace..."}");
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\SafeHandle.cs (1)
118Internal.Console.WriteLine($"{Environment.NewLine}*** #{count} {GetType()} (0x{handle.ToInt64():x}) finalized! Ctor stack:{Environment.NewLine}{_ctorStackTrace}{Environment.NewLine}");
System.Security.Cryptography (1)
src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeX509Handles.Unix.cs (1)
23Console.WriteLine($"0x{handle.ToInt64():x} {_stacktrace?.ToString() ?? "no stacktrace..."}");
UIAutomationClient (1)
MS\Internal\Automation\Misc.cs (1)
272return unchecked((int)intPtr.ToInt64());
UIAutomationClientSideProviders (2)
MS\Internal\AutomationProxies\CommonXSendMessage.cs (1)
96System.Diagnostics.Debug.Assert(remoteTextArea.ToInt32() == remoteTextArea.ToInt64());
MS\Win32\NativeMethods.cs (1)
629return unchecked((int)intPtr.ToInt64());
UIAutomationTypes (1)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\NativeMethodsOther.cs (1)
352return unchecked((int)intPtr.ToInt64());