protected override void VisitMethodInvocationExpression(BoundMethodInvocationExpression node)
        {
            var sourceMethodSymbol = node.Symbol as SourceFunctionSymbol;
            if (sourceMethodSymbol != null)
            {
                if (sourceMethodSymbol.DefinitionSyntax == null && !IsInterfaceMethod(sourceMethodSymbol))
                    _diagnostics.ReportMethodMissingImplementation(node.Syntax);
            }

            base.VisitMethodInvocationExpression(node);
        }
Exemple #2
0
 private static Symbol GetSymbol(BoundMethodInvocationExpression expression)
 {
     return expression.Symbol;
 }
 protected virtual void VisitMethodInvocationExpression(BoundMethodInvocationExpression node)
 {
     VisitExpression(node.Target);
     foreach (var argument in node.Arguments)
         VisitExpression(argument);
 }