This version of Unity is unsupported.

MenuItem.editorModes

public string[] editorModes;

Description

Specifies the Editor modes that the item is displayed for. If you don't specify any Editor modes, the item is only displayed for the default mode.