protected void ShowGenericMenu()
{
GUIStyle style = "PaneOptions";
Rect position = new Rect((base.position.width - style.fixedWidth) - 4f, Mathf.Floor((this.background.margin.top + 20) - style.fixedHeight), style.fixedWidth, style.fixedHeight);
if (EditorGUI.ButtonMouseDown(position, GUIContent.none, FocusType.Passive, "PaneOptions"))
{
this.PopupGenericMenu(this.m_ActualView, position);
}
MethodInfo paneMethod = this.GetPaneMethod("ShowButton", this.m_ActualView);
if (paneMethod != null)
{
object[] parameters = new object[] { new Rect((base.position.width - style.fixedWidth) - 20f, Mathf.Floor((float) (this.background.margin.top + 4)), 16f, 16f) };
paneMethod.Invoke(this.m_ActualView, parameters);
}
}