1 write to _handlers
Microsoft.CodeAnalysis (1)
CodeGen\LocalScopeManager.cs (1)
682_handlers = ImmutableArray.CreateBuilder<ExceptionHandlerScope>(2);
16 references to _handlers
Microsoft.CodeAnalysis (16)
CodeGen\LocalScopeManager.cs (16)
697Debug.Assert(((_handlers.Count == 0) && (scopeType == ScopeType.Try)) || 698((_handlers.Count > 0) && ((scopeType == ScopeType.Catch) || (scopeType == ScopeType.Filter) || (scopeType == ScopeType.Finally) || (scopeType == ScopeType.Fault)))); 703_handlers.Add(handler); 709Debug.Assert(_handlers.Count > 1); 712var tryScope = _handlers[0]; 715for (int i = 1; i < _handlers.Count; i++) 717var handlerScope = _handlers[i]; 732if (_handlers[1].Type == ScopeType.Finally) 741_handlers[1].SetBlockedByFinallyDestination(_endLabel); 747Debug.Assert(_handlers.Count > 1); 752foreach (var handlerScope in _handlers) 775Debug.Assert(_handlers.All(h => (h.LeaderBlock.Reachability == reachability))); 813=> GetLocalScopes(scopesWithVariables, _handlers); 816=> GetHoistedLocalScopes(result, _handlers); 830foreach (var scope in _handlers) 841var handlers = curScope._handlers;