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