Skip to content

Commit

Permalink
Workaround VS2022 17.10.0 Preview 1.0 breaks collection expression fo…
Browse files Browse the repository at this point in the history
…r certain types
  • Loading branch information
tig committed Mar 5, 2024
1 parent eeced7e commit 714121b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions UnitTests/Drawing/ColorTests.ParsingAndFormatting.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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++)
{
Expand Down

0 comments on commit 714121b

Please sign in to comment.