public override void LeaveMethodInvocationExpression(MethodInvocationExpression node)
{
IParameter[] parameters = null;
IMethod entity = node.Target.Entity as IMethod;
if (null != entity)
{
parameters = entity.GetParameters();
}
else
{
ICallableType type = node.Target.ExpressionType as ICallableType;
if (null == type)
{
return;
}
parameters = type.GetSignature().Parameters;
}
ConvertMethodInvocation(node, parameters);
}