67 references to ToInt64
mscorlib (9)
system\deployment\isolationinterop.cs (5)
1579
DestroyProperties(PropertiesToSet, (ulong)cPropertiesToSet.
ToInt64
());
1586
DestroyProperties(PropertiesToTest, (ulong)cPropertiesToTest.
ToInt64
());
1609
new IntPtr((long)((i * iSlotSize) + (ulong)rgItems.
ToInt64
())),
1630
new IntPtr((i * iSlotSize) + retval.
ToInt64
()),
1831
Delimiter = (UInt32)DelimIntPtr.
ToInt64
();
system\io\unmanagedmemorystream.cs (1)
372
if (new IntPtr(value - _mem).
ToInt64
() > UnmanagedMemStreamMaxLength)
system\security\claims\ClaimsPrincipal.cs (1)
448
identities.Add(windowsIdentity.GetTokenInternal().
ToInt64
().ToString(NumberFormatInfo.InvariantInfo));
system\security\principal\windowsidentity.cs (2)
1193
if (userToken != IntPtr.Zero && userToken.
ToInt64
() > 0)
1488
IntPtr pAttribute = new IntPtr(claimAttributes.Attribute.pAttributeV1.
ToInt64
() + offset);
PresentationCore (6)
Core\CSharp\System\Windows\Interop\HwndKeyboardInputProvider.cs (1)
452
hwnd.
ToInt64
(),
Core\CSharp\System\Windows\Interop\HwndMouseInputProvider.cs (1)
944
EventTrace.EventProvider.TraceEvent(EventTrace.Event.WClientInputMessage, EventTrace.Keyword.KeywordInput | EventTrace.Keyword.KeywordPerf, EventTrace.Level.Info, dispatcherHashCode, hwnd.
ToInt64
(), msg, wParamInt, lParamInt);
Core\CSharp\System\Windows\Interop\HwndStylusInputProvider.cs (1)
190
hwnd.
ToInt64
(),
Core\CSharp\System\Windows\Interop\HwndTarget.cs (1)
290
EventTrace.EventProvider.TraceEvent(EventTrace.Event.WClientCreateVisual, EventTrace.Keyword.KeywordGeneral, EventTrace.Level.Info, Dispatcher.GetHashCode(), hwnd.
ToInt64
());
Core\CSharp\System\Windows\Media\Imaging\BitmapSource.cs (1)
2002
long rowPtr = pvPixels.
ToInt64
();
Core\CSharp\System\Windows\Media\Imaging\WriteableBitmap.cs (1)
1542
command.CopyCompletedEvent = (UInt64) hDuplicate.
ToInt64
();
System (10)
net\System\Net\_SSPIWrapper.cs (1)
660
long ptr = hwnd.
ToInt64
();
net\System\Net\WebSockets\WebSocketBuffer.cs (9)
76
m_StartAddress = Marshal.UnsafeAddrOfPinnedArrayElement(internalBuffer.Array, internalBuffer.Offset).
ToInt64
();
212
Marshal.UnsafeAddrOfPinnedArrayElement(m_PinnedSendBuffer.Array, m_PinnedSendBuffer.Offset).
ToInt64
();
233
m_PinnedSendBuffer.Offset).
ToInt64
() == m_PinnedSendBufferStartAddress,
251
m_PinnedSendBuffer.Offset).
ToInt64
() == m_PinnedSendBufferStartAddress,
259
int internalOffset = (int)(bufferData.
ToInt64
() - m_PinnedSendBufferStartAddress);
291
long nativeBufferStartAddress = bufferData.
ToInt64
();
589
int offset = (int)(pBuffer.
ToInt64
() - m_StartAddress + m_InternalBuffer.Offset);
630
long nativeBufferStartAddress = pBuffer.
ToInt64
();
633
Contract.Assert(Marshal.UnsafeAddrOfPinnedArrayElement(m_InternalBuffer.Array, m_InternalBuffer.Offset).
ToInt64
() == m_StartAddress,
System.Activities.Presentation (5)
Microsoft.Tools.Common\Microsoft\Tools\Common\Win32Interop.cs (1)
63
windowStyle = new IntPtr(windowStyle.
ToInt64
() | ((long)Win32Interop.WS_CLIPSIBLINGS) | ((long)Win32Interop.WS_CLIPCHILDREN));
System.Activities.Presentation\System\Activities\Presentation\DialogWindow.cs (1)
55
if (msg == Win32Interop.WM_SYSCOMMAND && wParam.
ToInt64
() == (long)Win32Interop.SC_CONTEXTHELP)
System.Activities.Presentation\System\Activities\Presentation\View\WindowExtensionMethods.cs (3)
24
exStyle = new IntPtr(exStyle.
ToInt64
() | ((long)Win32Interop.WS_EX_CONTEXTHELP));
42
long longValue = style.
ToInt64
();
74
exStyle = new IntPtr(exStyle.
ToInt64
() | ((long)Win32Interop.WS_EX_DLGMODALFRAME));
System.Data (10)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Tools\Common\Win32Interop.cs (1)
63
windowStyle = new IntPtr(windowStyle.
ToInt64
() | ((long)Win32Interop.WS_CLIPSIBLINGS) | ((long)Win32Interop.WS_CLIPCHILDREN));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DialogWindow.cs (1)
55
if (msg == Win32Interop.WM_SYSCOMMAND && wParam.
ToInt64
() == (long)Win32Interop.SC_CONTEXTHELP)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\WindowExtensionMethods.cs (3)
24
exStyle = new IntPtr(exStyle.
ToInt64
() | ((long)Win32Interop.WS_EX_CONTEXTHELP));
42
long longValue = style.
ToInt64
();
74
exStyle = new IntPtr(exStyle.
ToInt64
() | ((long)Win32Interop.WS_EX_DLGMODALFRAME));
fx\src\data\System\Data\Common\AdapterUtil.cs (1)
2450
return (IntPtr) checked(pbase.
ToInt64
() + offset);
fx\src\data\System\Data\Odbc\OdbcStatementHandle.cs (2)
61
return value._value.
ToInt64
();
65
return _value.
ToInt64
();
fx\src\data\System\Data\OleDb\OleDbConnectionInternal.cs (1)
398
long offset = literalInfo.
ToInt64
();
fx\src\data\System\Data\SQLTypes\SQLFileStream.cs (1)
1082
System.Diagnostics.Debug.Assert(Marshal.OffsetOf(typeof(UnsafeNativeMethods.FILE_FULL_EA_INFORMATION), "EaName").
ToInt64
() <= (Int64) Int32.MaxValue);
System.Drawing (2)
commonui\System\Drawing\Icon.cs (2)
909
srcPtr = new IntPtr(sourceData.Scan0.
ToInt64
() + offsetSrc);
910
destPtr = new IntPtr(targetData.Scan0.
ToInt64
() + offsetDest);
System.IdentityModel (1)
System\IdentityModel\Selectors\X509SecurityTokenAuthenticator.cs (1)
236
pInfo->Certificate = new IntPtr(pLogonInfo.DangerousGetHandle().
ToInt64
() + KERB_CERTIFICATE_S4U_LOGON.Size);
System.IO.Log (1)
System\IO\Log\LogExtentCollection.cs (1)
177
long containerPointer = scanContext.pinfoContainer.
ToInt64
();
System.ServiceModel (6)
System\ServiceModel\Channels\PnrpPeerResolver.cs (6)
1391
nativeBlob.pBlobData = (IntPtr)(((IntPtr)blob.pBlobData).
ToInt64
() + Marshal.SizeOf(typeof(BlobNative)));
1408
nativeBlob.pBlobData = (IntPtr)(((IntPtr)blob.pBlobData).
ToInt64
() + Marshal.SizeOf(typeof(BlobNative)));
1535
Int64 sockAddressStart = target.
ToInt64
() + Marshal.SizeOf(typeof(WsaQuerySetNative));
1549
Int64 start = target.
ToInt64
();
1731
IntPtr nsInfoPtr = (IntPtr)(((IntPtr)dataPtr).
ToInt64
() + i *
2164
IntPtr addressPtr = (IntPtr)(nativeQuerySet.lpcsaBuffer.
ToInt64
() + (i * sizeOfCsAddrInfo));
System.ServiceModel.Activation (1)
System\ServiceModel\Activation\MetabaseReader.cs (1)
200
list.Add(Marshal.PtrToStringUni(new IntPtr(record.pbMDData.
ToInt64
() + startPos),
System.Web (5)
Hosting\ISAPIWorkerRequest.cs (1)
480
long temp = p.
ToInt64
();
HttpWriter.cs (1)
394
wr.SendResponseFromMemory(new IntPtr(_data.
ToInt64
()+_offset), _size, isBufferFromUnmanagedPool: false);
Util\altserialization.cs (1)
134
writer.Write((Int64)v.
ToInt64
());
Util\Misc.cs (2)
92
System.Runtime.InteropServices.Marshal.Copy(new IntPtr(src.
ToInt64
()+srcOffset), dest, destOffset, size);
97
System.Runtime.InteropServices.Marshal.Copy(src, srcOffset, new IntPtr(dest.
ToInt64
()+destOffset), size);
System.Windows.Forms (7)
parent\parent\parent\public\Internal\NDP\Inc\IsolationInterop.cs (5)
1594
DestroyProperties(PropertiesToSet, (ulong)cPropertiesToSet.
ToInt64
());
1601
DestroyProperties(PropertiesToTest, (ulong)cPropertiesToTest.
ToInt64
());
1624
new IntPtr((long)((i * iSlotSize) + (ulong)rgItems.
ToInt64
())),
1645
new IntPtr((i * iSlotSize) + retval.
ToInt64
()),
1847
Delimiter = (UInt32)DelimIntPtr.
ToInt64
();
winforms\Managed\System\WinForms\ImageList.cs (2)
651
srcPtr = new IntPtr(sourceData.Scan0.
ToInt64
() + offsetSrc);
652
destPtr = new IntPtr(targetData.Scan0.
ToInt64
() + offsetDest);
UIAutomationClient (1)
MS\Internal\Automation\Misc.cs (1)
299
return unchecked((int)intPtr.
ToInt64
());
UIAutomationClientsideProviders (2)
MS\Internal\AutomationProxies\CommonXSendMessage.cs (1)
103
System.Diagnostics.Debug.Assert(remoteTextArea.ToInt32() == remoteTextArea.
ToInt64
());
MS\Win32\NativeMethods.cs (1)
640
return unchecked((int)intPtr.
ToInt64
());
WindowsBase (1)
Shared\MS\Win32\NativeMethodsOther.cs (1)
436
return unchecked((int)intPtr.
ToInt64
());