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