55 references to ReadInt32
mscorlib (2)
system\security\principal\windowsidentity.cs (2)
1333int count = Marshal.ReadInt32(safeAllocHandle.DangerousGetHandle()); 1391int count = Marshal.ReadInt32(safeAllocHandle.DangerousGetHandle());
System (16)
net\System\Net\_SSPIWrapper.cs (3)
726header = (int) checked((uint) Marshal.ReadInt32(unmanagedAddress)); 755MaxToken = (int) checked((uint) Marshal.ReadInt32(unmanagedAddress)); 850Protocol = Marshal.ReadInt32(unmanagedAddress);
net\System\Net\DNS.cs (1)
98IPAddressToAdd = Marshal.ReadInt32(nativePointer);
net\System\Net\mail\iisPickupDirectory.cs (1)
390serverState = Marshal.ReadInt32((IntPtr)bufferPtr);
net\System\Net\Sockets\_BaseOverlappedAsyncResult.cs (2)
419uint errorCode = (uint)Marshal.ReadInt32(IntPtrHelper.Add(asyncResult.m_UnmanagedBlob.DangerousGetHandle(), 421uint numBytes = errorCode!=0 ? unchecked((uint)-1) : (uint)Marshal.ReadInt32(IntPtrHelper.Add(asyncResult.m_UnmanagedBlob.DangerousGetHandle(),
net\System\Net\WebSockets\WebSocketProtocolComponent.cs (2)
796int length = Marshal.ReadInt32(lengthPtr); 824length = Marshal.ReadInt32(lengthPtr);
security\system\security\cryptography\x509\x509chain.cs (1)
278uint cbSize = (uint) Marshal.ReadInt32(safeCertChainHandle.DangerousGetHandle());
security\system\security\cryptography\x509\x509chainelement.cs (2)
27uint cbSize = (uint) Marshal.ReadInt32(pChainElement); 76uint cbSize = (uint) Marshal.ReadInt32(pSimpleChain);
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (3)
1418dataRef = (IntPtr)((long)dataRef + Marshal.ReadInt32(dataRef)); 1471dataRef = (IntPtr)((long)dataRef + Marshal.ReadInt32(dataRef)); 1551return (long)(uint)Marshal.ReadInt32((IntPtr)((long)pointer + this.offset));
services\monitoring\system\diagnosticts\ProcessManager.cs (1)
1008return(long)Marshal.ReadInt32(dataPtr);
System.Core (1)
System\Diagnostics\Eventing\Reader\NativeWrapper.cs (1)
1332bool value = (Marshal.ReadInt32(ptr) != 0) ? true : false;
System.Drawing (9)
commonui\System\Drawing\Advanced\ColorPalette.cs (3)
68flags = Marshal.ReadInt32(memory); 72size = Marshal.ReadInt32((IntPtr)((long)memory + 4)); // Marshal.SizeOf(size.GetType()) 79int argb = Marshal.ReadInt32((IntPtr)((long)memory + 8 + i*4));
commonui\System\Drawing\Advanced\EncoderParameters.cs (2)
120int numberOfValues = Marshal.ReadInt32((IntPtr)( i * size + arrayOffset + 16)); 121EncoderParameterValueType type = (EncoderParameterValueType) Marshal.ReadInt32((IntPtr)(i * size + arrayOffset + 20));
commonui\System\Drawing\Printing\PrinterSettings.cs (4)
1209int width = Marshal.ReadInt32((IntPtr)(checked((long)dimensionsBuffer + i * 8))); 1210int height = Marshal.ReadInt32((IntPtr)(checked((long)dimensionsBuffer + i * 8 + 4))); 1287int x = Marshal.ReadInt32((IntPtr)(checked((long)buffer + i*8))); 1288int y = Marshal.ReadInt32((IntPtr)(checked((long)buffer + i*8 + 4)));
System.IdentityModel (6)
System\IdentityModel\Claims\WindowsClaimSet.cs (1)
283int count = Marshal.ReadInt32(safeAllocHandle.DangerousGetHandle());
System\IdentityModel\SspiWrapper.cs (5)
276header = Marshal.ReadInt32(unmanagedAddress); 593attribute = (object)Marshal.ReadInt32(new IntPtr(pnativeBuffer)); 634attribute = new SecuritySessionKeyClass(sspiHandle, Marshal.ReadInt32(new IntPtr(ptr))); 883Protocol = Marshal.ReadInt32(unmanagedAddress); 907MaxToken = Marshal.ReadInt32(unmanagedAddress);
System.Runtime.Remoting (1)
channels\core\corechannel.cs (1)
962uint number = (uint)Marshal.ReadInt32(subAuthorityPointer);
System.Security (2)
system\security\cryptography\pkcs\signerinfo.cs (2)
373if (Marshal.ReadInt32(pcbData) == 0) { 383if ((uint) Marshal.ReadInt32(pbData) == CAPI.ASN_TAG_NULL) {
System.ServiceModel (3)
System\ServiceModel\ComIntegration\ComPlusAuthorization.cs (2)
63int level = Marshal.ReadInt32(buffer.DangerousGetHandle()); 76int level = Marshal.ReadInt32(buffer.DangerousGetHandle());
System\ServiceModel\ComIntegration\SafeNativeMethods.cs (1)
851retVal = Marshal.ReadInt32((IntPtr)pBuffer);
System.ServiceModel.Activation (1)
System\ServiceModel\Activation\MetabaseReader.cs (1)
149return (UInt32)Marshal.ReadInt32(record.pbMDData);
System.Windows.Forms (11)
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (1)
360refTypeDesc.unionMember = (IntPtr)Marshal.ReadInt32(typeDesc.unionMember);
winforms\Managed\System\WinForms\NativeMethods.cs (2)
4444val = (IntPtr) Marshal.ReadInt32(val); 4451val = (IntPtr) Marshal.ReadInt32(val);
winforms\Managed\System\WinForms\RichTextBox.cs (8)
3561es.nmhdr.code = Marshal.ReadInt32((IntPtr)(es64p + 16)); 3562es.msg = Marshal.ReadInt32((IntPtr)(es64p + 24)); 3565es.chrg.cpMin = Marshal.ReadInt32((IntPtr)(es64p + 44)); 3566es.chrg.cpMax = Marshal.ReadInt32((IntPtr)(es64p + 48)); 3581es.nmhdr.code = Marshal.ReadInt32((IntPtr)(es64p + 16)); 3582es.msg = Marshal.ReadInt32((IntPtr)(es64p + 24)); 3585es.charrange.cpMin = Marshal.ReadInt32((IntPtr)(es64p + 44)); 3586es.charrange.cpMax = Marshal.ReadInt32((IntPtr)(es64p + 48));
WindowsBase (3)
Shared\MS\Win32\NativeMethodsCLR.cs (2)
4756val = (IntPtr) Marshal.ReadInt32(val); 4763val = (IntPtr) Marshal.ReadInt32(val);
Shared\MS\Win32\SafeNativeMethodsCLR.cs (1)
541var data = Marshal.ReadInt32(buffer);