Merge pull request dotnet/coreclr#10245 from rahku/fix10048
authorRahul Kumar <rahku@microsoft.com>
Fri, 17 Mar 2017 19:49:57 +0000 (12:49 -0700)
committerGitHub <noreply@github.com>
Fri, 17 Mar 2017 19:49:57 +0000 (12:49 -0700)
LoadFromStream should throw badimageformat early on

Commit migrated from https://github.com/dotnet/coreclr/commit/b6aec9bd4b6e5e026669cd7432b3f37aeec14190


Trivial merge