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)
699
Debug.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);
711
Debug.Assert(
_handlers
.Count > 1);
714
var tryScope =
_handlers
[0];
717
for (int i = 1; i <
_handlers
.Count; i++)
719
var handlerScope =
_handlers
[i];
734
if (
_handlers
[1].Type == ScopeType.Finally)
743
_handlers
[1].SetBlockedByFinallyDestination(_endLabel);
749
Debug.Assert(
_handlers
.Count > 1);
754
foreach (var handlerScope in
_handlers
)
777
Debug.Assert(
_handlers
.All(h => (h.LeaderBlock.Reachability == reachability)));
815
=> GetLocalScopes(scopesWithVariables,
_handlers
);
818
=> GetHoistedLocalScopes(result,
_handlers
);
832
foreach (var scope in
_handlers
)
843
var handlers = curScope.
_handlers
;