Function AssemblySearcher.LoadedAssemblies
LoadedAssemblies
()
Assemblies currently loaded into this process.
Private
Static
IEnumerable<Assembly> LoadedAssemblies ()
Assemblies currently loaded into this process.
AppDomain.GetAssemblies can return assemblies Unity has already unloaded, which then throw when reflected over. Unity 6000.6 added a filtered list; older versions have no equivalent, which is why the GetTypes call below is wrapped in a try-catch.