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