6 instantiations of CacheDict
System.Linq.Expressions (6)
System\Dynamic\Utils\DelegateHelpers.cs (1)
70
private static readonly CacheDict<Type, MethodInfo> s_thunks = new
CacheDict
<Type, MethodInfo>(256);
System\Dynamic\Utils\TypeExtensions.cs (1)
13
private static readonly CacheDict<MethodBase, ParameterInfo[]> s_paramInfoCache = new
CacheDict
<MethodBase, ParameterInfo[]>(75);
System\Linq\Expressions\Expression.cs (1)
31
private static readonly CacheDict<Type, MethodInfo> s_lambdaDelegateCache = new
CacheDict
<Type, MethodInfo>(40);
System\Linq\Expressions\Interpreter\CallInstruction.cs (1)
26
private static readonly CacheDict<MethodInfo, CallInstruction> s_cache = new
CacheDict
<MethodInfo, CallInstruction>(256);
System\Linq\Expressions\LambdaExpression.cs (1)
619
s_lambdaFactories ??= new
CacheDict
<Type, Func<Expression, string?, bool, ReadOnlyCollection<ParameterExpression>, LambdaExpression>>(50);
System\Runtime\CompilerServices\CallSite.cs (1)
97
s_siteCtors = ctors = new
CacheDict
<Type, Func<CallSiteBinder, CallSite>>(100);
10 references to CacheDict
System.Linq.Expressions (10)
System\Dynamic\Utils\DelegateHelpers.cs (1)
70
private static readonly
CacheDict
<Type, MethodInfo> s_thunks = new CacheDict<Type, MethodInfo>(256);
System\Dynamic\Utils\TypeExtensions.cs (2)
13
private static readonly
CacheDict
<MethodBase, ParameterInfo[]> s_paramInfoCache = new CacheDict<MethodBase, ParameterInfo[]>(75);
70
CacheDict
<MethodBase, ParameterInfo[]> pic = s_paramInfoCache;
System\Linq\Expressions\Expression.cs (2)
31
private static readonly
CacheDict
<Type, MethodInfo> s_lambdaDelegateCache = new CacheDict<Type, MethodInfo>(40);
32
private static volatile
CacheDict
<Type, Func<Expression, string?, bool, ReadOnlyCollection<ParameterExpression>, LambdaExpression>>? s_lambdaFactories;
System\Linq\Expressions\Interpreter\CallInstruction.cs (1)
26
private static readonly
CacheDict
<MethodInfo, CallInstruction> s_cache = new CacheDict<MethodInfo, CallInstruction>(256);
System\Linq\Expressions\LambdaExpression.cs (2)
618
CacheDict
<Type, Func<Expression, string?, bool, ReadOnlyCollection<ParameterExpression>, LambdaExpression>>? factories =
926
CacheDict
<Type, MethodInfo> ldc = s_lambdaDelegateCache;
System\Runtime\CompilerServices\CallSite.cs (2)
54
private static volatile
CacheDict
<Type, Func<CallSiteBinder, CallSite>>? s_siteCtors;
93
CacheDict
<Type, Func<CallSiteBinder, CallSite>>? ctors = s_siteCtors;