Skip to content

Commit 84a68b0

Browse files
authored
Add ArgumentNullExceptions for WinForms (#4200)
* add argumentnullexceptions
1 parent 26f18fa commit 84a68b0

File tree

5 files changed

+28
-25
lines changed

5 files changed

+28
-25
lines changed

xml/System.Windows.Forms/Control+ControlCollection.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@
9393
<param name="owner">A <see cref="T:System.Windows.Forms.Control" /> representing the control that owns the control collection.</param>
9494
<summary>Initializes a new instance of the <see cref="T:System.Windows.Forms.Control.ControlCollection" /> class.</summary>
9595
<remarks>To be added.</remarks>
96+
<exception cref="T:System.ArgumentNullException">.NET 5.0 and later: The <paramref name="owner" /> argument is <see langword="null" />.</exception>
9697
<altmember cref="P:System.Windows.Forms.Control.Controls" />
9798
</Docs>
9899
</Member>

xml/System.Windows.Forms/DataGridViewComboBoxEditingControl.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@
125125
126126
]]></format>
127127
</remarks>
128+
<exception cref="T:System.ArgumentNullException">.NET 5.0 and later: The <paramref name="dataGridViewCellStyle" /> argument is <see langword="null" />.</exception>
128129
<altmember cref="T:System.Windows.Forms.DataGridView" />
129130
<altmember cref="T:System.Windows.Forms.DataGridViewCellStyle" />
130131
<altmember cref="P:System.Windows.Forms.Control.Font" />

0 commit comments

Comments
 (0)