Skip to content

Commit 5f3beda

Browse files
committed
Using ? replace of ! in IDictionary_TestData
1 parent 57ac516 commit 5f3beda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/System.Windows.Forms.Design/tests/UnitTests/ButtonBaseDesignerTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ public void ButtonBaseDesigner_Constructor_Initialize_AutoResizeHandles()
1919
autoResizeHandles.Should().Be(true);
2020
}
2121

22-
public static IEnumerable<object[]> IDictionary_TestData()
22+
public static IEnumerable<object?[]> IDictionary_TestData()
2323
{
24-
yield return new object[] { null! };
24+
yield return new object?[] { null };
2525
yield return new object[] { new Dictionary<string, object>() };
2626
}
2727

0 commit comments

Comments
 (0)