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