protected override void VisitFunctionInvocationExpression(BoundFunctionInvocationExpression node)
        {
            var sourceFunctionSymbol = node.Symbol as SourceFunctionSymbol;
            if (sourceFunctionSymbol != null)
            {
                if (sourceFunctionSymbol.DefinitionSyntax == null && !IsInterfaceMethod(sourceFunctionSymbol))
                    _diagnostics.ReportFunctionMissingImplementation(node.Syntax);
            }

            base.VisitFunctionInvocationExpression(node);
        }
예제 #2
0
 private static Symbol GetSymbol(BoundFunctionInvocationExpression expression)
 {
     return expression.Symbol;
 }
 protected virtual void VisitFunctionInvocationExpression(BoundFunctionInvocationExpression node)
 {
     foreach (var argument in node.Arguments)
         VisitExpression(argument);
 }