Skip to content

Commit

Permalink
WithRankSpecifiers is on the array type
Browse files Browse the repository at this point in the history
  • Loading branch information
jkoritzinsky committed Oct 17, 2024
1 parent d4e4214 commit 0bf3ad1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -268,9 +268,9 @@ private static LocalFunctionStatementSyntax GenerateInvokeFunction(string functi
IdentifierName("Initialize")),
Declare(SpanOf(jsMarshalerArgument), Constants.ArgumentsBuffer,
StackAllocArrayCreationExpression(
ArrayType(jsMarshalerArgument))
ArrayType(jsMarshalerArgument)
.WithRankSpecifiers(SingletonList(ArrayRankSpecifier(SingletonSeparatedList<ExpressionSyntax>(
OmittedArraySizeExpression()))))
OmittedArraySizeExpression())))))
.WithInitializer(
InitializerExpression(
SyntaxKind.ArrayInitializerExpression,
Expand Down

0 comments on commit 0bf3ad1

Please sign in to comment.