Assembly.Load(string assemblyName) not using StackMark in all cases
Root cause seems to be CreateAssemblyName returns an assembly w/o using the callers context.
https://github.com/dotnet/coreclr/blob/58d9cf157f54e8fd61eaaf56b3f8045075d171cd/src/System.Private.CoreLib/src/System/Reflection/RuntimeAssembly.cs#L321-L323
Assembly.LoadWithPartialName(string partialName) not using StackMark ever.
Assembly.Load(string assemblyName)not using StackMark in all casesRoot cause seems to be
CreateAssemblyNamereturns an assembly w/o using the callers context.https://github.com/dotnet/coreclr/blob/58d9cf157f54e8fd61eaaf56b3f8045075d171cd/src/System.Private.CoreLib/src/System/Reflection/RuntimeAssembly.cs#L321-L323
Assembly.LoadWithPartialName(string partialName)not using StackMark ever.