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)
178Debug.Assert(_localEscapeScopes?.ContainsKey(local) == true || _symbol != local.ContainingSymbol); 180return _localEscapeScopes?.TryGetValue(local, out var scopes) == true 187Debug.Assert(_localEscapeScopes?.ContainsKey(local) == true); 429Debug.Assert(_localEscapeScopes?.ContainsKey(node.LocalSymbol) == true || 457Debug.Assert(_localEscapeScopes?.ContainsKey(local) != true); 465_localEscapeScopes[local] = (refEscapeScope, valEscapeScope); 471Debug.Assert(_localEscapeScopes is { });