https://github.com/dotnet/runtime/pull/57896#discussion_r703572743 It throws `NullReferenceException` if there's nothing to load. Consider `InvalidOperationException`?