56 references to ReadInt32
mscorlib (7)
system\runtime\interopservices\marshal.cs (3)
530return ReadInt32(ptr,0); 549return (IntPtr) ReadInt32(ptr, ofs); 560return (IntPtr) ReadInt32(ptr, 0);
system\runtimehandles.cs (4)
72if ((CorElementType)Marshal.ReadInt32((IntPtr)arModifiers, i * sizeof(int)) == CorElementType.Ptr) 75else if ((CorElementType)Marshal.ReadInt32((IntPtr)arModifiers, i * sizeof(int)) == CorElementType.ByRef) 78else if ((CorElementType)Marshal.ReadInt32((IntPtr)arModifiers, i * sizeof(int)) == CorElementType.SzArray) 82type = type.MakeArrayType(Marshal.ReadInt32((IntPtr)arModifiers, ++i * sizeof(int)));
PresentationCore (1)
Core\CSharp\System\Windows\Media\Imaging\PropVariant.cs (1)
599array[i] = (uint) Marshal.ReadInt32(ca.pElems, i*sizeof(uint));
System (26)
net\System\Net\_DigestClient.cs (8)
1172int initiatorType = Marshal.ReadInt32(binding.DangerousGetHandle(), InitiatorTypeOffset); 1173int initiatorLength = Marshal.ReadInt32(binding.DangerousGetHandle(), InitiatorLengthOffset); 1174int acceptorType = Marshal.ReadInt32(binding.DangerousGetHandle(), AcceptorTypeOffset); 1175int acceptorLength = Marshal.ReadInt32(binding.DangerousGetHandle(), AcceptorLengthOffset); 1176int applicationDataLength = Marshal.ReadInt32(binding.DangerousGetHandle(), ApplicationDataLengthOffset); 1186int initiatorOffset = Marshal.ReadInt32(binding.DangerousGetHandle(), InitiatorOffsetOffset); 1197int acceptorOffset = Marshal.ReadInt32(binding.DangerousGetHandle(), AcceptorOffsetOffset); 1207int applicationDataOffset = Marshal.ReadInt32(binding.DangerousGetHandle(), ApplicationDataOffsetOffset);
net\System\Net\_RegBlobWebProxyDataBuilder.cs (1)
185intValue = Marshal.ReadInt32((IntPtr)pBuffer, m_ByteOffset);
net\System\Net\_SSPIWrapper.cs (16)
602attribute = new NegotiationInfoClass(SspiHandle, Marshal.ReadInt32(new IntPtr(ptr), NegotiationInfo.NegotiationStateOffest)); 727trailer = (int) checked((uint) Marshal.ReadInt32(unmanagedAddress, 4)); 728maximumMessage = (int) checked((uint) Marshal.ReadInt32(unmanagedAddress, 8)); 729buffersCount = (int) checked((uint) Marshal.ReadInt32(unmanagedAddress, 12)); 730blockSize = (int) checked((uint) Marshal.ReadInt32(unmanagedAddress, 16)); 756MaxSignature = (int) checked((uint) Marshal.ReadInt32(unmanagedAddress, 4)); 757BlockSize = (int) checked((uint) Marshal.ReadInt32(unmanagedAddress, 8)); 758SecurityTrailer = (int) checked((uint) Marshal.ReadInt32(unmanagedAddress, 12)); 851DataCipherAlg = Marshal.ReadInt32(unmanagedAddress, 4); 852DataKeySize = Marshal.ReadInt32(unmanagedAddress, 8); 853DataHashAlg = Marshal.ReadInt32(unmanagedAddress, 12); 854DataHashKeySize = Marshal.ReadInt32(unmanagedAddress, 16); 855KeyExchangeAlg = Marshal.ReadInt32(unmanagedAddress, 20); 856KeyExchKeySize = Marshal.ReadInt32(unmanagedAddress, 24); 954Capabilities = Marshal.ReadInt32(unmanagedAddress, (int)Marshal.OffsetOf(typeof(SecurityPackageInfo),"Capabilities")); 957MaxToken = Marshal.ReadInt32(unmanagedAddress, (int)Marshal.OffsetOf(typeof(SecurityPackageInfo),"MaxToken"));
net\System\Net\HttpListener.cs (1)
2434return Marshal.ReadInt32(blob, (int)Marshal.OffsetOf(ChannelBindingStatusType, "ChannelTokenSize"));
System.Data (5)
fx\src\data\System\Data\OleDb\DBPropSet.cs (1)
130int cProperties = Marshal.ReadInt32(ptr, offset + ADP.PtrSize);
fx\src\data\System\Data\OleDb\OleDbConnectionInternal.cs (2)
512if ((1 == literalCount) && Marshal.ReadInt32(literalInfo, ODB.OffsetOf_tagDBLITERALINFO_it) == literal) { // WebData 98612 559supportedSchemas[i]._restrictions = Marshal.ReadInt32(schemaRestrictions, i * 4);
fx\src\data\System\Data\OleDb\PropertyInfoSet.cs (1)
121int infoCount = Marshal.ReadInt32(ptr, offset + ADP.PtrSize);
fx\src\data\System\Data\ProviderBase\DbBuffer.cs (1)
251value = Marshal.ReadInt32(ptr, offset);
System.IdentityModel (16)
System\IdentityModel\SspiWrapper.cs (16)
175Capabilities = Marshal.ReadInt32(unmanagedAddress, (int)Marshal.OffsetOf(typeof(SecurityPackageInfo), "Capabilities")); 178MaxToken = Marshal.ReadInt32(unmanagedAddress, (int)Marshal.OffsetOf(typeof(SecurityPackageInfo), "MaxToken")); 277trailer = Marshal.ReadInt32(unmanagedAddress, 4); 278maximumMessage = Marshal.ReadInt32(unmanagedAddress, 8); 279buffersCount = Marshal.ReadInt32(unmanagedAddress, 12); 280blockSize = Marshal.ReadInt32(unmanagedAddress, 16); 613attribute = new NegotiationInfoClass(sspiHandle, Marshal.ReadInt32(new IntPtr(ptr), NegotiationInfo.NegotiationStateOffset)); 884DataCipherAlg = Marshal.ReadInt32(unmanagedAddress, 4); 885DataKeySize = Marshal.ReadInt32(unmanagedAddress, 8); 886DataHashAlg = Marshal.ReadInt32(unmanagedAddress, 12); 887DataHashKeySize = Marshal.ReadInt32(unmanagedAddress, 16); 888KeyExchangeAlg = Marshal.ReadInt32(unmanagedAddress, 20); 889KeyExchKeySize = Marshal.ReadInt32(unmanagedAddress, 24); 908MaxSignature = Marshal.ReadInt32(unmanagedAddress, 4); 909BlockSize = Marshal.ReadInt32(unmanagedAddress, 8); 910SecurityTrailer = Marshal.ReadInt32(unmanagedAddress, 12);
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ControlPaint.cs (1)
276int color = Marshal.ReadInt32(scan, x*4);