Skip to content

Commit 6e0b47e

Browse files
committed
Fix an IDE0305 rule violation.
1 parent 9fdc968 commit 6e0b47e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/injection/AssemblyInjectorOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public AssemblyInjectorOptions WithArguments(IEnumerable<string> arguments)
6060

6161
var options = Clone();
6262

63-
options.Arguments = arguments.ToImmutableArray();
63+
options.Arguments = [.. arguments];
6464

6565
return options;
6666
}

0 commit comments

Comments
 (0)