33 references to Try
Microsoft.CodeAnalysis (24)
Operations\ControlFlowBranch.cs (1)
142
if (leavingRegions[i].Kind == ControlFlowRegionKind.
Try
&& leavingRegions[i + 1].Kind == ControlFlowRegionKind.TryAndFinally)
Operations\ControlFlowGraphBuilder.cs (14)
352
if (region.Kind == ControlFlowRegionKind.
Try
&& enclosing.Kind == ControlFlowRegionKind.TryAndFinally)
408
if (fromRegion.Kind == ControlFlowRegionKind.
Try
)
543
case ControlFlowRegionKind.
Try
:
763
Debug.Assert(@try.Kind == ControlFlowRegionKind.
Try
);
3651
EnterRegion(new RegionBuilder(ControlFlowRegionKind.
Try
));
3658
EnterRegion(new RegionBuilder(ControlFlowRegionKind.
Try
));
3661
Debug.Assert(CurrentRegionRequired.Kind == ControlFlowRegionKind.
Try
);
3744
Debug.Assert(CurrentRegionRequired.Kind == ControlFlowRegionKind.
Try
);
4068
EnterRegion(new RegionBuilder(ControlFlowRegionKind.
Try
));
4072
Debug.Assert(CurrentRegionRequired.Kind == ControlFlowRegionKind.
Try
);
4279
EnterRegion(new RegionBuilder(ControlFlowRegionKind.
Try
));
4313
Debug.Assert(CurrentRegionRequired.Kind == ControlFlowRegionKind.
Try
);
4419
EnterRegion(new RegionBuilder(ControlFlowRegionKind.
Try
));
4450
Debug.Assert(_currentRegion.Kind == ControlFlowRegionKind.
Try
);
Operations\ControlFlowGraphBuilder.RegionBuilder.cs (3)
153
Debug.Assert(lastKind == ControlFlowRegionKind.
Try
);
165
Debug.Assert(lastKind == ControlFlowRegionKind.
Try
);
177
Debug.Assert(lastKind != ControlFlowRegionKind.
Try
);
Operations\ControlFlowRegion.cs (3)
97
Debug.Assert(NestedRegions[0].Kind == (kind == ControlFlowRegionKind.TryAndFinally ? ControlFlowRegionKind.
Try
: ControlFlowRegionKind.Filter));
106
Debug.Assert(NestedRegions[0].Kind == ControlFlowRegionKind.
Try
);
124
case ControlFlowRegionKind.
Try
:
Operations\ControlFlowRegionKind.cs (3)
49
/// Region representing a union of a <see cref="
Try
"/> and all corresponding catch <see cref="Catch"/>
60
/// Region representing a union of a <see cref="
Try
"/> and corresponding finally <see cref="Finally"/>
64
/// at the same time is mapped to a <see cref="TryAndFinally"/> region with <see cref="TryAndCatch"/> region inside its <see cref="
Try
"/> region.
Microsoft.CodeAnalysis.CodeStyle (2)
CustomDataFlowAnalysis.cs (2)
260
if (region.Kind == ControlFlowRegionKind.
Try
&& enclosing.Kind == ControlFlowRegionKind.TryAndFinally)
320
if (fromRegion.Kind == ControlFlowRegionKind.
Try
)
Microsoft.CodeAnalysis.Test.Utilities (5)
Compilation\ControlFlowGraphVerifier.cs (3)
774
if (region.Kind == ControlFlowRegionKind.
Try
&& region.EnclosingRegion.Kind == ControlFlowRegionKind.TryAndFinally)
1465
case ControlFlowRegionKind.
Try
:
1558
case ControlFlowRegionKind.
Try
:
CustomDataFlowAnalysis.cs (2)
260
if (region.Kind == ControlFlowRegionKind.
Try
&& enclosing.Kind == ControlFlowRegionKind.TryAndFinally)
320
if (fromRegion.Kind == ControlFlowRegionKind.
Try
)
Microsoft.CodeAnalysis.Workspaces (2)
CustomDataFlowAnalysis.cs (2)
260
if (region.Kind == ControlFlowRegionKind.
Try
&& enclosing.Kind == ControlFlowRegionKind.TryAndFinally)
320
if (fromRegion.Kind == ControlFlowRegionKind.
Try
)