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); }
protected virtual void VisitFunctionInvocationExpression(BoundFunctionInvocationExpression node) { foreach (var argument in node.Arguments) VisitExpression(argument); }
private static Symbol GetSymbol(BoundFunctionInvocationExpression expression) { return expression.Symbol; }