31 references to StreamReader
dotnet-svcutil-lib.Tests (2)
ProjectUtils.cs (2)
101using (var sr = new StreamReader(srcPath)) 142using (var sr2 = new StreamReader(project.FullPath))
ILCompiler.ReadyToRun (1)
Compiler\FileLayoutOptimizer.cs (1)
218using (StreamReader sr = new StreamReader(_orderFile))
ILCompiler.RyuJit (1)
src\runtime\src\coreclr\tools\aot\ILCompiler.ReadyToRun\Compiler\FileLayoutOptimizer.cs (1)
218using (StreamReader sr = new StreamReader(_orderFile))
illink (2)
ILLink.Tasks (1)
CreateRuntimeRootDescriptorFile.cs (1)
341using (var sr = new StreamReader(iLLinkTrimXmlFilePath))
Microsoft.Build.Framework (1)
FileSystem\ManagedFileSystem.cs (1)
39return new StreamReader(path);
Microsoft.Build.Tasks.Core (3)
BootstrapperUtil\BootstrapperBuilder.cs (1)
844using (StreamReader streamReader = new StreamReader(filePath))
XslTransformation.cs (2)
411return XmlReader.Create(new StreamReader(_filePaths[itemPos]), settings, _filePaths[itemPos]); 562using (XmlReader reader = XmlReader.Create(new StreamReader(_filePath.Value), fileSettings, _filePath.Value))
Microsoft.DotNet.SdkResolver (1)
VSSettings.cs (1)
127using (var reader = new StreamReader(_settingsFilePath))
Microsoft.Extensions.ServiceDiscovery.Dns (1)
Resolver\ResolvConf.cs (1)
15return GetServers(new StreamReader("/etc/resolv.conf"));
Microsoft.ML.AutoML.Tests (1)
ColumnInferenceTests.cs (1)
246using (var stream = new StreamReader(wiki))
Microsoft.ML.NugetPackageVersionUpdater (1)
Program.cs (1)
29using (var file = new StreamReader(TempVersionsFile))
Microsoft.ML.Samples.OneDal (1)
Program.cs (1)
19System.IO.StreamReader file = new System.IO.StreamReader(trainingFile);
Microsoft.ML.Tests (1)
TextLoaderTests.cs (1)
1347using (var file = new StreamReader(baselinePath))
PresentationBuildTasks (1)
Microsoft\Build\Tasks\Windows\MergeLocalizationDirectives.cs (1)
75using (StreamReader locStreamReader = new StreamReader(item.ItemSpec))
PresentationUI (1)
MS\Internal\Documents\RightsManagementProvider.cs (1)
1358using (StreamReader sr = new StreamReader(applicationManifestFileLocation))
System.Configuration.ConfigurationManager (1)
System\Configuration\MgmtConfigurationRecord.cs (1)
1033using (StreamReader reader = new StreamReader(ConfigStreamInfo.StreamName))
System.Diagnostics.Process (3)
src\runtime\src\libraries\Common\src\Interop\Linux\cgroups\Interop.cgroups.cs (2)
318using (var reader = new StreamReader(mountInfoFilePath)) 388using (var reader = new StreamReader(procCGroupFilePath))
src\runtime\src\libraries\Common\src\Interop\Linux\procfs\Interop.ProcMountInfo.cs (1)
25using StreamReader reader = new(ProcMountInfoFilePath);
System.IO.FileSystem.DriveInfo (2)
src\runtime\src\libraries\Common\src\Interop\Linux\procfs\Interop.ProcMountInfo.cs (1)
25using StreamReader reader = new(ProcMountInfoFilePath);
src\runtime\src\libraries\Common\src\Interop\Unix\System.Native\Interop.MountPoints.cs (1)
48using StreamReader reader = new(Interop.procfs.ProcMountInfoFilePath);
System.Net.NameResolution (1)
System\Net\ResolvConf.cs (1)
66using StreamReader reader = new StreamReader(ResolvConfPath);
System.Private.CoreLib (4)
src\runtime\src\libraries\Common\src\Interop\Linux\procfs\Interop.ProcMountInfo.cs (1)
25using StreamReader reader = new(ProcMountInfoFilePath);
src\runtime\src\libraries\Common\src\Interop\Unix\System.Native\Interop.MountPoints.cs (1)
48using StreamReader reader = new(Interop.procfs.ProcMountInfoFilePath);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Environment.GetFolderPathCore.Unix.cs (1)
189using (var reader = new StreamReader(userDirsPath))
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\File.cs (1)
30=> new StreamReader(path);
System.Windows.Forms (1)
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
474_localImageStreamReader = new StreamReader(uri.LocalPath);