[WinForms] SetRowSpan and SetColumnSpan does not trigger the good exception. (#18002)
commit174f2f6a70084eced80d4c0284b0a9eb2cf25432
authorabrevet-dev <57099550+abrevet-dev@users.noreply.github.com>
Tue, 3 Dec 2019 20:38:38 +0000 (3 21:38 +0100)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Tue, 3 Dec 2019 20:38:38 +0000 (3 21:38 +0100)
tree5cf234d2b3f83a290dbb6074d066e5c246da28db
parent8150a38dae6fbf60a8a5ffc20a1d07b911fbc31b
[WinForms] SetRowSpan and SetColumnSpan does not trigger the good exception. (#18002)

According to .Net documentation:

Exceptions
ArgumentOutOfRangeException

value is less than 1.
mcs/class/System.Windows.Forms/System.Windows.Forms/TableLayoutSettings.cs