The line of code provoking the error is the following:
((System.ComponentModel.ISupportInitialize)(this.performanceCounter1)).EndInit();
Software: Visual Studio 2019 Programming Language: C# Note: Code was generated by the Windows Forms Designer