296 references to CallSiteOps
System.Linq.Expressions (296)
System\Dynamic\UpdateDelegates.Generated.cs (280)
33
if ((applicable =
CallSiteOps
.GetRules(@this)) != null)
49
if (
CallSiteOps
.GetMatch(site))
51
CallSiteOps
.UpdateRules(@this, i);
57
CallSiteOps
.ClearMatch(site);
70
var cache =
CallSiteOps
.GetRuleCache(@this);
85
if (
CallSiteOps
.GetMatch(site))
93
if (
CallSiteOps
.GetMatch(site))
98
CallSiteOps
.AddRule(@this, rule);
100
CallSiteOps
.MoveRule(cache, rule, i);
105
CallSiteOps
.ClearMatch(site);
127
if (
CallSiteOps
.GetMatch(site))
135
if (
CallSiteOps
.GetMatch(site))
140
CallSiteOps
.AddRule(@this, rule);
145
CallSiteOps
.ClearMatch(site);
179
if ((applicable =
CallSiteOps
.GetRules(@this)) != null)
195
if (
CallSiteOps
.GetMatch(site))
197
CallSiteOps
.UpdateRules(@this, i);
203
CallSiteOps
.ClearMatch(site);
216
var cache =
CallSiteOps
.GetRuleCache(@this);
231
if (
CallSiteOps
.GetMatch(site))
239
if (
CallSiteOps
.GetMatch(site))
244
CallSiteOps
.AddRule(@this, rule);
246
CallSiteOps
.MoveRule(cache, rule, i);
251
CallSiteOps
.ClearMatch(site);
273
if (
CallSiteOps
.GetMatch(site))
281
if (
CallSiteOps
.GetMatch(site))
286
CallSiteOps
.AddRule(@this, rule);
291
CallSiteOps
.ClearMatch(site);
325
if ((applicable =
CallSiteOps
.GetRules(@this)) != null)
341
if (
CallSiteOps
.GetMatch(site))
343
CallSiteOps
.UpdateRules(@this, i);
349
CallSiteOps
.ClearMatch(site);
362
var cache =
CallSiteOps
.GetRuleCache(@this);
377
if (
CallSiteOps
.GetMatch(site))
385
if (
CallSiteOps
.GetMatch(site))
390
CallSiteOps
.AddRule(@this, rule);
392
CallSiteOps
.MoveRule(cache, rule, i);
397
CallSiteOps
.ClearMatch(site);
419
if (
CallSiteOps
.GetMatch(site))
427
if (
CallSiteOps
.GetMatch(site))
432
CallSiteOps
.AddRule(@this, rule);
437
CallSiteOps
.ClearMatch(site);
471
if ((applicable =
CallSiteOps
.GetRules(@this)) != null)
487
if (
CallSiteOps
.GetMatch(site))
489
CallSiteOps
.UpdateRules(@this, i);
495
CallSiteOps
.ClearMatch(site);
508
var cache =
CallSiteOps
.GetRuleCache(@this);
523
if (
CallSiteOps
.GetMatch(site))
531
if (
CallSiteOps
.GetMatch(site))
536
CallSiteOps
.AddRule(@this, rule);
538
CallSiteOps
.MoveRule(cache, rule, i);
543
CallSiteOps
.ClearMatch(site);
565
if (
CallSiteOps
.GetMatch(site))
573
if (
CallSiteOps
.GetMatch(site))
578
CallSiteOps
.AddRule(@this, rule);
583
CallSiteOps
.ClearMatch(site);
617
if ((applicable =
CallSiteOps
.GetRules(@this)) != null)
633
if (
CallSiteOps
.GetMatch(site))
635
CallSiteOps
.UpdateRules(@this, i);
641
CallSiteOps
.ClearMatch(site);
654
var cache =
CallSiteOps
.GetRuleCache(@this);
669
if (
CallSiteOps
.GetMatch(site))
677
if (
CallSiteOps
.GetMatch(site))
682
CallSiteOps
.AddRule(@this, rule);
684
CallSiteOps
.MoveRule(cache, rule, i);
689
CallSiteOps
.ClearMatch(site);
711
if (
CallSiteOps
.GetMatch(site))
719
if (
CallSiteOps
.GetMatch(site))
724
CallSiteOps
.AddRule(@this, rule);
729
CallSiteOps
.ClearMatch(site);
763
if ((applicable =
CallSiteOps
.GetRules(@this)) != null)
779
if (
CallSiteOps
.GetMatch(site))
781
CallSiteOps
.UpdateRules(@this, i);
787
CallSiteOps
.ClearMatch(site);
800
var cache =
CallSiteOps
.GetRuleCache(@this);
815
if (
CallSiteOps
.GetMatch(site))
823
if (
CallSiteOps
.GetMatch(site))
828
CallSiteOps
.AddRule(@this, rule);
830
CallSiteOps
.MoveRule(cache, rule, i);
835
CallSiteOps
.ClearMatch(site);
857
if (
CallSiteOps
.GetMatch(site))
865
if (
CallSiteOps
.GetMatch(site))
870
CallSiteOps
.AddRule(@this, rule);
875
CallSiteOps
.ClearMatch(site);
909
if ((applicable =
CallSiteOps
.GetRules(@this)) != null)
925
if (
CallSiteOps
.GetMatch(site))
927
CallSiteOps
.UpdateRules(@this, i);
933
CallSiteOps
.ClearMatch(site);
946
var cache =
CallSiteOps
.GetRuleCache(@this);
961
if (
CallSiteOps
.GetMatch(site))
969
if (
CallSiteOps
.GetMatch(site))
974
CallSiteOps
.AddRule(@this, rule);
976
CallSiteOps
.MoveRule(cache, rule, i);
981
CallSiteOps
.ClearMatch(site);
1003
if (
CallSiteOps
.GetMatch(site))
1011
if (
CallSiteOps
.GetMatch(site))
1016
CallSiteOps
.AddRule(@this, rule);
1021
CallSiteOps
.ClearMatch(site);
1055
if ((applicable =
CallSiteOps
.GetRules(@this)) != null)
1071
if (
CallSiteOps
.GetMatch(site))
1073
CallSiteOps
.UpdateRules(@this, i);
1079
CallSiteOps
.ClearMatch(site);
1092
var cache =
CallSiteOps
.GetRuleCache(@this);
1107
if (
CallSiteOps
.GetMatch(site))
1115
if (
CallSiteOps
.GetMatch(site))
1120
CallSiteOps
.AddRule(@this, rule);
1122
CallSiteOps
.MoveRule(cache, rule, i);
1127
CallSiteOps
.ClearMatch(site);
1149
if (
CallSiteOps
.GetMatch(site))
1157
if (
CallSiteOps
.GetMatch(site))
1162
CallSiteOps
.AddRule(@this, rule);
1167
CallSiteOps
.ClearMatch(site);
1201
if ((applicable =
CallSiteOps
.GetRules(@this)) != null)
1217
if (
CallSiteOps
.GetMatch(site))
1219
CallSiteOps
.UpdateRules(@this, i);
1225
CallSiteOps
.ClearMatch(site);
1238
var cache =
CallSiteOps
.GetRuleCache(@this);
1253
if (
CallSiteOps
.GetMatch(site))
1261
if (
CallSiteOps
.GetMatch(site))
1266
CallSiteOps
.AddRule(@this, rule);
1268
CallSiteOps
.MoveRule(cache, rule, i);
1273
CallSiteOps
.ClearMatch(site);
1295
if (
CallSiteOps
.GetMatch(site))
1303
if (
CallSiteOps
.GetMatch(site))
1308
CallSiteOps
.AddRule(@this, rule);
1313
CallSiteOps
.ClearMatch(site);
1347
if ((applicable =
CallSiteOps
.GetRules(@this)) != null)
1363
if (
CallSiteOps
.GetMatch(site))
1365
CallSiteOps
.UpdateRules(@this, i);
1371
CallSiteOps
.ClearMatch(site);
1384
var cache =
CallSiteOps
.GetRuleCache(@this);
1399
if (
CallSiteOps
.GetMatch(site))
1407
if (
CallSiteOps
.GetMatch(site))
1412
CallSiteOps
.AddRule(@this, rule);
1414
CallSiteOps
.MoveRule(cache, rule, i);
1419
CallSiteOps
.ClearMatch(site);
1441
if (
CallSiteOps
.GetMatch(site))
1449
if (
CallSiteOps
.GetMatch(site))
1454
CallSiteOps
.AddRule(@this, rule);
1459
CallSiteOps
.ClearMatch(site);
1492
if ((applicable =
CallSiteOps
.GetRules(@this)) != null)
1508
if (
CallSiteOps
.GetMatch(site))
1510
CallSiteOps
.UpdateRules(@this, i);
1516
CallSiteOps
.ClearMatch(site);
1529
var cache =
CallSiteOps
.GetRuleCache(@this);
1544
if (
CallSiteOps
.GetMatch(site))
1552
if (
CallSiteOps
.GetMatch(site))
1557
CallSiteOps
.AddRule(@this, rule);
1559
CallSiteOps
.MoveRule(cache, rule, i);
1564
CallSiteOps
.ClearMatch(site);
1586
if (
CallSiteOps
.GetMatch(site))
1594
if (
CallSiteOps
.GetMatch(site))
1599
CallSiteOps
.AddRule(@this, rule);
1604
CallSiteOps
.ClearMatch(site);
1637
if ((applicable =
CallSiteOps
.GetRules(@this)) != null)
1653
if (
CallSiteOps
.GetMatch(site))
1655
CallSiteOps
.UpdateRules(@this, i);
1661
CallSiteOps
.ClearMatch(site);
1674
var cache =
CallSiteOps
.GetRuleCache(@this);
1689
if (
CallSiteOps
.GetMatch(site))
1697
if (
CallSiteOps
.GetMatch(site))
1702
CallSiteOps
.AddRule(@this, rule);
1704
CallSiteOps
.MoveRule(cache, rule, i);
1709
CallSiteOps
.ClearMatch(site);
1731
if (
CallSiteOps
.GetMatch(site))
1739
if (
CallSiteOps
.GetMatch(site))
1744
CallSiteOps
.AddRule(@this, rule);
1749
CallSiteOps
.ClearMatch(site);
1782
if ((applicable =
CallSiteOps
.GetRules(@this)) != null)
1798
if (
CallSiteOps
.GetMatch(site))
1800
CallSiteOps
.UpdateRules(@this, i);
1806
CallSiteOps
.ClearMatch(site);
1819
var cache =
CallSiteOps
.GetRuleCache(@this);
1834
if (
CallSiteOps
.GetMatch(site))
1842
if (
CallSiteOps
.GetMatch(site))
1847
CallSiteOps
.AddRule(@this, rule);
1849
CallSiteOps
.MoveRule(cache, rule, i);
1854
CallSiteOps
.ClearMatch(site);
1876
if (
CallSiteOps
.GetMatch(site))
1884
if (
CallSiteOps
.GetMatch(site))
1889
CallSiteOps
.AddRule(@this, rule);
1894
CallSiteOps
.ClearMatch(site);
1927
if ((applicable =
CallSiteOps
.GetRules(@this)) != null)
1943
if (
CallSiteOps
.GetMatch(site))
1945
CallSiteOps
.UpdateRules(@this, i);
1951
CallSiteOps
.ClearMatch(site);
1964
var cache =
CallSiteOps
.GetRuleCache(@this);
1979
if (
CallSiteOps
.GetMatch(site))
1987
if (
CallSiteOps
.GetMatch(site))
1992
CallSiteOps
.AddRule(@this, rule);
1994
CallSiteOps
.MoveRule(cache, rule, i);
1999
CallSiteOps
.ClearMatch(site);
2021
if (
CallSiteOps
.GetMatch(site))
2029
if (
CallSiteOps
.GetMatch(site))
2034
CallSiteOps
.AddRule(@this, rule);
2039
CallSiteOps
.ClearMatch(site);
2072
if ((applicable =
CallSiteOps
.GetRules(@this)) != null)
2088
if (
CallSiteOps
.GetMatch(site))
2090
CallSiteOps
.UpdateRules(@this, i);
2096
CallSiteOps
.ClearMatch(site);
2109
var cache =
CallSiteOps
.GetRuleCache(@this);
2124
if (
CallSiteOps
.GetMatch(site))
2132
if (
CallSiteOps
.GetMatch(site))
2137
CallSiteOps
.AddRule(@this, rule);
2139
CallSiteOps
.MoveRule(cache, rule, i);
2144
CallSiteOps
.ClearMatch(site);
2166
if (
CallSiteOps
.GetMatch(site))
2174
if (
CallSiteOps
.GetMatch(site))
2179
CallSiteOps
.AddRule(@this, rule);
2184
CallSiteOps
.ClearMatch(site);
2217
if ((applicable =
CallSiteOps
.GetRules(@this)) != null)
2233
if (
CallSiteOps
.GetMatch(site))
2235
CallSiteOps
.UpdateRules(@this, i);
2241
CallSiteOps
.ClearMatch(site);
2254
var cache =
CallSiteOps
.GetRuleCache(@this);
2269
if (
CallSiteOps
.GetMatch(site))
2277
if (
CallSiteOps
.GetMatch(site))
2282
CallSiteOps
.AddRule(@this, rule);
2284
CallSiteOps
.MoveRule(cache, rule, i);
2289
CallSiteOps
.ClearMatch(site);
2311
if (
CallSiteOps
.GetMatch(site))
2319
if (
CallSiteOps
.GetMatch(site))
2324
CallSiteOps
.AddRule(@this, rule);
2329
CallSiteOps
.ClearMatch(site);
2362
if ((applicable =
CallSiteOps
.GetRules(@this)) != null)
2378
if (
CallSiteOps
.GetMatch(site))
2380
CallSiteOps
.UpdateRules(@this, i);
2386
CallSiteOps
.ClearMatch(site);
2399
var cache =
CallSiteOps
.GetRuleCache(@this);
2414
if (
CallSiteOps
.GetMatch(site))
2422
if (
CallSiteOps
.GetMatch(site))
2427
CallSiteOps
.AddRule(@this, rule);
2429
CallSiteOps
.MoveRule(cache, rule, i);
2434
CallSiteOps
.ClearMatch(site);
2456
if (
CallSiteOps
.GetMatch(site))
2464
if (
CallSiteOps
.GetMatch(site))
2469
CallSiteOps
.AddRule(@this, rule);
2474
CallSiteOps
.ClearMatch(site);
2507
if ((applicable =
CallSiteOps
.GetRules(@this)) != null)
2523
if (
CallSiteOps
.GetMatch(site))
2525
CallSiteOps
.UpdateRules(@this, i);
2531
CallSiteOps
.ClearMatch(site);
2544
var cache =
CallSiteOps
.GetRuleCache(@this);
2559
if (
CallSiteOps
.GetMatch(site))
2567
if (
CallSiteOps
.GetMatch(site))
2572
CallSiteOps
.AddRule(@this, rule);
2574
CallSiteOps
.MoveRule(cache, rule, i);
2579
CallSiteOps
.ClearMatch(site);
2601
if (
CallSiteOps
.GetMatch(site))
2609
if (
CallSiteOps
.GetMatch(site))
2614
CallSiteOps
.AddRule(@this, rule);
2619
CallSiteOps
.ClearMatch(site);
2652
if ((applicable =
CallSiteOps
.GetRules(@this)) != null)
2668
if (
CallSiteOps
.GetMatch(site))
2670
CallSiteOps
.UpdateRules(@this, i);
2676
CallSiteOps
.ClearMatch(site);
2689
var cache =
CallSiteOps
.GetRuleCache(@this);
2704
if (
CallSiteOps
.GetMatch(site))
2712
if (
CallSiteOps
.GetMatch(site))
2717
CallSiteOps
.AddRule(@this, rule);
2719
CallSiteOps
.MoveRule(cache, rule, i);
2724
CallSiteOps
.ClearMatch(site);
2746
if (
CallSiteOps
.GetMatch(site))
2754
if (
CallSiteOps
.GetMatch(site))
2759
CallSiteOps
.AddRule(@this, rule);
2764
CallSiteOps
.ClearMatch(site);
2797
if ((applicable =
CallSiteOps
.GetRules(@this)) != null)
2813
if (
CallSiteOps
.GetMatch(site))
2815
CallSiteOps
.UpdateRules(@this, i);
2821
CallSiteOps
.ClearMatch(site);
2834
var cache =
CallSiteOps
.GetRuleCache(@this);
2849
if (
CallSiteOps
.GetMatch(site))
2857
if (
CallSiteOps
.GetMatch(site))
2862
CallSiteOps
.AddRule(@this, rule);
2864
CallSiteOps
.MoveRule(cache, rule, i);
2869
CallSiteOps
.ClearMatch(site);
2891
if (
CallSiteOps
.GetMatch(site))
2899
if (
CallSiteOps
.GetMatch(site))
2904
CallSiteOps
.AddRule(@this, rule);
2909
CallSiteOps
.ClearMatch(site);
System\Dynamic\Utils\CachedReflectionInfo.cs (6)
22
s_CallSiteOps_SetNotMatched ??= typeof(
CallSiteOps
).GetMethod(nameof(
CallSiteOps
.SetNotMatched))!;
26
s_CallSiteOps_GetMatch ??= typeof(
CallSiteOps
).GetMethod(nameof(
CallSiteOps
.GetMatch))!;
30
s_CallSiteOps_ClearMatch ??= typeof(
CallSiteOps
).GetMethod(nameof(
CallSiteOps
.ClearMatch))!;
System\Runtime\CompilerServices\CallSite.cs (2)
675
typeof(
CallSiteOps
).GetMethod(nameof(
CallSiteOps
.SetNotMatched))!,
System\Runtime\CompilerServices\CallSiteOpsReflectionCache.cs (8)
15
public static readonly MethodInfo CreateMatchmaker = ((Delegate)
CallSiteOps
.CreateMatchmaker<T>).GetMethodInfo();
18
public static readonly MethodInfo UpdateRules = ((Delegate)
CallSiteOps
.UpdateRules<T>).GetMethodInfo();
21
public static readonly MethodInfo GetRules = ((Delegate)
CallSiteOps
.GetRules<T>).GetMethodInfo();
24
public static readonly MethodInfo GetRuleCache = ((Delegate)
CallSiteOps
.GetRuleCache<T>).GetMethodInfo();
27
public static readonly MethodInfo GetCachedRules = ((Delegate)
CallSiteOps
.GetCachedRules<T>).GetMethodInfo();
30
public static readonly MethodInfo AddRule = ((Delegate)
CallSiteOps
.AddRule<T>).GetMethodInfo();
33
public static readonly MethodInfo MoveRule = ((Delegate)
CallSiteOps
.MoveRule<T>).GetMethodInfo();
36
public static readonly MethodInfo Bind = ((Delegate)
CallSiteOps
.Bind<T>).GetMethodInfo();