Its easy to repro in own code too. The problem arises when having an property referring to a constant:
using System.Windows.Forms;
namespace Test
{
class Somename
{
private ToolStripLayoutStyle _layoutStyle = ToolStripLayoutStyle.Flow;
public new ToolStripLayoutStyle LayoutStyle1 => _layoutStyle;
public new ToolStripLayoutStyle LayoutStyle2 => ToolStripLayoutStyle.Flow;
}
}
LayoutStyle1 is shown correctly, LayoutStyle2 has no classname.