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