Skip to content

Commit

Permalink
skip handling reflection-only assemblies
Browse files Browse the repository at this point in the history
  • Loading branch information
eirannejad committed Mar 15, 2023
1 parent 1729698 commit 0353c8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/runtime/AssemblyManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ internal static void Shutdown()
private static void AssemblyLoadHandler(object ob, AssemblyLoadEventArgs args)
{
Assembly assembly = args.LoadedAssembly;
if (assembly.ReflectionOnly) return;

assemblies.Enqueue(assembly);
ScanAssembly(assembly);
}
Expand Down

0 comments on commit 0353c8d

Please sign in to comment.