7 references to StreamReader
dotnet-suggest (2)
FileSuggestionRegistration.cs (2)
51
using (var sr = new
StreamReader
(_registrationConfigurationFilePath, Encoding.UTF8))
77
using (var sr = new
StreamReader
(_registrationConfigurationFilePath, Encoding.UTF8))
Microsoft.Build.Tasks.Core (1)
ResourceHandling\MSBuildResXReader.cs (1)
261
using (StreamReader sr = new
StreamReader
(fileName, textFileEncoding))
System.Private.CoreLib (3)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\File.cs (1)
901
using StreamReader sr = new
StreamReader
(path, encoding);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\ReadLinesIterator.cs (1)
96
return new ReadLinesIterator(path, encoding, reader ?? new
StreamReader
(path, encoding));
src\runtime\src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.Unix.NonAndroid.cs (1)
174
using var reader = new
StreamReader
(fileName, Encoding.UTF8);
System.Windows.Forms (1)
System\Resources\ResxFileRef.Converter.cs (1)
112
using StreamReader sr =
new
(fileName, textFileEncoding);