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