2 references to ShouldCache
System.Linq.Expressions (2)
System\Linq\Expressions\Compiler\CompilerScope.cs (2)
369if (ShouldCache(refCount.Key, refCount.Value)) 396return ReferenceCount.TryGetValue(v, out refCount) && ShouldCache(v, refCount);