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)
697
Debug.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);
709
Debug.Assert(
_handlers
.Count > 1);
712
var tryScope =
_handlers
[0];
715
for (int i = 1; i <
_handlers
.Count; i++)
717
var handlerScope =
_handlers
[i];
732
if (
_handlers
[1].Type == ScopeType.Finally)
741
_handlers
[1].SetBlockedByFinallyDestination(_endLabel);
747
Debug.Assert(
_handlers
.Count > 1);
752
foreach (var handlerScope in
_handlers
)
775
Debug.Assert(
_handlers
.All(h => (h.LeaderBlock.Reachability == reachability)));
813
=> GetLocalScopes(scopesWithVariables,
_handlers
);
816
=> GetHoistedLocalScopes(result,
_handlers
);
830
foreach (var scope in
_handlers
)
841
var handlers = curScope.
_handlers
;