Quellcode durchsuchen

Fix order of parameters

maciekwin3 vor 1 Jahr
Ursprung
Commit
cc88e33ffe
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      Terminal.Gui/Views/ComboBox.cs

+ 1 - 1
Terminal.Gui/Views/ComboBox.cs

@@ -39,7 +39,7 @@ namespace Terminal.Gui {
 
 
 			private void Initialize (ComboBox container, bool hideDropdownListOnClick)
 			private void Initialize (ComboBox container, bool hideDropdownListOnClick)
 			{
 			{
-				this.container = container ?? throw new ArgumentNullException ("ComboBox container cannot be null.", nameof (container));
+				this.container = container ?? throw new ArgumentNullException (nameof(container), "ComboBox container cannot be null.");
 				HideDropdownListOnClick = hideDropdownListOnClick;
 				HideDropdownListOnClick = hideDropdownListOnClick;
 			}
 			}