8 overrides of WriteLineAsync
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Buffers\ViewBufferTextWriter.cs (1)
235public override Task WriteLineAsync(string value)
Microsoft.AspNetCore.WebUtilities (1)
HttpResponseStreamWriter.cs (1)
468public override Task WriteLineAsync(string? value)
System.Private.CoreLib (6)
src\libraries\System.Private.CoreLib\src\System\CodeDom\Compiler\IndentedTextWriter.cs (1)
428public override async Task WriteLineAsync(string? value)
src\libraries\System.Private.CoreLib\src\System\IO\StreamWriter.cs (1)
856public override Task WriteLineAsync(string? value)
src\libraries\System.Private.CoreLib\src\System\IO\StringWriter.cs (1)
256public override Task WriteLineAsync(string? value)
src\libraries\System.Private.CoreLib\src\System\IO\TextWriter.CreateBroadcasting.cs (1)
495public override async Task WriteLineAsync(string? value)
src\libraries\System.Private.CoreLib\src\System\IO\TextWriter.cs (2)
751public override Task WriteLineAsync(string? value) => Task.CompletedTask; 1011public override Task WriteLineAsync(string? value)
46 references to WriteLineAsync
ClientSample (1)
RawSample.cs (1)
86await output.WriteLineAsync(Encoding.UTF8.GetString(buffer.ToArray()));
dotnet-openapi (6)
Commands\AddFileCommand.cs (2)
43await Warning.WriteLineAsync($"The extension for the given file '{sourceFile}' should have been one of: {string.Join(",", ApprovedExtensions)}."); 44await Warning.WriteLineAsync($"The reference has been added, but may fail at build-time if the format is not correct.");
Commands\BaseCommand.cs (4)
521await Out.WriteLineAsync($"Downloading to '{destinationPath}'."); 544await Out.WriteLineAsync($"Not overwriting existing and matching file '{destinationPath}'."); 571await Error.WriteLineAsync("Downloading failed."); 572await Error.WriteLineAsync(ex.ToString());
GenerateDocumentationAndConfigFiles (11)
Program.cs (11)
277await Console.Error.WriteLineAsync($"'{path}' does not exist").ConfigureAwait(false); 378await Console.Out.WriteLineAsync($"Failed to create analyzer rules missing documentation file. Http response timed out").ConfigureAwait(false); 384await Console.Error.WriteLineAsync("One or more auto-generated documentation files were either edited manually, or not updated. Please revert changes made to the following files (if manually edited) and run `dotnet msbuild /t:pack` at the root of the repo to automatically update them:").ConfigureAwait(false); 819await Console.Error.WriteLineAsync($"Missing entry in {fileWithPath}").ConfigureAwait(false); 820await Console.Error.WriteLineAsync(line).ConfigureAwait(false); 875await Console.Error.WriteLineAsync($"'{assemblyPath}' does not exist").ConfigureAwait(false); 887await Console.Error.WriteLineAsync(ex.Message).ConfigureAwait(false); 913await Console.Error.WriteLineAsync($"Expected both '{shippedFile}' and '{unshippedFile}' to exist or not exist, but '{existingFile}' exists and '{nonExistingFile}' does not exist.").ConfigureAwait(false); 923await Console.Error.WriteLineAsync($"'{shippedFile}' exists but was not expected").ConfigureAwait(false); 952await Console.Error.WriteLineAsync(ex.Message).ConfigureAwait(false); 960await Console.Error.WriteLineAsync($"Could not find any 'AnalyzerReleases.Shipped.md' file").ConfigureAwait(false);
GenerateRulesMissingDocumentation (4)
Program.cs (4)
19await Console.Error.WriteLineAsync($"Excepted {expectedArguments} arguments, found {args.Length}: {string.Join(';', args)}").ConfigureAwait(false); 25await Console.Error.WriteLineAsync($"Excepted the first argument to start with `{validateOnlyPrefix}`. found `{args[0]}`.").ConfigureAwait(false); 86await Console.Error.WriteLineAsync($"Missing entry in '{fileWithPath}'. Please add the below entry to this file to fix the build:").ConfigureAwait(false); 87await Console.Error.WriteLineAsync(line).ConfigureAwait(false);
Microsoft.AspNetCore.Mvc.Razor.Test (16)
RazorPageTest.cs (4)
807"footer", () => page.Output.WriteLineAsync("Footer section") 810"header", () => page.Output.WriteLineAsync("Header section") 813"async-header", () => page.Output.WriteLineAsync("Async Header section") 816"async-footer", () => page.Output.WriteLineAsync("Async Footer section")
RazorViewTest.cs (12)
778await v.Output.WriteLineAsync("layout-section-content"); 846await v.Output.WriteLineAsync("layout-section-content"); 900await v.Output.WriteLineAsync("foo-content"); 963await v.Output.WriteLineAsync("foo-content"); 978await v.Output.WriteLineAsync("dont-render-inner-foo"); 1074await v.Output.WriteLineAsync("foo-content"); 1084v.DefineSection("bar", () => v.Output.WriteLineAsync("bar-content")); 1140await v.Output.WriteLineAsync("foo-content"); 1154v.DefineSection("bar", () => v.Output.WriteLineAsync("bar-content")); 1313await v.Output.WriteLineAsync("foo-content"); 1324await v.Output.WriteLineAsync(htmlEncoder.Encode(v.RenderSection("foo").ToString())); 1527v.DefineSection("bar", () => v.Output.WriteLineAsync("bar-content"));
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
Buffers\ViewBufferTextWriterTest.cs (1)
153await writer.WriteLineAsync(input4);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
Rpc\RpcServer.cs (1)
177await _streamWriter.WriteLineAsync(responseJson).ConfigureAwait(false);
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (1)
src\Workspaces\MSBuild\BuildHost\Rpc\RpcServer.cs (1)
177await _streamWriter.WriteLineAsync(responseJson).ConfigureAwait(false);
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\CodeDom\Compiler\IndentedTextWriter.cs (2)
265return _writer.WriteLineAsync(s); 431await _writer.WriteLineAsync(value).ConfigureAwait(false);
src\libraries\System.Private.CoreLib\src\System\IO\StreamWriter.cs (1)
869return base.WriteLineAsync(value);
src\libraries\System.Private.CoreLib\src\System\IO\TextWriter.CreateBroadcasting.cs (1)
499await writer.WriteLineAsync(value).ConfigureAwait(false);
TestProject.AppHost (1)
TestProgram.cs (1)
187await Console.Out.WriteLineAsync("$ENDPOINTS: " + JsonSerializer.Serialize(root, JsonSerializerOptions.Default));