Skip to content

Commit

Permalink
Using ? replace of ! in IDictionary_TestData
Browse files Browse the repository at this point in the history
  • Loading branch information
LeafShi1 committed Jul 22, 2024
1 parent 57ac516 commit 5f3beda
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ public void ButtonBaseDesigner_Constructor_Initialize_AutoResizeHandles()
autoResizeHandles.Should().Be(true);
}

public static IEnumerable<object[]> IDictionary_TestData()
public static IEnumerable<object?[]> IDictionary_TestData()
{
yield return new object[] { null! };
yield return new object?[] { null };
yield return new object[] { new Dictionary<string, object>() };
}

Expand Down

0 comments on commit 5f3beda

Please sign in to comment.