Problem description:
Cannot create the System.Windows.Forms.StatusBar class object in .NET Core 5.0 project.

More info:
- This issue cannot repro in the latest NET Core 3.1 project.
- The System.Windows.Forms.StatusBarPanel class object cannot be created too.
Expected behavior:
Can create the System.Windows.Forms.StatusBar class object in .NET Core 5.0 project successfully.

Minimal repro:
- Create a Winforms Core application.
- Open Form1.cs file and add the following code in Form1 class.
StatusBar ss = new StatusBar();
- Build the application.