The test case in https://github.com/dotnet/runtime/pull/117447 crashes the LibraryImportGenerator with a NullRef.