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