1 write to _localEscapeScopes
Microsoft.CodeAnalysis.CSharp (1)
Binder\RefSafetyAnalysis.cs (1)
505
_localEscapeScopes
??= new Dictionary<LocalSymbol, (SafeContext RefEscapeScope, SafeContext ValEscapeScope)>();
7 references to _localEscapeScopes
Microsoft.CodeAnalysis.CSharp (7)
Binder\RefSafetyAnalysis.cs (7)
214
Debug.Assert(
_localEscapeScopes
?.ContainsKey(local) == true || _symbol != local.ContainingSymbol);
216
return
_localEscapeScopes
?.TryGetValue(local, out var scopes) == true
223
Debug.Assert(
_localEscapeScopes
?.ContainsKey(local) == true);
470
Debug.Assert(
_localEscapeScopes
?.ContainsKey(node.LocalSymbol) == true ||
498
Debug.Assert(
_localEscapeScopes
?.ContainsKey(local) != true);
506
_localEscapeScopes
[local] = (refEscapeScope, valEscapeScope);
512
Debug.Assert(
_localEscapeScopes
is { });