internal override void OnGUI(PluginImporterInspector inspector)
{
bool flag = false;
EditorGUILayout.BeginVertical(EditorStyles.inspectorDefaultMargins, new GUILayoutOption[0]);
GUILayout.Label("Framework dependencies", EditorStyles.boldLabel, new GUILayoutOption[0]);
EditorGUI.BeginChangeCheck();
foreach (KeyValuePair<string, bool> pair in this.m_isFrequentEnabled)
{
this.m_isFrequentEnabled[pair.Key] = GUILayout.Toggle(pair.Value, pair.Key, new GUILayoutOption[0]);
}
if (EditorGUI.EndChangeCheck())
{
flag = true;
}
this.m_isDefaultVisible = EditorGUILayout.Foldout(this.m_isDefaultVisible, this.GetDefaultFrameworksLabel(), true);
if (this.m_isDefaultVisible)
{
EditorGUI.indentLevel++;
using (new EditorGUI.DisabledScope(true))
{
foreach (string str in this.m_defaultFrameworks)
{
GUILayout.Toggle(true, str, new GUILayoutOption[0]);
}
}
EditorGUI.indentLevel--;
}
this.m_isRareVisible = EditorGUILayout.Foldout(this.m_isRareVisible, this.GetRareFrameworksLabel(), true);
if (this.m_isRareVisible)
{
EditorGUI.indentLevel++;
EditorGUI.BeginChangeCheck();
foreach (KeyValuePair<string, bool> pair2 in this.m_isRareEnabled)
{
this.m_isRareEnabled[pair2.Key] = GUILayout.Toggle(pair2.Value, pair2.Key, new GUILayoutOption[0]);
}
if (EditorGUI.EndChangeCheck())
{
flag = true;
}
EditorGUI.indentLevel--;
}
GUILayout.EndVertical();
this.UpdateValue();
GUI.changed = flag;
}