var token = SyntaxFactory.Token(SyntaxKind.ExclamationToken); binaryExpression.Left.InsertTokensBefore(binaryExpression.Left.GetFirstToken(), new[] { token });