64 references to ReadInt32
Microsoft.CodeAnalysis.Workspaces (64)
FindSymbols\SymbolTree\SymbolTreeInfo_Serialization.cs (9)
199
var nodeCount = reader.
ReadInt32
();
205
var groupCount = reader.
ReadInt32
();
208
var parentIndex = reader.
ReadInt32
();
214
var inheritanceMapKeyCount = reader.
ReadInt32
();
217
var key = reader.
ReadInt32
();
218
var valueCount = reader.
ReadInt32
();
222
var value = reader.
ReadInt32
();
229
var keyCount = reader.
ReadInt32
();
241
var valueCount = reader.
ReadInt32
();
FindSymbols\SyntaxTree\SyntaxTreeIndex.ContextInfo.cs (3)
192
var predefinedTypes = reader.
ReadInt32
();
193
var predefinedOperators = reader.
ReadInt32
();
194
var containingNodes = (ContainingNodes)reader.
ReadInt32
();
FindSymbols\SyntaxTree\SyntaxTreeIndex_Persistence.cs (6)
66
var aliasInfoCount = reader.
ReadInt32
();
78
reader.
ReadInt32
(),
83
var interceptsLocationInfoCount = reader.
ReadInt32
();
94
reader.
ReadInt32
()),
95
new TextSpan(reader.
ReadInt32
(), reader.
ReadInt32
()));
FindSymbols\TopLevelSyntaxTree\DeclaredSymbolInfo.cs (2)
198
var spanStart = reader.
ReadInt32
();
199
var spanLength = reader.
ReadInt32
();
FindSymbols\TopLevelSyntaxTree\TopLevelSyntaxTreeIndex.ExtensionMethodInfo.cs (2)
62
var count = reader.
ReadInt32
();
65
receiverTypeNameToExtensionMethodMapBuilder[reader.ReadRequiredString()] = reader.ReadArray(static r => r.
ReadInt32
());
Serialization\AbstractOptionsSerializationService.cs (10)
107
var outputKind = (OutputKind)reader.
ReadInt32
();
113
var optimizationLevel = (OptimizationLevel)reader.
ReadInt32
();
124
var platform = (Platform)reader.
ReadInt32
();
125
var generalDiagnosticOption = (ReportDiagnostic)reader.
ReadInt32
();
127
var warningLevel = reader.
ReadInt32
();
133
var count = reader.
ReadInt32
();
143
var value = (ReportDiagnostic)reader.
ReadInt32
();
212
var kind = (SourceCodeKind)reader.
ReadInt32
();
213
var documentationMode = (DocumentationMode)reader.
ReadInt32
();
219
var count = reader.
ReadInt32
();
Serialization\SerializableSourceText.cs (3)
179
var kind = (SerializationKinds)reader.
ReadInt32
();
185
var checksumAlgorithm = (SourceHashAlgorithm)reader.
ReadInt32
();
194
var checksumAlgorithm = (SourceHashAlgorithm)reader.
ReadInt32
();
Serialization\SerializerService_Reference.cs (5)
275
var kind = (SerializationKinds)reader.
ReadInt32
();
314
var kind = (MetadataImageKind)reader.
ReadInt32
();
375
var imageKind = reader.
ReadInt32
();
385
var count = reader.
ReadInt32
();
392
metadataKind = (MetadataImageKind)reader.
ReadInt32
();
Shared\Extensions\SourceTextExtensions.cs (3)
247
var length = reader.
ReadInt32
();
254
var chunkSize = reader.
ReadInt32
();
256
var numberOfChunks = reader.
ReadInt32
();
Shared\Utilities\BloomFilter_Serialization.cs (2)
64
var hashFunctionCount = reader.
ReadInt32
();
72
var length = reader.
ReadInt32
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ObjectWriterExtensions.cs (1)
29
var 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)
57
EnforcementLevel = ((DiagnosticSeverity)reader.
ReadInt32
()).ToReportDiagnostic(),
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (4)
242
reader.ReadArray(r => (Accessibility)r.
ReadInt32
()),
419
var category = (SymbolCategory)reader.
ReadInt32
();
420
var kind = (byte)((category != SymbolCategory.Invalid) ? reader.
ReadInt32
() : 0);
547
=> new((ModifierKindEnum)reader.
ReadInt32
());
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectReader.cs (3)
167
case TypeCode.Int32: return
ReadInt32
();
234
return Encoding.GetEncoding(
ReadInt32
());
318
TypeCode.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)
38
new TextSpan(start: reader.
ReadInt32
(), length: reader.
ReadInt32
()),
39
edgeCount: reader.
ReadInt32
(), firstEdgeIndex: reader.
ReadInt32
());
Workspace\Solution\SourceGeneratorExecutionVersion.cs (3)
45
=> new(reader.
ReadInt32
(), reader.
ReadInt32
());
94
var count = reader.
ReadInt32
();