16 references to ReadInt32
Microsoft.CodeAnalysis.CodeStyle (16)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ObjectWriterExtensions.cs (1)
29var length = reader.ReadInt32();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyle.cs (1)
498(Capitalization)reader.ReadInt32());
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SerializableNamingRule.cs (1)
57EnforcementLevel = ((DiagnosticSeverity)reader.ReadInt32()).ToReportDiagnostic(),
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (4)
242reader.ReadArray(r => (Accessibility)r.ReadInt32()), 419var category = (SymbolCategory)reader.ReadInt32(); 420var kind = (byte)((category != SymbolCategory.Invalid) ? reader.ReadInt32() : 0); 547=> new((ModifierKindEnum)reader.ReadInt32());
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectReader.cs (3)
167case TypeCode.Int32: return ReadInt32(); 234return Encoding.GetEncoding(ReadInt32()); 318TypeCode.StringRef_4Bytes => _stringReferenceMap.GetValue(ReadInt32()),
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\BKTree.Edge.cs (2)
25=> new(editDistance: reader.ReadInt32(), childNodeIndex: reader.ReadInt32());
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\BKTree.Node.cs (4)
38new TextSpan(start: reader.ReadInt32(), length: reader.ReadInt32()), 39edgeCount: reader.ReadInt32(), firstEdgeIndex: reader.ReadInt32());