1 write to _localEscapeScopes
Microsoft.CodeAnalysis.CSharp (1)
Binder\RefSafetyAnalysis.cs (1)
464
_localEscapeScopes
??= new Dictionary<LocalSymbol, (SafeContext RefEscapeScope, SafeContext ValEscapeScope)>();
7 references to _localEscapeScopes
Microsoft.CodeAnalysis.CSharp (7)
Binder\RefSafetyAnalysis.cs (7)
178
Debug.Assert(
_localEscapeScopes
?.ContainsKey(local) == true || _symbol != local.ContainingSymbol);
180
return
_localEscapeScopes
?.TryGetValue(local, out var scopes) == true
187
Debug.Assert(
_localEscapeScopes
?.ContainsKey(local) == true);
429
Debug.Assert(
_localEscapeScopes
?.ContainsKey(node.LocalSymbol) == true ||
457
Debug.Assert(
_localEscapeScopes
?.ContainsKey(local) != true);
465
_localEscapeScopes
[local] = (refEscapeScope, valEscapeScope);
471
Debug.Assert(
_localEscapeScopes
is { });