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