1 write to _handlers
Microsoft.CodeAnalysis (1)
CodeGen\LocalScopeManager.cs (1)
684_handlers = ImmutableArray.CreateBuilder<ExceptionHandlerScope>(2);
16 references to _handlers
Microsoft.CodeAnalysis (16)
CodeGen\LocalScopeManager.cs (16)
699Debug.Assert(((_handlers.Count == 0) && (scopeType == ScopeType.Try)) || 700((_handlers.Count > 0) && ((scopeType == ScopeType.Catch) || (scopeType == ScopeType.Filter) || (scopeType == ScopeType.Finally) || (scopeType == ScopeType.Fault)))); 705_handlers.Add(handler); 711Debug.Assert(_handlers.Count > 1); 714var tryScope = _handlers[0]; 717for (int i = 1; i < _handlers.Count; i++) 719var handlerScope = _handlers[i]; 734if (_handlers[1].Type == ScopeType.Finally) 743_handlers[1].SetBlockedByFinallyDestination(_endLabel); 749Debug.Assert(_handlers.Count > 1); 754foreach (var handlerScope in _handlers) 777Debug.Assert(_handlers.All(h => (h.LeaderBlock.Reachability == reachability))); 815=> GetLocalScopes(scopesWithVariables, _handlers); 818=> GetHoistedLocalScopes(result, _handlers); 832foreach (var scope in _handlers) 843var handlers = curScope._handlers;