This version of Unity is unsupported.

GizmoInfo.hasIcon

public bool hasIcon;

Description

Defines whether a component type renders an icon in the Scene View.