We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28c9d1d commit fd18a84Copy full SHA for fd18a84
src/Scrutor/TypeSourceSelector.cs
@@ -154,7 +154,7 @@ private IImplementationTypeSelector InternalFromAssembliesOf(IEnumerable<Type> t
154
155
private IImplementationTypeSelector InternalFromAssemblies(IEnumerable<Assembly> assemblies)
156
{
157
- return AddSelector(assemblies.SelectMany(asm => asm.DefinedTypes).Select(x => x.AsType()));
+ return AddSelector(assemblies.SelectMany(asm => asm.ExportedTypes);
158
}
159
160
private static IEnumerable<Assembly> LoadAssemblies(IEnumerable<AssemblyName> assemblyNames)
0 commit comments