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)
214Debug.Assert(_localEscapeScopes?.ContainsKey(local) == true || _symbol != local.ContainingSymbol); 216return _localEscapeScopes?.TryGetValue(local, out var scopes) == true 223Debug.Assert(_localEscapeScopes?.ContainsKey(local) == true); 470Debug.Assert(_localEscapeScopes?.ContainsKey(node.LocalSymbol) == true || 498Debug.Assert(_localEscapeScopes?.ContainsKey(local) != true); 506_localEscapeScopes[local] = (refEscapeScope, valEscapeScope); 512Debug.Assert(_localEscapeScopes is { });