25 references to WriteInteger
Microsoft.CodeAnalysis.CodeStyle (25)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.ArrayTypeSymbolKey.cs (1)
16
visitor.
WriteInteger
(symbol.Rank);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.BodyLevelSymbolKey.cs (2)
59
visitor.
WriteInteger
((int)kind);
72
visitor.
WriteInteger
(GetOrdinal());
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.ErrorTypeSymbolKey.cs (4)
23
visitor.
WriteInteger
(0);
27
visitor.
WriteInteger
(1);
31
visitor.
WriteInteger
(2);
36
visitor.
WriteInteger
(symbol.Arity);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.FunctionPointerTypeSymbolKey.cs (1)
21
visitor.
WriteInteger
((int)callingConvention);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.MethodSymbolKey.cs (1)
134
visitor.
WriteInteger
(symbol.Arity);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.NamedTypeSymbolKey.cs (1)
21
visitor.
WriteInteger
(symbol.Arity);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.NamespaceSymbolKey.cs (4)
31
visitor.
WriteInteger
(0);
41
visitor.
WriteInteger
(1);
45
visitor.
WriteInteger
(2);
49
visitor.
WriteInteger
(3);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.ParameterSymbolKey.cs (1)
19
visitor.
WriteInteger
(symbol.Ordinal);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyWriter.cs (8)
147
WriteInteger
(id);
208
WriteInteger
(id);
229
=>
WriteInteger
(value ? 1 : 0);
260
WriteInteger
((int)location.Kind);
264
WriteInteger
(location.SourceSpan.Start);
265
WriteInteger
(location.SourceSpan.Length);
315
WriteInteger
(array.Length);
324
internal void WriteRefKind(RefKind refKind) =>
WriteInteger
((int)refKind);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.TypeParameterOrdinalSymbolKey.cs (2)
16
visitor.
WriteInteger
(methodIndex);
17
visitor.
WriteInteger
(symbol.Ordinal);