19 references to Throw
ILLink.RoslynAnalyzer (1)
DataFlow\LocalDataFlowVisitor.cs (1)
107
if (block.Block.FallThroughSuccessor?.Semantics == ControlFlowBranchSemantics.
Throw
)
Microsoft.CodeAnalysis (7)
Operations\ControlFlowGraphBuilder.cs (7)
295
if (current.Ordinal == lastBlockOrdinal && branch.Kind != ControlFlowBranchSemantics.
Throw
&& branch.Kind != ControlFlowBranchSemantics.Rethrow)
320
case ControlFlowBranchSemantics.
Throw
:
718
Debug.Assert((block.BranchValue != null && !block.HasCondition) == (next.Kind == ControlFlowBranchSemantics.Return || next.Kind == ControlFlowBranchSemantics.
Throw
));
721
next.Kind == ControlFlowBranchSemantics.
Throw
||
830
next.Kind == ControlFlowBranchSemantics.
Throw
||
951
next.Kind == ControlFlowBranchSemantics.
Throw
||
3944
current.FallThrough.Kind = exception == null ? ControlFlowBranchSemantics.Rethrow : ControlFlowBranchSemantics.
Throw
;
Microsoft.CodeAnalysis.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (2)
179
continueDispatchAfterFinally[current.EnclosingRegion] = branch.Semantics != ControlFlowBranchSemantics.
Throw
&&
219
case ControlFlowBranchSemantics.
Throw
:
Microsoft.CodeAnalysis.Test.Utilities (7)
Compilation\ControlFlowGraphVerifier.cs (5)
255
Assert.NotEqual(ControlFlowBranchSemantics.
Throw
, conditionalBranch.Semantics);
305
Assert.True(ControlFlowBranchSemantics.Return == nextBranch.Semantics || ControlFlowBranchSemantics.
Throw
== nextBranch.Semantics);
312
Assert.NotEqual(ControlFlowBranchSemantics.
Throw
, nextBranch.Semantics);
727
else if (branch.Semantics == ControlFlowBranchSemantics.
Throw
||
1576
Assert.True(ControlFlowBranchSemantics.None == branch.Semantics || ControlFlowBranchSemantics.
Throw
== branch.Semantics ||
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (2)
179
continueDispatchAfterFinally[current.EnclosingRegion] = branch.Semantics != ControlFlowBranchSemantics.
Throw
&&
219
case ControlFlowBranchSemantics.
Throw
:
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (2)
179
continueDispatchAfterFinally[current.EnclosingRegion] = branch.Semantics != ControlFlowBranchSemantics.
Throw
&&
219
case ControlFlowBranchSemantics.
Throw
: