Are there any intended changes starting with .NET 10 to load the same module with different ModuleIDs?
ICorProfiler ModuleLoadStarted callback is triggered multiple times if two threads are using the same not yet initialized type in an external module.
This possibly may lead profilers to apply changes during module load multiple times and cause overhead or failures.
Is this connected the LoaderOptimizations present in the old .NET Framework runtimes?