28 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());
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (1)
src\ExpressionEvaluator\Core\Source\ResultProvider\Formatter.Values.cs (1)
123var intPtr = ((IntPtr)value.HostObjectValue).ToInt64();
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (1)
src\ExpressionEvaluator\Core\Source\ResultProvider\Formatter.Values.cs (1)
123var intPtr = ((IntPtr)value.HostObjectValue).ToInt64();
Microsoft.CodeAnalysis.Test.Utilities (1)
Win32Res.cs (1)
50Marshal.Copy((IntPtr)(ptr.ToInt64() + offset), fullmanif, 0, length);
PresentationCore (6)
System\Windows\InterOp\HwndKeyboardInputProvider.cs (1)
390hwnd.ToInt64(),
System\Windows\InterOp\HwndMouseInputProvider.cs (1)
877EventTrace.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)
151hwnd.ToInt64(),
System\Windows\InterOp\HwndTarget.cs (1)
241EventTrace.EventProvider.TraceEvent(EventTrace.Event.WClientCreateVisual, EventTrace.Keyword.KeywordGeneral, EventTrace.Level.Info, Dispatcher.GetHashCode(), hwnd.ToInt64());
System\Windows\Media\Imaging\BitmapSource.cs (1)
1830long rowPtr = pvPixels.ToInt64();
System\Windows\Media\Imaging\WriteableBitmap.cs (1)
1309command.CopyCompletedEvent = (UInt64) hDuplicate.ToInt64();
PresentationFramework (2)
System\Windows\Standard\Utilities.cs (2)
39return LOWORD((int) lParam.ToInt64()); 46return HIWORD((int) lParam.ToInt64());
PresentationUI (2)
MS\Internal\Documents\PeoplePickerWrapper.cs (2)
419IntPtr nameOffset = new IntPtr(_ptrToDsObjectNames.ToInt64() + dsObject.offsetName); 450IntPtr offset = new IntPtr(_ptrToDsObjectNames.ToInt64() +
ReachFramework (1)
MS\Internal\Printing\Configuration\WinSpoolPrinterCapabilities.cs (1)
557IntPtr strAddr = new IntPtr(baseAddr.ToInt64() + offset);
System.Data.Odbc (2)
System\Data\Odbc\OdbcStatementHandle.cs (2)
45return value._value.ToInt64(); 50return _value.ToInt64();
System.Drawing.Common.Tests (2)
mono\System.Drawing\BitmapTests.cs (2)
418nint src_ptr = (nint)(y * data.Stride + data.Scan0.ToInt64()); 509long pos = bd.Scan0.ToInt64();
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)
262return unchecked((int)intPtr.ToInt64());
UIAutomationClientSideProviders (2)
MS\Internal\AutomationProxies\CommonXSendMessage.cs (1)
94System.Diagnostics.Debug.Assert(remoteTextArea.ToInt32() == remoteTextArea.ToInt64());
MS\Win32\NativeMethods.cs (1)
622return unchecked((int)intPtr.ToInt64());
UIAutomationTypes (1)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\NativeMethodsOther.cs (1)
327return unchecked((int)intPtr.ToInt64());