36 references to ReadIntPtr
mscorlib (1)
system\security\cryptography\x509certificates\safex509handles.cs (1)
47
return Marshal.
ReadIntPtr
(handle);
System (11)
net\System\Net\DNS.cs (4)
91
nativePointer = Marshal.
ReadIntPtr
(currentArrayElement);
120
nativePointer = Marshal.
ReadIntPtr
(currentArrayElement);
133
nativePointer = Marshal.
ReadIntPtr
(currentArrayElement);
154
nativePointer = Marshal.
ReadIntPtr
(currentArrayElement);
net\System\Net\UnsafeNativeMethods.cs (1)
1729
Marshal.
ReadIntPtr
(chainList.DangerousGetHandle()
net\System\Net\WebSockets\WebSocketProtocolComponent.cs (2)
794
IntPtr httpHeaderNamePtr = Marshal.
ReadIntPtr
(httpHeaderPtr);
822
Marshal.
ReadIntPtr
(IntPtr.Add(httpHeaderPtr, valueOffset));
security\system\security\cryptography\x509\x509certificate2collection.cs (1)
912
IntPtr pszOid = Marshal.
ReadIntPtr
(new IntPtr((long) rghOIDs.DangerousGetHandle() + index * Marshal.SizeOf(typeof(IntPtr))));
security\system\security\cryptography\x509\x509chain.cs (1)
286
m_chainElementCollection = new X509ChainElementCollection(Marshal.
ReadIntPtr
(pChain.rgpChain));
security\system\security\cryptography\x509\x509chainelement.cs (1)
82
m_elements[index] = new X509ChainElement(Marshal.
ReadIntPtr
(new IntPtr((long) simpleChain.rgpElement + index * Marshal.SizeOf(typeof(IntPtr)))));
security\system\security\cryptography\x509\x509extension.cs (1)
328
IntPtr pszOid = Marshal.
ReadIntPtr
(new IntPtr((long) pEnhKeyUsage.rgpszUsageIdentifier + index * Marshal.SizeOf(typeof(IntPtr))));
System.Drawing (3)
commonui\System\Drawing\Advanced\EncoderParameters.cs (2)
108
int count = Marshal.
ReadIntPtr
(memory).ToInt32();
122
IntPtr value = Marshal.
ReadIntPtr
((IntPtr)(i * size + arrayOffset + 24));
commonui\System\Drawing\Printing\PrinterSettings.cs (1)
257
IntPtr namePointer = (IntPtr) Marshal.
ReadIntPtr
((IntPtr)(checked((long)buffer + i * sizeofstruct)));
System.Management (2)
managementobject.cs (2)
1514
pwbemCallResult = Marshal.
ReadIntPtr
(ppwbemCallResult);
1818
pwbemCallResult = Marshal.
ReadIntPtr
(ppwbemCallResult);
System.Messaging (2)
System\Messaging\Interop\Restrictions.cs (1)
104
IntPtr data = Marshal.
ReadIntPtr
(dataPtr);
System\Messaging\MessageQueue.cs (1)
2046
IntPtr stringPointer = Marshal.
ReadIntPtr
((IntPtr)((long)basePointer + index * IntPtr.Size));
System.Net (2)
net\PeerToPeer\PeerNameResolver.cs (2)
324
IntPtr pSOCKADDR = Marshal.
ReadIntPtr
(ppSOCKADDRs);
692
IntPtr pSOCKADDR = Marshal.
ReadIntPtr
(ppSOCKADDRs);
System.Security (5)
system\security\cryptography\pkcs\recipientinfo.cs (2)
222
IntPtr pEncryptedKeyInfo = Marshal.
ReadIntPtr
(new IntPtr((long) certIdRecipient.rgpRecipientEncryptedKeys + (long) (subIndex * Marshal.SizeOf(typeof(IntPtr)))));
231
IntPtr pEncryptedKeyInfo = Marshal.
ReadIntPtr
(new IntPtr((long) publicKeyRecipient.rgpRecipientEncryptedKeys + (long) (subIndex * Marshal.SizeOf(typeof(IntPtr)))));
system\security\cryptography\pkcs\signerinfo.cs (3)
361
IntPtr pObjId = Marshal.
ReadIntPtr
(pAlgorithm);
378
if (Marshal.
ReadIntPtr
(ppbData) == IntPtr.Zero) {
382
IntPtr pbData = Marshal.
ReadIntPtr
(ppbData);
System.Windows.Forms (9)
winforms\Managed\System\WinForms\NativeMethods.cs (1)
4556
return Marshal.
ReadIntPtr
(value);
winforms\Managed\System\WinForms\RichTextBox.cs (8)
3559
es.nmhdr.hwndFrom = Marshal.
ReadIntPtr
((IntPtr)es64p);
3560
es.nmhdr.idFrom = Marshal.
ReadIntPtr
((IntPtr)(es64p + 8));
3563
es.wParam = Marshal.
ReadIntPtr
((IntPtr)(es64p + 28));
3564
es.lParam = Marshal.
ReadIntPtr
((IntPtr)(es64p + 36));
3579
es.nmhdr.hwndFrom = Marshal.
ReadIntPtr
((IntPtr)es64p);
3580
es.nmhdr.idFrom = Marshal.
ReadIntPtr
((IntPtr)(es64p + 8));
3583
es.wParam = Marshal.
ReadIntPtr
((IntPtr)(es64p + 28));
3584
es.lParam = Marshal.
ReadIntPtr
((IntPtr)(es64p + 36));
WindowsBase (1)
Shared\MS\Win32\NativeMethodsCLR.cs (1)
4868
return Marshal.
ReadIntPtr
(value);