Add null checks before calling ClassLoader::EnsureLoaded (dotnet/coreclr#24818)
authorJan Kotas <jkotas@microsoft.com>
Wed, 29 May 2019 01:38:42 +0000 (18:38 -0700)
committerGitHub <noreply@github.com>
Wed, 29 May 2019 01:38:42 +0000 (18:38 -0700)
commita99d517d855f23f79a449b91b8f6a519e0b0672e
treefed917bb9b53fbd5721b97d7e9d0fc61ee8dd0a0
parentb8e1d1290bdacdc4303472efeee68f4c2f875adb
Add null checks before calling ClassLoader::EnsureLoaded (dotnet/coreclr#24818)

Fixes dotnet/coreclr#24816

Commit migrated from https://github.com/dotnet/coreclr/commit/02e75ab55272902aed4c2501ab7c6740bae30485
src/coreclr/src/vm/fieldmarshaler.h