public bool TryBaseMethodInvocation(InvocationExpressionSyntax node, IMethodSymbol method, JsExpression[] arguments, out JsExpression result) { if (node.Expression is MemberAccessExpressionSyntax) { var methodTargetSyntax = ((MemberAccessExpressionSyntax)node.Expression).Expression; if (methodTargetSyntax is BaseExpressionSyntax) { // Special handling for base method calls. Similar to base constructor invocations. result = InvokeMethodAsThis(method, arguments.ToArray()); return true; } } result = null; return false; }