Skip to content

Commit a719c19

Browse files
authored
Fix IDE0028 (#803)
1 parent 185dab2 commit a719c19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NServiceBus.Persistence.DynamoDB.PersistenceTests/When_saving_saga_with_empty_list.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public async Task ShouldUpdate()
5555
UInts = [2147483647, 4294967295],
5656
SBytes = [0x0F, 0x10],
5757
Decimals = [1.234m, 5.678m],
58-
HashSetOfMemoryStreams = new HashSet<MemoryStream>(memStreams),
58+
HashSetOfMemoryStreams = [.. memStreams],
5959
ImmutableHashSetOfStreams = new HashSet<MemoryStream>(memStreams).ToImmutableHashSet(),
6060
HashSetOfString = ["a", "b", "c", "d"],
6161
SortedSetOfString = ["a", "b", "c", "d"],

0 commit comments

Comments
 (0)