You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
All lines read from files are null when build with --configuration Release
Code:
using var stream = await _fileReference.OpenReadAsync();
using var reader = new StreamReader(stream, Encoding.UTF8, true, 10000);
string line;
while ((line = await reader.ReadLineAsync()) != null)
{
yield return line;
}
line is always null when build with Release.
When building with Debug no problems occur.
The text was updated successfully, but these errors were encountered:
Describe the bug
All lines read from files are null when build with --configuration Release
Code:
using var stream = await _fileReference.OpenReadAsync();
using var reader = new StreamReader(stream, Encoding.UTF8, true, 10000);
string line;
while ((line = await reader.ReadLineAsync()) != null)
{
yield return line;
}
line is always null when build with Release.
When building with Debug no problems occur.
The text was updated successfully, but these errors were encountered: