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