Add back private BadImageFormatException constructor called by the VM (#11523)
authorJan Kotas <jkotas@microsoft.com>
Thu, 11 May 2017 18:45:38 +0000 (11:45 -0700)
committerGitHub <noreply@github.com>
Thu, 11 May 2017 18:45:38 +0000 (11:45 -0700)
commit11dea52f9d82b19481e5a6df54263b85fb5663e2
treed2bcf2f35e6bbd409c718d83256557a9f5c91910
parente52d80fa5b53fea51d18f03e441cf0c2fff58419
Add back private BadImageFormatException constructor called by the VM (#11523)

Also removed rethrowing of an exception inside AssemblyName.GetAssemblyName that sometimes resulted into two identical exceptions getting nested into each other.

Fixes #11499
src/mscorlib/System.Private.CoreLib.csproj
src/mscorlib/shared/System/BadImageFormatException.cs
src/mscorlib/src/System/BadImageFormatException.CoreCLR.cs [new file with mode: 0644]
src/vm/assemblyname.cpp