private void ExtractTreeRoot() { RootContext rootContext = new RootContext(); Type rootContextType = rootContext.GetType(); _treeRoot = (ModuleContainer)rootContextType.InvokeMember("root", BindingFlags.GetField | BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Static, null, rootContext, null); }