public abstract void Visit(Class231 c);
private void method_0(Assembly assembly_0) { if (this.IncludeGacAssemblies || !assembly_0.GlobalAssemblyCache) { System.Type[] types = assembly_0.GetTypes(); for (int i = 0; i < types.Length; i++) { Class231 class2 = new Class231 { type_0 = types[i] }; if ((class2.type_0.IsClass && !this.Any <object>(new Func <object, bool>(class2.method_0))) && !class2.type_0.GetCustomAttributes(typeof(TypeFinderIgnoredAttribute)).Any <Attribute>()) { if (this.Type.IsInterface) { if (class2.type_0.GetInterfaces().Any <System.Type>(new Func <System.Type, bool>(this.method_2))) { ilog_0.Debug("Type " + class2.type_0.Name + " implements interface " + this.Type.Name); try { this.InstanceTypes.Add(class2.type_0); if (this.CreateInstances) { base.Add(Activator.CreateInstance(class2.type_0)); } } catch (MissingMethodException exception) { ilog_0.Error("Could not instantiate class " + class2.type_0 + ". It does not have a public, parameterless constructor."); ilog_0.Error(exception); } catch (Exception exception2) { ilog_0.Error("Exception instantiating type " + class2.type_0); ilog_0.Error(exception2); } } } else if (class2.type_0.IsSubclassOf(this.Type)) { ilog_0.Debug("Type " + class2.type_0.Name + " inherits class " + this.Type.Name); try { this.InstanceTypes.Add(class2.type_0); if (this.CreateInstances) { base.Add(Activator.CreateInstance(class2.type_0)); } } catch (MissingMethodException exception3) { ilog_0.Error("Could not instantiate class " + class2.type_0 + ". It does not have a public, parameterless constructor."); ilog_0.Error(exception3); } catch (Exception exception4) { ilog_0.Error("Exception instantiating type " + class2.type_0); ilog_0.Error(exception4); } } } } } }
public override void Visit(Class231 c) { }