32 references to MethodCallExpressionHelper
System.Activities (32)
System\Activities\Expressions\IndexerReference.cs (5)
26
new MruCache<MethodInfo, Func<object, object[], object>>(
MethodCallExpressionHelper
.FuncCacheCapacity);
88
if (
MethodCallExpressionHelper
.NeedRetrieve(this.getMethod, oldGetMethod, this.getFunc))
90
this.getFunc =
MethodCallExpressionHelper
.GetFunc(metadata, this.getMethod, funcCache, locker);
92
if (
MethodCallExpressionHelper
.NeedRetrieve(this.setMethod, oldSetMethod, this.setFunc))
94
this.setFunc =
MethodCallExpressionHelper
.GetFunc(metadata, this.setMethod, funcCache, locker);
System\Activities\Expressions\InvokeMethod.cs (1)
29
new MruCache<MethodInfo, Func<object, object[], object>>(
MethodCallExpressionHelper
.FuncCacheCapacity);
System\Activities\Expressions\New.cs (2)
30
new MruCache<ConstructorInfo, Func<object[], TResult>>(
MethodCallExpressionHelper
.FuncCacheCapacity);
93
this.function =
MethodCallExpressionHelper
.GetFunc<TResult>(metadata, constructorInfo, funcCache, locker);
System\Activities\Expressions\PropertyReference.cs (5)
22
new MruCache<MethodInfo, Func<object, object[], object>>(
MethodCallExpressionHelper
.FuncCacheCapacity);
89
if (
MethodCallExpressionHelper
.NeedRetrieve(this.getMethod, oldGetMethod, this.getFunc))
91
this.getFunc =
MethodCallExpressionHelper
.GetFunc(metadata, this.getMethod, funcCache, locker);
93
if (
MethodCallExpressionHelper
.NeedRetrieve(this.setMethod, oldSetMethod, this.setFunc))
95
this.setFunc =
MethodCallExpressionHelper
.GetFunc(metadata, this.setMethod, funcCache, locker);
System\Activities\Expressions\ValueTypeIndexerReference.cs (5)
27
new MruCache<MethodInfo, Func<object, object[], object>>(
MethodCallExpressionHelper
.FuncCacheCapacity);
89
if (
MethodCallExpressionHelper
.NeedRetrieve(this.getMethod, oldGetMethod, this.getFunc))
91
this.getFunc =
MethodCallExpressionHelper
.GetFunc(metadata, this.getMethod, funcCache, locker);
93
if (
MethodCallExpressionHelper
.NeedRetrieve(this.setMethod, oldSetMethod, this.setFunc))
95
this.setFunc =
MethodCallExpressionHelper
.GetFunc(metadata, this.setMethod, funcCache, locker, true);
System\Activities\Expressions\ValueTypePropertyReference.cs (5)
25
new MruCache<MethodInfo, Func<object, object[], object>>(
MethodCallExpressionHelper
.FuncCacheCapacity);
88
if (
MethodCallExpressionHelper
.NeedRetrieve(this.getMethod, oldGetMethod, this.getFunc))
90
this.getFunc =
MethodCallExpressionHelper
.GetFunc(metadata, this.getMethod, funcCache, locker);
92
if (
MethodCallExpressionHelper
.NeedRetrieve(this.setMethod, oldSetMethod, this.setFunc))
94
this.setFunc =
MethodCallExpressionHelper
.GetFunc(metadata, this.setMethod, funcCache, locker, true);
System\Activities\Statements\InvokeMethod.cs (1)
29
new MruCache<MethodInfo, Func<object, object[], object>>(
MethodCallExpressionHelper
.FuncCacheCapacity);
System\Activities\Statements\MethodResolver.cs (8)
575
this.func =
MethodCallExpressionHelper
.GetFunc(metadata, this.syncMethod, funcCache, locker);
588
return !
MethodCallExpressionHelper
.NeedRetrieve(newMethod, this.syncMethod, this.func);
629
this.beginFunc =
MethodCallExpressionHelper
.GetFunc(metadata, beginMethod, funcCache, locker);
630
this.endFunc =
MethodCallExpressionHelper
.GetFunc(metadata, endMethod, funcCache, locker);
647
return !(
MethodCallExpressionHelper
.NeedRetrieve(newBeginMethod, this.beginMethod, this.beginFunc)
648
||
MethodCallExpressionHelper
.NeedRetrieve(newEndMethod, this.endMethod, this.endFunc));
691
this.asyncFunc =
MethodCallExpressionHelper
.GetFunc(metadata, asyncMethod, funcCache, locker);
707
return !
MethodCallExpressionHelper
.NeedRetrieve(newMethodInfo, this.asyncMethod, this.asyncFunc);