public override void FetchData()
{
int depth = -1;
bool flag = base.m_TreeView.state.expandedIDs.Count == 0;
base.m_RootItem = new TreeViewItem(0x3c34eb12, depth, null, "InvisibleRoot");
this.SetExpanded(base.m_RootItem.id, true);
List<AudioMixerController> list = this.m_GetAllControllersCallback.Invoke();
base.m_NeedRefreshRows = true;
if (list.Count > 0)
{
List<AudioMixerItem> items = Enumerable.ToList<AudioMixerItem>(Enumerable.Select<AudioMixerController, AudioMixerItem>(list, new Func<AudioMixerController, AudioMixerItem>(this, (IntPtr) this.<FetchData>m__0)));
foreach (AudioMixerItem item in items)
{
this.SetChildParentOfMixerItem(item, items);
}
this.SetItemDepthRecursive(base.m_RootItem, -1);
this.SortRecursive(base.m_RootItem);
if (flag)
{
base.m_TreeView.data.SetExpandedWithChildren(base.m_RootItem, true);
}
}
}