75 references to GetInt32
Microsoft.Build (11)
AssemblyNameExtension.cs (5)
136var flags = (AssemblyNameFlags)info.GetInt32("flags"); 137var processorArchitecture = (ProcessorArchitecture)info.GetInt32("cpuarch"); 143cultureInfo = new CultureInfo(info.GetInt32("ci")); 146var hashAlgorithm = (System.Configuration.Assemblies.AssemblyHashAlgorithm)info.GetInt32("hashAlg"); 147var versionCompatibility = (AssemblyVersionCompatibility)info.GetInt32("verCompat");
Collections\RetrievableEntryHashSet\RetrievableEntryHashSet.cs (2)
550int capacity = _siInfo.GetInt32(CapacityName); 578_version = _siInfo.GetInt32(VersionName);
Errors\InvalidProjectFileException.cs (4)
95lineNumber = info.GetInt32("lineNumber"); 96columnNumber = info.GetInt32("columnNumber"); 97endLineNumber = info.GetInt32("endLineNumber"); 98endColumnNumber = info.GetInt32("endColumnNumber");
Microsoft.Build.Tasks.Core (5)
AssemblyNameExtension.cs (5)
136var flags = (AssemblyNameFlags)info.GetInt32("flags"); 137var processorArchitecture = (ProcessorArchitecture)info.GetInt32("cpuarch"); 143cultureInfo = new CultureInfo(info.GetInt32("ci")); 146var hashAlgorithm = (System.Configuration.Assemblies.AssemblyHashAlgorithm)info.GetInt32("hashAlg"); 147var versionCompatibility = (AssemblyVersionCompatibility)info.GetInt32("verCompat");
MSBuild (5)
AssemblyNameExtension.cs (5)
136var flags = (AssemblyNameFlags)info.GetInt32("flags"); 137var processorArchitecture = (ProcessorArchitecture)info.GetInt32("cpuarch"); 143cultureInfo = new CultureInfo(info.GetInt32("ci")); 146var hashAlgorithm = (System.Configuration.Assemblies.AssemblyHashAlgorithm)info.GetInt32("hashAlg"); 147var versionCompatibility = (AssemblyVersionCompatibility)info.GetInt32("verCompat");
MSBuildTaskHost (5)
AssemblyNameExtension.cs (5)
136var flags = (AssemblyNameFlags)info.GetInt32("flags"); 137var processorArchitecture = (ProcessorArchitecture)info.GetInt32("cpuarch"); 143cultureInfo = new CultureInfo(info.GetInt32("ci")); 146var hashAlgorithm = (System.Configuration.Assemblies.AssemblyHashAlgorithm)info.GetInt32("hashAlg"); 147var versionCompatibility = (AssemblyVersionCompatibility)info.GetInt32("verCompat");
PresentationBuildTasks (2)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlParseException.cs (2)
231_lineNumber = info.GetInt32("Line"); 232_linePosition = info.GetInt32("Position");
PresentationFramework (5)
System\Windows\Markup\XamlParseException.cs (2)
231_lineNumber = info.GetInt32("Line"); 232_linePosition = info.GetInt32("Position");
System\Windows\Navigation\Journal.cs (2)
62_currentEntryIndex = info.GetInt32("_currentEntryIndex"); 64_journalEntryId = info.GetInt32("_journalEntryId");
System\Windows\Navigation\JournalEntry.cs (1)
99_id = info.GetInt32("_id");
System.Collections (4)
System\Collections\Generic\LinkedList.cs (2)
352int realVersion = _siInfo.GetInt32(VersionName); 353int count = _siInfo.GetInt32(CountName);
System\Collections\Generic\SortedSet.cs (2)
1564int savedCount = siInfo.GetInt32(CountName); 1581version = siInfo.GetInt32(VersionName);
System.Collections.Specialized (1)
System\Collections\Specialized\OrderedDictionary.cs (1)
413_initialCapacity = _siInfo.GetInt32(InitCapacityName);
System.Configuration.ConfigurationManager (3)
System\Configuration\ConfigurationErrorsException.cs (2)
116firstLine = info.GetInt32(SerializationParamLine); 121count = info.GetInt32(SerializationParamErrorCount);
System\Configuration\ConfigurationException.cs (1)
34Init(info.GetString("filename"), info.GetInt32("line"));
System.Data.Common (6)
System\Data\DataSet.cs (1)
434int tableCount = info.GetInt32("DataSet.Tables.Count");
System\Data\DataTable.cs (5)
441MinimumCapacity = info.GetInt32("DataTable.MinimumCapacity"); 453int colCount = info.GetInt32("DataTable.Columns.Count"); 482dc.MaxLength = info.GetInt32(string.Format(formatProvider, "DataTable.DataColumn_{0}.MaxLength", i)); 785int rowCount = info.GetInt32(string.Format(formatProvider, "DataTable_{0}.Rows.Count", serIndex)); 786int recordCount = info.GetInt32(string.Format(formatProvider, "DataTable_{0}.Records.Count", serIndex));
System.IO.Compression (1)
System\IO\Compression\DeflateZLib\ZLibException.cs (1)
61_zlibErrorCode = (ZLibNative.ErrorCode)info.GetInt32("zlibErrorCode");
System.Net.Mail (1)
System\Net\Mail\SmtpException.cs (1)
100_statusCode = (SmtpStatusCode)serializationInfo.GetInt32("Status");
System.Private.CoreLib (13)
src\libraries\System.Private.CoreLib\src\System\Collections\Hashtable.cs (2)
1120hashsize = siInfo.GetInt32(HashSizeName); 1173_version = siInfo.GetInt32(VersionName);
src\libraries\System.Private.CoreLib\src\System\ComponentModel\Win32Exception.cs (1)
65NativeErrorCode = info.GetInt32(nameof(NativeErrorCode));
src\libraries\System.Private.CoreLib\src\System\Decimal.cs (4)
203_flags = info.GetInt32("flags"); 204_hi32 = (uint)info.GetInt32("hi"); 205_lo64 = (uint)info.GetInt32("lo") + ((ulong)info.GetInt32("mid") << 32);
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Contracts\ContractException.cs (1)
42_kind = (ContractFailureKind)info.GetInt32("Kind");
src\libraries\System.Private.CoreLib\src\System\Exception.cs (1)
55_HResult = info.GetInt32("HResult"); // Do not rename (binary serialization)
src\libraries\System.Private.CoreLib\src\System\Text\StringBuilder.cs (2)
182persistedMaxCapacity = info.GetInt32(MaxCapacityField); 188persistedCapacity = info.GetInt32(CapacityField);
src\libraries\System.Private.CoreLib\src\System\TypeLoadException.cs (1)
59_resourceId = info.GetInt32("TypeLoadResourceID");
src\libraries\System.Private.CoreLib\src\System\UnitySerializationHolder.cs (1)
40_unityType = info.GetInt32("UnityType");
System.Windows.Forms (6)
System\Windows\Forms\Controls\ListView\ListViewItem.cs (2)
1198imageIndex = info.GetInt32(nameof(ImageIndex)); 1206SubItemCount = info.GetInt32(nameof(SubItemCount));
System\Windows\Forms\Controls\TreeView\TreeNode.cs (4)
1515imageIndex = serializationInfo.GetInt32(entry.Name); 1518selectedImageIndex = serializationInfo.GetInt32(entry.Name); 1530stateImageIndex = serializationInfo.GetInt32(entry.Name); 1533childCount = serializationInfo.GetInt32(entry.Name);
System.Windows.Forms.Tests (3)
System\Windows\Forms\ListViewGroupTests.cs (3)
1376Assert.Throws<SerializationException>(() => info.GetInt32("ItemsCount")); 1394Assert.Throws<SerializationException>(() => info.GetInt32("ItemsCount")); 1412Assert.Equal(1, info.GetInt32("ItemsCount"));
System.Xaml (2)
System\Xaml\XamlException.cs (2)
71LineNumber = info.GetInt32("Line"); 72LinePosition = info.GetInt32("Offset");
WindowsBase.Tests (2)
System\Security\RightsManagement\RightsManagementExceptionTests.cs (2)
245Assert.Equal(-2146233088, info.GetInt32("HResult")); 261Assert.Equal(-2146233088, info.GetInt32("HResult"));