1596 {
1597 CallSite<Action<CallSite, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>> callSite = (
CallSite<Action<CallSite, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>>)site;
1598 Action<CallSite, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> target = callSite.
Target;
1600 Action<CallSite, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>[] rules;
1601 Action<CallSite, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>
action;
1602 if ((rules =
CallSiteOps.GetRules(callSite)) !=
null)
1603 {
1604 for (
int i = 0;
i < rules.Length;
i++)
1605 {
1607 if ((
object)
action != target)
1608 {
1609 callSite.Target =
action;
1610 action(site, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9);
1612 {
1615 return;
1616 }
1618 }
1619 }
1620 }
1621 RuleCache<Action<CallSite, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>> ruleCache =
CallSiteOps.GetRuleCache(callSite);
1623 for (int j = 0; j < rules.Length; j++)
1624 {
1625 action = (callSite.Target = rules[j]);
1626 try
1627 {
1628 action(site, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9);
1630 {
1632 return;
1633 }
1634 }
1635 finally
1636 {
1638 {
1641 }
1642 }
1644 }
1646 object[] args = new object[10] { arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 };
1647 while (true)
1648 {
1649 callSite.Target = target;
1650 action = (callSite.Target = callSite.
Binder.BindCore(callSite, args));
1651 try
1652 {
1653 action(site, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9);
1655 {
1657 break;
1658 }
1659 }
1660 finally
1661 {
1663 {
1665 }
1666 }
1668 }
1669 }
static bool GetMatch(CallSite site)
static void ClearMatch(CallSite site)
void ReleaseMatchmaker(CallSite matchMaker)