9 references to SerializeAsync
Aspire.Cli.Tests (4)
Projects\ProjectLocatorTests.cs (4)
66
await JsonSerializer.
SerializeAsync
(writer, new
100
await JsonSerializer.
SerializeAsync
(writer, new
128
await JsonSerializer.
SerializeAsync
(writer, new
172
await JsonSerializer.
SerializeAsync
(writer, new
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
Internal\JsonRequestHelpers.cs (1)
172
await JsonSerializer.
SerializeAsync
(stream, responseBody, options, cancellationToken);
Microsoft.AspNetCore.Mvc.Core (1)
Formatters\SystemTextJsonOutputFormatter.cs (1)
118
await JsonSerializer.
SerializeAsync
(transcodingStream, context.Object, SerializerOptions);
Microsoft.AspNetCore.Mvc.Core.Test (1)
Formatters\SystemTextJsonOutputFormatterTest.cs (1)
91
await JsonSerializer.
SerializeAsync
(expected, LargeAsync(), JsonSerializerOptions.Web);
System.Text.Json (1)
System\Text\Json\Serialization\JsonSerializer.Write.String.cs (1)
26
/// and <see cref="
SerializeAsync
{TValue}(IO.Stream, TValue, JsonSerializerOptions?, Threading.CancellationToken)"/>.
TestDiscoveryWorker (1)
Program.cs (1)
95
await JsonSerializer.
SerializeAsync
(fileStream, testsToWrite.OrderBy(x => x)).ConfigureAwait(false);