Workaround VS2022 17.10.0 Preview 1.0 breaks collection expression for certain types

This commit is contained in:
Tig Kindel
2024-03-05 11:32:04 -07:00
parent eeced7e772
commit 714121b1f9

View File

@@ -108,11 +108,7 @@ public static partial class ColorTestsTheoryDataGenerators
{
public static TheoryData<string?> TryParse_string_Returns_False_For_Invalid_Inputs ()
{
TheoryData<string?> values =
[
null
]
;
TheoryData<string?> values = [];
for (var i = char.MinValue; i < 255; i++)
{