Fix AssemblyName cache hash and key (#24138)
authorSteve MacLean <stmaclea@microsoft.com>
Sun, 21 Apr 2019 22:25:04 +0000 (18:25 -0400)
committerGitHub <noreply@github.com>
Sun, 21 Apr 2019 22:25:04 +0000 (18:25 -0400)
commita36bc61442d89d0b5c58b0b14e7bd3bde218f24d
tree2b81845ab584a090b66f8d5490e7d91a506f118d
parentc48969221da787abaa0c6f1477ec9c864f0455d2
Fix AssemblyName cache hash and key (#24138)

* Add ContextualReflection LoadWithPartialName case

* Remove unnecessary MethodImplOptions.NoInlining

* Remove m_assembly warning

* Fix AssemblyName hash function

* AssemblyNative::Load fix stackMark usage

Do not use the stackMark if (ptrLoadContextBinder != NULL)

* Temporarily disable DefaultContextOverrideTPA

Test is failing due to a logic error.
Fix is pending in https://github.com/dotnet/corefx/pull/37071
src/System.Private.CoreLib/src/System/Reflection/RuntimeAssembly.cs
src/binder/assemblyname.cpp
src/vm/assemblynative.cpp
tests/CoreFX/CoreFX.issues.json
tests/src/Loader/ContextualReflection/ContextualReflection.cs
tests/src/Loader/ContextualReflection/ContextualReflectionDependency.cs