2 writes to _bindingCache
Microsoft.CodeAnalysis.CSharp (2)
BoundTree\UnboundLambda.cs (2)
560_bindingCache = ImmutableDictionary<(NamedTypeSymbol Type, bool IsExpressionLambda), BoundLambda>.Empty.WithComparers(BindingCacheComparer.Instance); 643result = ImmutableInterlocked.GetOrAdd(ref _bindingCache, (delegateType, inExpressionTree), result);
5 references to _bindingCache
Microsoft.CodeAnalysis.CSharp (5)
BoundTree\UnboundLambda.cs (5)
578if ((_bindingCache == null) != includeCache) 584Debug.Assert((state._bindingCache == null) != includeCache); 640if (!_bindingCache!.TryGetValue((delegateType, inExpressionTree), out BoundLambda? result)) 1238GuessBestBoundLambda(_bindingCache!) 1371var convBags = from boundLambda in _bindingCache select boundLambda.Value.Diagnostics;