Add correct assembly context name to InvalidCastException message (#69346)
authorJan Kotas <jkotas@microsoft.com>
Mon, 16 May 2022 23:57:47 +0000 (16:57 -0700)
committerGitHub <noreply@github.com>
Mon, 16 May 2022 23:57:47 +0000 (16:57 -0700)
commitfee1b8b9fa242edfe6cc213c82898306509875c3
treeeebf00511352d6693cb58b7e90d1d81002914c72
parent753bab35f2deedee1e3dc6f35d34a9e11a157cea
Add correct assembly context name to InvalidCastException message (#69346)

* Add correct assembly context name to InvalidCastException message

Fixes #69341

* Move GetNameForDiagnostics to assemblybinder.cpp/assemblybinder.h
src/coreclr/binder/bindertracing.cpp
src/coreclr/vm/assemblybinder.cpp
src/coreclr/vm/assemblybinder.h
src/coreclr/vm/excep.cpp