8 overrides of WriteLineAsync
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Buffers\ViewBufferTextWriter.cs (1)
235
public override Task
WriteLineAsync
(string value)
Microsoft.AspNetCore.WebUtilities (1)
HttpResponseStreamWriter.cs (1)
468
public override Task
WriteLineAsync
(string? value)
System.Private.CoreLib (6)
src\libraries\System.Private.CoreLib\src\System\CodeDom\Compiler\IndentedTextWriter.cs (1)
474
public override async Task
WriteLineAsync
(string? value)
src\libraries\System.Private.CoreLib\src\System\IO\StreamWriter.cs (1)
859
public override Task
WriteLineAsync
(string? value)
src\libraries\System.Private.CoreLib\src\System\IO\StringWriter.cs (1)
254
public override Task
WriteLineAsync
(string? value)
src\libraries\System.Private.CoreLib\src\System\IO\TextWriter.CreateBroadcasting.cs (1)
527
public override async Task
WriteLineAsync
(string? value)
src\libraries\System.Private.CoreLib\src\System\IO\TextWriter.cs (2)
836
public override Task
WriteLineAsync
(string? value) => Task.CompletedTask;
1116
public override Task
WriteLineAsync
(string? value)
48 references to WriteLineAsync
aspire (1)
Program.cs (1)
217
await Console.Error.
WriteLineAsync
(errorMessage);
ClientSample (1)
RawSample.cs (1)
86
await output.
WriteLineAsync
(Encoding.UTF8.GetString(buffer.ToArray()));
dotnet-openapi (6)
Commands\AddFileCommand.cs (2)
43
await Warning.
WriteLineAsync
($"The extension for the given file '{sourceFile}' should have been one of: {string.Join(",", ApprovedExtensions)}.");
44
await Warning.
WriteLineAsync
($"The reference has been added, but may fail at build-time if the format is not correct.");
Commands\BaseCommand.cs (4)
521
await Out.
WriteLineAsync
($"Downloading to '{destinationPath}'.");
544
await Out.
WriteLineAsync
($"Not overwriting existing and matching file '{destinationPath}'.");
571
await Error.
WriteLineAsync
("Downloading failed.");
572
await Error.
WriteLineAsync
(ex.ToString());
GenerateDocumentationAndConfigFiles (13)
Program.cs (13)
38
await Console.Error.
WriteLineAsync
($"Expected {expectedArguments} arguments, found {args.Length}: {string.Join(';', args)}").ConfigureAwait(false);
44
await Console.Error.
WriteLineAsync
($"Expected the first argument to start with `{validateOnlyPrefix}`. found `{args[0]}`.").ConfigureAwait(false);
104
await Console.Error.
WriteLineAsync
($"'{path}' does not exist").ConfigureAwait(false);
205
await Console.Out.
WriteLineAsync
($"Failed to create analyzer rules missing documentation file. Http response timed out").ConfigureAwait(false);
211
await 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 `msbuild /t:pack` at the root of the repo to automatically update them:").ConfigureAwait(false);
611
await Console.Error.
WriteLineAsync
($"Missing entry in {fileWithPath}").ConfigureAwait(false);
612
await Console.Error.
WriteLineAsync
(line).ConfigureAwait(false);
667
await Console.Error.
WriteLineAsync
($"'{assemblyPath}' does not exist").ConfigureAwait(false);
679
await Console.Error.
WriteLineAsync
(ex.Message).ConfigureAwait(false);
705
await Console.Error.
WriteLineAsync
($"Expected both '{shippedFile}' and '{unshippedFile}' to exist or not exist, but '{existingFile}' exists and '{nonExistingFile}' does not exist.").ConfigureAwait(false);
715
await Console.Error.
WriteLineAsync
($"'{shippedFile}' exists but was not expected").ConfigureAwait(false);
744
await Console.Error.
WriteLineAsync
(ex.Message).ConfigureAwait(false);
752
await Console.Error.
WriteLineAsync
($"Could not find any 'AnalyzerReleases.Shipped.md' file").ConfigureAwait(false);
GenerateRulesMissingDocumentation (4)
Program.cs (4)
19
await Console.Error.
WriteLineAsync
($"Excepted {expectedArguments} arguments, found {args.Length}: {string.Join(';', args)}").ConfigureAwait(false);
25
await Console.Error.
WriteLineAsync
($"Excepted the first argument to start with `{validateOnlyPrefix}`. found `{args[0]}`.").ConfigureAwait(false);
86
await Console.Error.
WriteLineAsync
($"Missing entry in '{fileWithPath}'. Please add the below entry to this file to fix the build:").ConfigureAwait(false);
87
await 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)
778
await v.Output.
WriteLineAsync
("layout-section-content");
846
await v.Output.
WriteLineAsync
("layout-section-content");
900
await v.Output.
WriteLineAsync
("foo-content");
963
await v.Output.
WriteLineAsync
("foo-content");
978
await v.Output.
WriteLineAsync
("dont-render-inner-foo");
1074
await v.Output.
WriteLineAsync
("foo-content");
1084
v.DefineSection("bar", () => v.Output.
WriteLineAsync
("bar-content"));
1140
await v.Output.
WriteLineAsync
("foo-content");
1154
v.DefineSection("bar", () => v.Output.
WriteLineAsync
("bar-content"));
1313
await v.Output.
WriteLineAsync
("foo-content");
1324
await v.Output.
WriteLineAsync
(htmlEncoder.Encode(v.RenderSection("foo").ToString()));
1527
v.DefineSection("bar", () => v.Output.
WriteLineAsync
("bar-content"));
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
Rpc\RpcServer.cs (1)
177
await _streamWriter.
WriteLineAsync
(responseJson).ConfigureAwait(false);
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (1)
src\Workspaces\MSBuild\BuildHost\Rpc\RpcServer.cs (1)
177
await _streamWriter.
WriteLineAsync
(responseJson).ConfigureAwait(false);
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\CodeDom\Compiler\IndentedTextWriter.cs (2)
287
return _writer.
WriteLineAsync
(s);
477
await _writer.
WriteLineAsync
(value).ConfigureAwait(false);
src\libraries\System.Private.CoreLib\src\System\IO\StreamWriter.cs (1)
872
return base.
WriteLineAsync
(value);
src\libraries\System.Private.CoreLib\src\System\IO\TextWriter.CreateBroadcasting.cs (1)
531
await writer.
WriteLineAsync
(value).ConfigureAwait(false);
TestProject.AppHost (1)
TestProgram.cs (1)
199
await Console.Out.
WriteLineAsync
("$ENDPOINTS: " + JsonSerializer.Serialize(root, JsonSerializerOptions.Default));