Base:
method
ReadToEnd
System.IO.TextReader.ReadToEnd()
2 overrides of ReadToEnd
Microsoft.Build.Tasks.Core (1)
GenerateResource.cs (1)
4033public override String ReadToEnd()
System.Private.CoreLib (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\StreamReader.cs (1)
1507public override string ReadToEnd() => "";
138 references to ReadToEnd
aspire (8)
Agents\AspireSkills\AspireSkillsBundleProvider.cs (1)
318var content = reader.ReadToEnd();
Agents\Hooks\TelemetryHookInstaller.cs (1)
68return reader.ReadToEnd();
Certificates\CertificateGeneration\MacOSCertificateManager.cs (1)
304var output = findCertificateProcess!.StandardOutput.ReadToEnd();
Certificates\CertificateHelpers.cs (1)
129var stdout = process.StandardOutput.ReadToEnd();
Commands\RenderCommand.cs (1)
836return reader.ReadToEnd();
Projects\DotNetBasedAppHostServerProject.cs (1)
740var output = process.StandardOutput.ReadToEnd();
Utils\CliDownloader.cs (2)
157var output = process.StandardOutput.ReadToEnd() + process.StandardError.ReadToEnd();
aspire-managed (1)
NuGet\TrustedRootsHelper.cs (1)
139var pemContents = reader.ReadToEnd();
Aspire.Cli.EndToEnd.Tests (5)
AppHostSyntaxErrorOutputTests.cs (1)
173return reader.ReadToEnd();
Helpers\CliE2ETestHelpers.cs (4)
457var standardOutput = process.StandardOutput.ReadToEnd(); 458var standardError = process.StandardError.ReadToEnd(); 507var standardOutput = process.StandardOutput.ReadToEnd(); 508var standardError = process.StandardError.ReadToEnd();
Aspire.Cli.Tests (7)
CliSmokeTests.cs (4)
67outputHelper.WriteLine(result.Process.StandardOutput.ReadToEnd()); 93outputHelper.WriteLine(result.Process.StandardOutput.ReadToEnd()); 122outputHelper.WriteLine(result.Process.StandardOutput.ReadToEnd()); 158outputHelper.WriteLine(result.Process.StandardOutput.ReadToEnd());
Commands\ExportCommandTests.cs (1)
944return reader.ReadToEnd();
Commands\SdkDumpCommandTests.cs (1)
307outputHelper.WriteLine(result.Process.StandardOutput.ReadToEnd());
ProfileCaptureServiceTests.cs (1)
670return reader.ReadToEnd();
Aspire.Hosting.Azure (1)
AzureBicepResource.cs (1)
216return reader.ReadToEnd();
Aspire.Hosting.CodeGeneration.Go (1)
AtsGoCodeGenerator.cs (1)
93return reader.ReadToEnd();
Aspire.Hosting.CodeGeneration.Java (1)
AtsJavaCodeGenerator.cs (1)
77return reader.ReadToEnd();
Aspire.Hosting.CodeGeneration.Python (2)
AtsPythonCodeGenerator.cs (1)
655return reader.ReadToEnd();
PythonLanguageSupport.cs (1)
306return reader.ReadToEnd();
Aspire.Hosting.CodeGeneration.Rust (1)
AtsRustCodeGenerator.cs (1)
75return reader.ReadToEnd();
Aspire.Hosting.CodeGeneration.TypeScript (1)
EmbeddedResources.cs (1)
28return reader.ReadToEnd();
Aspire.Hosting.Maui (1)
Utilities\ProjectFileReader.cs (1)
76var output = process.StandardOutput.ReadToEnd();
Aspire.Hosting.MySql.Tests (1)
AddMySqlTests.cs (1)
280var fileContents = new StreamReader(stream).ReadToEnd();
Aspire.Hosting.Python (2)
PythonVersionDetector.cs (2)
90var output = process.StandardOutput.ReadToEnd(); 93output = process.StandardError.ReadToEnd();
Aspire.Hosting.Python.Tests (1)
AddPythonAppTests.cs (1)
361var output = reader.ReadToEnd();
Aspire.Hosting.Tests (1)
MSBuildTests.cs (1)
1374var nuspec = nuspecReader.ReadToEnd();
Contract.Service.IntegrationTests (1)
ServiceContractTests.4.0.0.cs (1)
500return reader.ReadToEnd();
dotnet-dev-certs (1)
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
291var output = findCertificateProcess!.StandardOutput.ReadToEnd();
dotnet-svcutil-lib (2)
Metadata\MetadaExchangeResolver.cs (1)
273errorMsg = new StreamReader(memoryStream, encoding, true).ReadToEnd();
Shared\Utilities\RuntimeEnvironmentHelper.cs (1)
81var doc = XDocument.Parse(new StreamReader(stream).ReadToEnd());
dotnet-svcutil-lib.Tests (2)
ProjectUtils.cs (2)
103csStr = sr.ReadToEnd(); 144csprojStr = sr2.ReadToEnd();
Infrastructure.Tests (2)
Shared\GitCli.cs (2)
40var stdout = process.StandardOutput.ReadToEnd(); 41var stderr = process.StandardError.ReadToEnd();
Microsoft.AspNetCore.Components.Endpoints (1)
DependencyInjection\DefaultRazorComponentsServiceOptionsConfiguration.cs (1)
43options.JavaScriptInitializers = reader.ReadToEnd();
Microsoft.AspNetCore.DeveloperCertificates.XPlat (1)
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
291var output = findCertificateProcess!.StandardOutput.ReadToEnd();
Microsoft.AspNetCore.Mvc.TagHelpers (1)
JavaScriptResources.cs (1)
45var script = streamReader.ReadToEnd();
Microsoft.AspNetCore.Server.IntegrationTesting (2)
Deployers\NginxDeployer.cs (1)
125return process.StandardOutput.ReadToEnd();
src\aspnetcore\src\Shared\Process\ProcessExtensions.cs (1)
111stdout = process.StandardOutput.ReadToEnd();
Microsoft.AspNetCore.Server.Kestrel.Core (1)
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
291var output = findCertificateProcess!.StandardOutput.ReadToEnd();
Microsoft.AspNetCore.StaticAssets (1)
StaticAssetsManifest.cs (1)
30var content = reader.ReadToEnd();
Microsoft.AspNetCore.Watch.BrowserRefresh (1)
src\sdk\src\Dotnet.Watch\Web.Middleware\BrowserScriptMiddleware.cs (1)
71var script = reader.ReadToEnd()
Microsoft.Build (1)
Logging\BinaryLogger\Postprocessing\ArchiveFile.cs (1)
81var content = ContentReader.ReadToEnd();
Microsoft.Build.Tasks.Core (10)
BootstrapperUtil\BootstrapperBuilder.cs (2)
231data = sr.ReadToEnd(); 1983string str = r.ReadToEnd();
ManifestUtil\SecurityUtil.cs (3)
835throw new ApplicationException(String.Format(CultureInfo.InvariantCulture, resources.GetString("SecurityUtil.SigntoolFail"), path, signTool.StandardError.ReadToEnd())); 838throw new WarningException(String.Format(CultureInfo.InvariantCulture, resources.GetString("SecurityUtil.SigntoolWarning"), path, signTool.StandardError.ReadToEnd())); 841throw new ApplicationException(String.Format(CultureInfo.InvariantCulture, resources.GetString("SecurityUtil.SigntoolFail"), path, signTool.StandardError.ReadToEnd()));
ManifestUtil\TrustInfo.cs (1)
542return r.ReadToEnd();
ManifestUtil\Util.cs (3)
196return r.ReadToEnd(); 462WriteFile(path, r.ReadToEnd()); 509string text = r.ReadToEnd();
ResourceHandling\MSBuildResXReader.cs (1)
263resources.Add(new LinkedStringResource(name, sr.ReadToEnd(), resxFilename, fileName));
Microsoft.CodeAnalysis (2)
CommandLine\CommonCompiler.cs (1)
371return reader.ReadToEnd();
Text\SourceText.cs (1)
320string text = reader.ReadToEnd();
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\EmbeddedSymbols\EmbeddedResources.vb (1)
58Return reader.ReadToEnd()
Microsoft.Data.Analysis.Tests (2)
DataFrame.IOTests.cs (1)
1104var text = reader.ReadToEnd().Split(["\r\n", "\r", "\n"], StringSplitOptions.None);
TextFieldParserTests.cs (1)
54Assert.Throws<ObjectDisposedException>(() => reader.ReadToEnd());
Microsoft.DotNet.Build.Tasks.Installers (1)
src\RpmBuilder.cs (1)
406fileLinkTos.Add(reader.ReadToEnd().TrimEnd());
Microsoft.DotNet.Build.Tasks.VisualStudio (2)
OptProf\GenerateTrainingInputFiles.cs (1)
107var content = reader.ReadToEnd();
Vsix\FinalizeInsertionVsixFile.cs (1)
117jsonStr = reader.ReadToEnd();
Microsoft.DotNet.MacOsPkg.Core (2)
ExecuteHelper.cs (2)
26output = process.StandardOutput.ReadToEnd(); 30throw new Exception($"Command '{command} {arguments}' failed with exit code {process.ExitCode}: {process.StandardError.ReadToEnd()}");
Microsoft.DotNet.TemplateLocator (1)
src\sdk\src\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\SdkDirectoryWorkloadManifestProvider.GlobalJsonReader.cs (1)
45var content = streamReader.ReadToEnd();
Microsoft.Extensions.AI.Evaluation.Reporting (1)
Formats\Html\HtmlReportWriter.cs (1)
83string all = reader.ReadToEnd();
Microsoft.Extensions.Configuration.Json (1)
JsonConfigurationFileParser.cs (1)
31using (JsonDocument doc = JsonDocument.Parse(reader.ReadToEnd(), jsonDocumentOptions))
Microsoft.Extensions.Configuration.KeyPerFile (1)
KeyPerFileConfigurationProvider.cs (1)
99data.Add(NormalizeKey(file.Name), TrimNewLine(streamReader.ReadToEnd()));
Microsoft.Extensions.Validation.ValidationsGenerator (1)
Emitters\ValidationsGenerator.InfoClasses.Emitter.cs (1)
51var body = reader.ReadToEnd();
Microsoft.Maui (1)
Handlers\HybridWebView\HybridWebViewHandler.cs (1)
483 var contents = reader.ReadToEnd();
Microsoft.Maui.Controls (1)
StyleSheets\StyleSheet.cs (1)
143 return reader.ReadToEnd();
Microsoft.Maui.Controls.Xaml (3)
ResourceDictionaryHelpers.cs (1)
77 rd.LoadFromXaml(reader.ReadToEnd(), assembly);
XamlLoader.cs (2)
250 xaml = reader.ReadToEnd(); 360 var xaml = reader.ReadToEnd();
Microsoft.ML.AutoML (1)
Tuner\AutoZeroTuner.cs (1)
72var json = reader.ReadToEnd();
Microsoft.ML.AutoML.Tests (1)
ColumnInferenceTests.cs (1)
248var json = stream.ReadToEnd();
Microsoft.ML.CodeAnalyzer.Tests (2)
Helpers\TestUtils.cs (2)
21loadedSource = reader.ReadToEnd(); 31return reader.ReadToEnd();
Microsoft.ML.CodeGenerator (3)
Utils.cs (3)
204string outPut = proc.StandardOutput.ReadToEnd(); 229string outPut = proc.StandardOutput.ReadToEnd(); 250string outPut = proc.StandardOutput.ReadToEnd();
Microsoft.ML.Core (2)
CommandLine\CmdParser.cs (2)
982args = (new StreamReader(file)).ReadToEnd(); 1053nested = (new StreamReader(file)).ReadToEnd();
Microsoft.ML.Data (1)
Commands\SaveDataCommand.cs (1)
177string result = reader.ReadToEnd();
Microsoft.ML.GenAI.Core (1)
Utils.cs (1)
178return reader.ReadToEnd();
Microsoft.ML.LightGbm (1)
LightGbmTrainerBase.cs (1)
400string modelText = reader.ReadToEnd();
Microsoft.ML.NugetPackageVersionUpdater (1)
Program.cs (1)
31var output = file.ReadToEnd();
Microsoft.ML.Predictor.Tests (3)
CmdLine\CmdIndenterTest.cs (1)
37return reader.ReadToEnd();
CmdLine\CmdLine.cs (1)
334return reader.ReadToEnd();
ResultProcessor\TestResultProcessor.cs (1)
47File.WriteAllText(filePath, reader.ReadToEnd());
Microsoft.ML.ResultProcessor (1)
ResultProcessor.cs (1)
476savedTrainCmd = sr.ReadToEnd();
Microsoft.ML.Tests (1)
ExpressionLanguageTests\ExpressionLanguageTests.cs (1)
104return reader.ReadToEnd();
Microsoft.ML.Tokenizers.Tests (1)
BpeTests.cs (1)
953string json = reader.ReadToEnd();
Microsoft.NET.Build.Tasks (1)
src\sdk\src\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\SdkDirectoryWorkloadManifestProvider.GlobalJsonReader.cs (1)
45var content = streamReader.ReadToEnd();
Microsoft.NET.HostModel (1)
HostModelUtils.cs (1)
96return (p.ExitCode, p.StandardError.ReadToEnd());
Microsoft.NET.Sdk.Publish.Tasks (3)
Tasks\Http\HttpClientExtensions.cs (2)
250responseText = streamReader.ReadToEnd(); 276return JsonSerializer.Deserialize<T>(reader.ReadToEnd(), s_defaultSerializerOptions);
Tasks\ZipDeploy\ZipDeploymentStatus.cs (1)
93return FromJson<T>(reader.ReadToEnd());
Microsoft.NET.Sdk.WorkloadManifestReader (1)
SdkDirectoryWorkloadManifestProvider.GlobalJsonReader.cs (1)
45var content = streamReader.ReadToEnd();
Microsoft.TemplateEngine.Cli (3)
IReporterExtensions.cs (2)
36reporter.WriteStdOut(process.StandardOutput.ReadToEnd()); 40reporter.WriteStdErr(process.StandardError.ReadToEnd());
JExtensions.cs (1)
221string json = textReader.ReadToEnd();
Microsoft.TemplateEngine.Edge (1)
src\sdk\src\TemplateEngine\Shared\JExtensions.cs (1)
452string json = textReader.ReadToEnd();
Microsoft.TemplateEngine.Orchestrator.RunnableProjects (1)
src\sdk\src\TemplateEngine\Shared\JExtensions.cs (1)
452string json = textReader.ReadToEnd();
Microsoft.TemplateEngine.Utils (2)
InMemoryFileSystem.cs (1)
526return r.ReadToEnd();
src\sdk\src\TemplateEngine\Shared\JExtensions.cs (1)
452string json = textReader.ReadToEnd();
Microsoft.TemplateSearch.Common (1)
src\sdk\src\TemplateEngine\Shared\JExtensions.cs (1)
452string json = textReader.ReadToEnd();
Microsoft.TestPlatform.CoreUtilities (1)
Helpers\DotnetHostHelper.cs (1)
366string content = streamReader.ReadToEnd().Trim();
NuGet.Common (1)
Preprocessor.cs (1)
79text = streamReader.ReadToEnd();
NuGet.PackageManagement (1)
Projects\ProjectJsonNuGetProject.cs (1)
317return JObject.Parse(reader.ReadToEnd());
NuGet.Packaging (1)
NuGetExtractionFileIO.cs (1)
128output = process.StandardOutput.ReadToEnd();
PresentationBuildTasks (2)
Microsoft\Build\Tasks\Windows\MergeLocalizationDirectives.cs (1)
78streamWriter.WriteLine(locStreamReader.ReadToEnd());
Microsoft\Build\Tasks\Windows\UidManager.cs (1)
1149_targetWriter.Write(_sourceReader.ReadToEnd());
PresentationFramework (4)
System\Windows\Documents\TextRangeBase.cs (3)
1558string text = textStreamReader.ReadToEnd(); 1564string xamlText = xamlStreamReader.ReadToEnd(); 1580string rtfText = rtfStreamReader.ReadToEnd();
System\Windows\Navigation\NavigationService.cs (1)
3003reader.ReadToEnd();
PresentationUI (1)
MS\Internal\Documents\RightsManagementProvider.cs (1)
1360applicationManifest = sr.ReadToEnd();
RepoTasks (1)
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
291var output = findCertificateProcess!.StandardOutput.ReadToEnd();
Security.TransportSecurity.IntegrationTests (1)
Tcp\StreamingTests.4.1.0.cs (1)
412return reader.ReadToEnd();
System.Net.Ping (1)
System\Net\NetworkInformation\Ping.PingUtility.cs (1)
63string stdout = p.StandardOutput.ReadToEnd();
System.Private.CoreLib (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\File.cs (1)
657return sr.ReadToEnd();
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\Json\JsonXmlDataContract.cs (1)
58string serialized = new StreamReader(memoryStream).ReadToEnd();
System.Security.Cryptography.Xml (2)
System\Security\Cryptography\Xml\SignedXmlDebugLog.cs (1)
427reader.ReadToEnd());
System\Security\Cryptography\Xml\XmlLicenseTransform.cs (1)
88string clearContent = streamReader.ReadToEnd();
System.ServiceModel.Primitives (1)
Internals\System\Xml\XmlMtomReader.cs (1)
1840content = new StreamReader(s, System.Text.Encoding.ASCII, false, 256).ReadToEnd();
System.ServiceModel.Primitives.Tests (2)
ServiceModel\FaultExceptionTest.cs (2)
51Assert.Equal(netfxBsl, sr.ReadToEnd()); 73Assert.Equal(netfxBsl, sr.ReadToEnd());
System.Speech (1)
Synthesis\Prompt.cs (1)
59_text = reader.ReadToEnd();
System.Windows.Forms (2)
System\Resources\ResxFileRef.Converter.cs (1)
113return sr.ReadToEnd();
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (1)
316return reader.ReadToEnd().TrimEnd('\0');