8 references to SerializeAsync
Aspire.Cli.Tests (3)
Projects\ProjectLocatorTests.cs (3)
61
await JsonSerializer.
SerializeAsync
(writer, new
99
await JsonSerializer.
SerializeAsync
(writer, new
131
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)
94
await JsonSerializer.
SerializeAsync
(fileStream, testsToWrite.OrderBy(x => x)).ConfigureAwait(false);