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