16 references to SerializeAsync
Aspire.Cli.Tests (12)
Projects\ProjectLocatorTests.cs (12)
760await JsonSerializer.SerializeAsync(writer, new 789await JsonSerializer.SerializeAsync(writer, new 820await JsonSerializer.SerializeAsync(writer, new 848await JsonSerializer.SerializeAsync(writer, new 891await JsonSerializer.SerializeAsync(writer, new 1454await JsonSerializer.SerializeAsync(writer, new 3868await JsonSerializer.SerializeAsync(writer, new 3902await JsonSerializer.SerializeAsync(writer, new 3935await JsonSerializer.SerializeAsync(writer, new 3968await JsonSerializer.SerializeAsync(writer, new 4012await JsonSerializer.SerializeAsync(writer, new 4305await JsonSerializer.SerializeAsync(writer, new
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
Internal\JsonRequestHelpers.cs (1)
172await JsonSerializer.SerializeAsync(stream, responseBody, options, cancellationToken);
Microsoft.AspNetCore.Mvc.Core (1)
Formatters\SystemTextJsonOutputFormatter.cs (1)
118await JsonSerializer.SerializeAsync(transcodingStream, context.Object, SerializerOptions, httpContext.RequestAborted);
Microsoft.DotNet.HotReload.Utils.Generator (1)
Runners\ScriptRunner.cs (1)
44await System.Text.Json.JsonSerializer.SerializeAsync(s, summary, cancellationToken: ct);
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)"/>.