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