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