19 references to WriteNumber
Aspire.Hosting.Dapr (1)
src\Shared\Utf8JsonWriterExtensions.cs (1)
74writer.WriteNumber(name, value.Value);
Aspire.Hosting.PostgreSQL (1)
PostgresBuilderExtensions.cs (1)
190writer.WriteNumber("Port", (int)endpoint.TargetPort!);
Aspire.Hosting.Redis (1)
RedisBuilderExtensions.cs (1)
251writer.WriteNumber("db", 0);
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
Infrastructure\DefaultTempDataSerializer.cs (2)
159writer.WriteNumber(key, (int)value); 167writer.WriteNumber(key, intValue);
Microsoft.CodeAnalysis.LanguageServer.Protocol (6)
Protocol\Converters\FormattingOptionsConverter.cs (1)
118writer.WriteNumber("tabSize", value.TabSize);
Protocol\Internal\Converters\ClassifiedTextRunConverter.cs (1)
43writer.WriteNumber(nameof(ClassifiedTextRun.Style), (int)value.Style);
Protocol\Internal\Converters\ContainerElementConverter.cs (1)
77writer.WriteNumber(nameof(ContainerElement.Style), (int)value.Style);
Protocol\Internal\Converters\ImageIdConverter.cs (1)
40writer.WriteNumber(nameof(ImageId.Id), value.Id);
Protocol\Internal\Efficiency\OptimizedVSCompletionListJsonConverter.cs (2)
159writer.WriteNumber("kind", (int)completionItem.Kind); 195writer.WriteNumber("insertTextFormat", (int)completionItem.InsertTextFormat);
Microsoft.Extensions.Logging.Console (6)
JsonConsoleFormatter.cs (6)
71writer.WriteNumber(nameof(LogEntry<object>.EventId), eventId); 175writer.WriteNumber(key, byteValue); 178writer.WriteNumber(key, sbyteValue); 197writer.WriteNumber(key, intValue); 209writer.WriteNumber(key, shortValue); 212writer.WriteNumber(key, ushortValue);
Microsoft.ML.Tokenizers (1)
Utils\TokenizerExtensions.cs (1)
76writer.WriteNumber(pair.Value, pair.Key);
System.Windows.Forms.Tests (1)
System\Windows\Forms\DataObjectTests.cs (1)
2983writer.WriteNumber(nameof(WeatherForecast.TemperatureCelsius), value.TemperatureCelsius);