63 references to WriteInt32
Microsoft.CodeAnalysis.Workspaces (63)
FindSymbols\SymbolTree\SymbolTreeInfo_Serialization.cs (5)
108writer.WriteInt32(_nodes.Length); 112writer.WriteInt32(group.Length); 133writer.WriteInt32(0); 137writer.WriteInt32(_receiverTypeNameToExtensionMethodMap.Count); 143writer.WriteInt32(values.Count);
FindSymbols\SyntaxTree\SyntaxTreeIndex.ContextInfo.cs (3)
169writer.WriteInt32(_predefinedTypes); 170writer.WriteInt32(_predefinedOperators); 171writer.WriteInt32((int)_containingNodes);
FindSymbols\SyntaxTree\SyntaxTreeIndex_Persistence.cs (6)
31writer.WriteInt32(_aliasInfo?.Count ?? 0); 38writer.WriteInt32(arity); 43writer.WriteInt32(_interceptsLocationInfo?.Count ?? 0); 49writer.WriteInt32(interceptsLocationData.Position); 50writer.WriteInt32(span.Start); 51writer.WriteInt32(span.Length);
Serialization\AbstractOptionsSerializationService.cs (10)
28writer.WriteInt32((int)options.OutputKind); 33writer.WriteInt32((int)options.OptimizationLevel); 47writer.WriteInt32((int)options.Platform); 48writer.WriteInt32((int)options.GeneralDiagnosticOption); 50writer.WriteInt32(options.WarningLevel); 54writer.WriteInt32(options.SpecificDiagnosticOptions.Count); 58writer.WriteInt32((int)kv.Value); 193writer.WriteInt32((int)options.Kind); 194writer.WriteInt32((int)options.DocumentationMode); 198writer.WriteInt32(options.Features.Count);
Serialization\SerializableSourceText.cs (4)
148writer.WriteInt32((int)SerializationKinds.MemoryMapFile); 150writer.WriteInt32((int)_storageHandle.ChecksumAlgorithm); 157writer.WriteInt32((int)SerializationKinds.Bits); 159writer.WriteInt32((int)_text.ChecksumAlgorithm);
Serialization\SerializerService_Reference.cs (13)
180writer.WriteInt32((int)kind); 222writer.WriteInt32((int)assemblyMetadata.Kind); 223writer.WriteInt32(modules.Length); 252writer.WriteInt32((int)metadata.Kind); 307writer.WriteInt32((int)properties.Kind); 326writer.WriteInt32(MetadataFailed); 335writer.WriteInt32(MetadataFailed); 339writer.WriteInt32((int)assemblyMetadata.Kind); 340writer.WriteInt32(modules.Length); 360writer.WriteInt32((int)MetadataImageKind.Assembly); 361writer.WriteInt32(handles.Count); 365writer.WriteInt32((int)MetadataImageKind.Module); 476writer.WriteInt32((int)metadata.Kind);
Shared\Extensions\SourceTextExtensions.cs (3)
180writer.WriteInt32(length); 202writer.WriteInt32(CharArrayLength); 206writer.WriteInt32(numberOfChunks);
Shared\Utilities\BloomFilter_Serialization.cs (2)
21writer.WriteInt32(_hashFunctionCount); 30writer.WriteInt32(bitArray.Length / 8);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ObjectWriterExtensions.cs (1)
16writer.WriteInt32(values.Length);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyle.cs (1)
488writer.WriteInt32((int)CapitalizationScheme);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SerializableNamingRule.cs (1)
58writer.WriteInt32((int)(EnforcementLevel.ToDiagnosticSeverity() ?? DiagnosticSeverity.Hidden));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (3)
408writer.WriteInt32((int)_category); 413writer.WriteInt32(_kind); 535=> writer.WriteInt32((int)ModifierKindWrapper);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectWriter.cs (3)
381WriteInt32(v); 466WriteInt32(id); 512WriteInt32(encoding.CodePage);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\BKTree.Edge.cs (2)
20writer.WriteInt32(EditDistance); 21writer.WriteInt32(ChildNodeIndex);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\BKTree.Node.cs (4)
29writer.WriteInt32(WordSpan.Start); 30writer.WriteInt32(WordSpan.Length); 31writer.WriteInt32(EdgeCount); 32writer.WriteInt32(FirstEdgeIndex);
Workspace\Solution\SourceGeneratorExecutionVersion.cs (2)
40writer.WriteInt32(MajorVersion); 41writer.WriteInt32(MinorVersion);