Skip to content

Commit 8dfd544

Browse files
committed
Added few expressions.
1 parent d401ae0 commit 8dfd544

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CSharpToJavaScript/Walker.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,7 @@ public override void VisitExpressionStatement(ExpressionStatementSyntax node)
434434
case SyntaxKind.SubtractAssignmentExpression:
435435
case SyntaxKind.MultiplyAssignmentExpression:
436436
case SyntaxKind.DivideAssignmentExpression:
437+
case SyntaxKind.AwaitExpression:
437438
{
438439
_UsedThis = false;
439440
Visit(asNode);
@@ -493,6 +494,7 @@ public override void VisitArgument(ArgumentSyntax node)
493494
case SyntaxKind.TrueLiteralExpression:
494495
case SyntaxKind.StringLiteralExpression:
495496
case SyntaxKind.InterpolatedStringExpression:
497+
case SyntaxKind.ObjectCreationExpression:
496498
{
497499
Visit(asNode);
498500
break;

0 commit comments

Comments
 (0)