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