Skip to content

Commit 55d1b04

Browse files
committed
Reflect PR #35
1 parent 4a5a4ef commit 55d1b04

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/runtime/assemblymanager.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,13 @@ internal static void ScanAssembly(Assembly assembly)
264264
{
265265
return;
266266
}
267+
268+
// skip this assembly, it causes 'GetTypes' call to hang
269+
if (assembly.FullName.StartsWith("System.Windows.Forms"))
270+
{
271+
return;
272+
}
273+
267274
// A couple of things we want to do here: first, we want to
268275
// gather a list of all of the namespaces contributed to by
269276
// the assembly.

0 commit comments

Comments
 (0)