What happens when the file is empty?

auto lines = co_await FileIO::ReadLinesAsync(file);
for (String^ line : lines)
{
if (line != nullptr) // This happens when the line is empty. For this to work String^ must be used instead of auto in the for statement
{
listView->Items->Append(line);
}
}