private static bool ShouldIgnoreAssembly(Assembly assembly, bool ignoreDynamicAssemblies) { if (assembly == null) { return true; } if (ignoreDynamicAssemblies) { if (assembly.IsDynamicAssembly()) { return true; } } return false; }
private static bool ShouldIgnoreAssembly(Assembly assembly, bool ignoreDynamicAssemblies) { if (assembly == null) { return true; } if (ignoreDynamicAssemblies) { if (assembly.IsDynamicAssembly()) { return true; } } return false; }