2 instantiations of CallSite
System.Core (2)
Microsoft\Scripting\Actions\CallSite.cs (2)
182
return new
CallSite
<T>();
194
return new
CallSite
<T>(binder);
58 references to CallSite
System.Core (58)
Microsoft\Scripting\Actions\CallSite.cs (4)
113
method = typeof(
CallSite
<>).MakeGenericType(delegateType).GetMethod("Create");
181
internal
CallSite
<T> CreateMatchMaker() {
192
public static
CallSite
<T> Create(CallSiteBinder binder) {
369
var @this = Expression.Variable(typeof(
CallSite
<T>), "this");
Microsoft\Scripting\Actions\CallSiteBinder.cs (4)
112
public virtual T BindDelegate<T>(
CallSite
<T> site, object[] args) where T : class {
117
internal T BindCore<T>(
CallSite
<T> site, object[] args) where T : class {
169
Type siteType = typeof(
CallSite
<T>);
200
typeof(
CallSite
<T>).GetProperty("Update")
Microsoft\Scripting\Actions\CallSiteOps.cs (8)
38
public static
CallSite
<T> CreateMatchmaker<T>(
CallSite
<T> site) where T : class {
39
var
mm = site.CreateMatchMaker();
82
public static void AddRule<T>(
CallSite
<T> site, T rule) where T : class {
93
public static void UpdateRules<T>(
CallSite
<T> @this, int matched) where T : class {
106
public static T[] GetRules<T>(
CallSite
<T> site) where T : class {
118
public static RuleCache<T> GetRuleCache<T>(
CallSite
<T> site) where T : class {
157
public static T Bind<T>(CallSiteBinder binder,
CallSite
<T> site, object[] args) where T : class {
Microsoft\Scripting\Actions\UpdateDelegates.Generated.cs (42)
44
var
@this = (
CallSite
<Func<CallSite, TRet>>)site;
169
var
@this = (
CallSite
<Func<CallSite, T0, TRet>>)site;
294
var
@this = (
CallSite
<Func<CallSite, T0, T1, TRet>>)site;
419
var
@this = (
CallSite
<Func<CallSite, T0, T1, T2, TRet>>)site;
544
var
@this = (
CallSite
<Func<CallSite, T0, T1, T2, T3, TRet>>)site;
669
var
@this = (
CallSite
<Func<CallSite, T0, T1, T2, T3, T4, TRet>>)site;
794
var
@this = (
CallSite
<Func<CallSite, T0, T1, T2, T3, T4, T5, TRet>>)site;
919
var
@this = (
CallSite
<Func<CallSite, T0, T1, T2, T3, T4, T5, T6, TRet>>)site;
1044
var
@this = (
CallSite
<Func<CallSite, T0, T1, T2, T3, T4, T5, T6, T7, TRet>>)site;
1169
var
@this = (
CallSite
<Func<CallSite, T0, T1, T2, T3, T4, T5, T6, T7, T8, TRet>>)site;
1294
var
@this = (
CallSite
<Func<CallSite, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, TRet>>)site;
1419
var
@this = (
CallSite
<Action<CallSite, T0>>)site;
1543
var
@this = (
CallSite
<Action<CallSite, T0, T1>>)site;
1667
var
@this = (
CallSite
<Action<CallSite, T0, T1, T2>>)site;
1791
var
@this = (
CallSite
<Action<CallSite, T0, T1, T2, T3>>)site;
1915
var
@this = (
CallSite
<Action<CallSite, T0, T1, T2, T3, T4>>)site;
2039
var
@this = (
CallSite
<Action<CallSite, T0, T1, T2, T3, T4, T5>>)site;
2163
var
@this = (
CallSite
<Action<CallSite, T0, T1, T2, T3, T4, T5, T6>>)site;
2287
var
@this = (
CallSite
<Action<CallSite, T0, T1, T2, T3, T4, T5, T6, T7>>)site;
2411
var
@this = (
CallSite
<Action<CallSite, T0, T1, T2, T3, T4, T5, T6, T7, T8>>)site;
2535
var
@this = (
CallSite
<Action<CallSite, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>>)site;