private Class226 method_6(int int0, Class226 class2261, List <Class226> list0) { list0[list0.Count - 1] = class2261; var @class = list0[list0.Count - 3]; if (int0 < 0) { @class.Class2260 = class2261; } else { @class.Class2261 = class2261; } for (var i = 0; i < list0.Count - 2; i += 2) { var expr_3D = list0[i]; expr_3D.method_3(expr_3D.method_2() + 1u); } if ([email protected]_0()) { method_8(list0); } if (!_class2260.method_0()) { throw new SystemException("Internal error: root is not black"); } _uint0 += 1u; return(class2261); }
public Class226 method_1 <T>(T gparam0, Class226 class2261) { if (_class2260 == null) { if (class2261 == null) { class2261 = ((INterface10 <T>)_object0).imethod_1(gparam0); } _class2260 = class2261; _class2260.method_1(true); _uint0 += 1u; return(_class2260); } var list = smethod_0(); var int_ = method_5(gparam0, list); var @class = list[list.Count - 1]; if (@class == null) { if (class2261 == null) { class2261 = ((INterface10 <T>)_object0).imethod_1(gparam0); } @class = method_6(int_, class2261, list); } smethod_1(list); return(@class); }
private static Class226 smethod_2(Class226 class2261, Class226 class2262, List <Class226> list0) { while (true) { list0.Add(class2262); list0.Add(class2261); if (class2261.Class2261 == null) { break; } class2262 = class2261.Class2260; class2261 = class2261.Class2261; } return(class2261); }
public Class226 method_2 <T>(T gparam0) { if (_class2260 == null) { return(null); } var list = smethod_0(); var num = method_5(gparam0, list); Class226 result = null; if (num == 0) { result = method_7(list); } smethod_1(list); return(result); }
private void method_13(Class226 class2261, Class226 class2262, uint uint1, Class226 class2263) { if (class2263 != null && class2263.method_4() != uint1) { throw new SystemException("Internal error: rotation"); } if (class2262 == _class2260) { _class2260 = class2263; return; } if (class2262 == class2261.Class2260) { class2261.Class2260 = class2263; return; } if (class2262 == class2261.Class2261) { class2261.Class2261 = class2263; return; } throw new SystemException("Internal error: path error"); }
public void Reload(string reason) { this.ilog_0.Debug(string.Format("Reloading AssemblyLoader<{0}> - {1}", typeof(T), reason)); this.Instances = new List <T>(); if (!Directory.Exists(this.string_0)) { this.ilog_0.Error(string.Format("Could not Reload assemblies because the path \"{0}\" does not exist.", this.string_0)); } else { string[] directories = Directory.GetDirectories(this.string_0); int index = 0; while (true) { if (index >= directories.Length) { break; } string path = directories[index]; try { Triton.Common.CodeCompiler compiler = new Triton.Common.CodeCompiler(path); CompilerResults results = compiler.Compile(); if (results != null) { if (results.Errors.HasErrors) { foreach (object obj2 in results.Errors) { this.ilog_0.Error("Compiler Error: " + obj2.ToString()); } } else { this.Instances.AddRange(new TypeLoader <T>(compiler.CompiledAssembly, null)); } } } catch (Exception exception) { if (exception is ReflectionTypeLoadException) { foreach (Exception exception2 in (exception as ReflectionTypeLoadException).LoaderExceptions) { this.ilog_0.Error("[Reload] An exception occured.", exception2); } } else { this.ilog_0.Error("[Reload] An exception occured.", exception); } } index++; } using (List <T> .Enumerator enumerator2 = new TypeLoader <T>(null, null).GetEnumerator()) { while (enumerator2.MoveNext()) { Class226 <T> class2 = new Class226 <T> { gparam_0 = enumerator2.Current }; if (!this.Instances.Any <T>(new Func <T, bool>(class2.method_0))) { this.Instances.Add(class2.gparam_0); } } } if (this.eventHandler_0 != null) { this.eventHandler_0(this, null); } } }
private int imethod_1(Class226 A_0) { this.arrayList_0.Add(A_0); return(this.arrayList_0.Count); }
public abstract void Visit(Class226 c);
public override void Visit(Class226 c) { }
public void method_0() { _class2260 = null; _uint0 += 1u; }
public abstract void vmethod_0(Class226 class2262);