示例#1
0
文件: Idioms.cs 项目: x335/WootzJs
 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;
 }