Sfoglia il codice sorgente

Fix order of parameters

maciekwin3 1 anno fa
parent
commit
cc88e33ffe
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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)
 			{
-				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;
 			}