1 write to Semantics
Microsoft.CodeAnalysis (1)
Operations\ControlFlowBranch.cs (1)
30
Semantics
= semantics;
37 references to Semantics
Microsoft.CodeAnalysis.CodeStyle (5)
CustomDataFlowAnalysis.cs (5)
179
continueDispatchAfterFinally[current.EnclosingRegion] = branch.
Semantics
!= ControlFlowBranchSemantics.Throw &&
180
branch.
Semantics
!= ControlFlowBranchSemantics.Rethrow &&
181
current.FallThroughSuccessor.
Semantics
== ControlFlowBranchSemantics.StructuredExceptionHandling;
210
switch (branch.
Semantics
)
249
throw ExceptionUtilities.UnexpectedValue(branch.
Semantics
);
Microsoft.CodeAnalysis.Test.Utilities (27)
Compilation\ControlFlowGraphVerifier.cs (22)
254
Assert.NotEqual(ControlFlowBranchSemantics.Return, conditionalBranch.
Semantics
);
255
Assert.NotEqual(ControlFlowBranchSemantics.Throw, conditionalBranch.
Semantics
);
256
Assert.NotEqual(ControlFlowBranchSemantics.StructuredExceptionHandling, conditionalBranch.
Semantics
);
260
appendLine($" Jump if {jumpIfTrue} ({conditionalBranch.
Semantics
}) to Block[{getDestinationString(ref conditionalBranch)}]");
293
if (nextBranch.
Semantics
== ControlFlowBranchSemantics.StructuredExceptionHandling)
300
appendLine($" Next ({nextBranch.
Semantics
}) Block[{getDestinationString(ref nextBranch)}]");
305
Assert.True(ControlFlowBranchSemantics.Return == nextBranch.
Semantics
|| ControlFlowBranchSemantics.Throw == nextBranch.
Semantics
);
311
Assert.NotEqual(ControlFlowBranchSemantics.Return, nextBranch.
Semantics
);
312
Assert.NotEqual(ControlFlowBranchSemantics.Throw, nextBranch.
Semantics
);
765
else if (branch.
Semantics
== ControlFlowBranchSemantics.Throw ||
766
branch.
Semantics
== ControlFlowBranchSemantics.Rethrow ||
767
branch.
Semantics
== ControlFlowBranchSemantics.Error ||
768
branch.
Semantics
== ControlFlowBranchSemantics.StructuredExceptionHandling)
1601
Assert.True(ControlFlowBranchSemantics.None == branch.
Semantics
|| ControlFlowBranchSemantics.Throw == branch.
Semantics
||
1602
ControlFlowBranchSemantics.Rethrow == branch.
Semantics
|| ControlFlowBranchSemantics.StructuredExceptionHandling == branch.
Semantics
||
1603
ControlFlowBranchSemantics.ProgramTermination == branch.
Semantics
|| ControlFlowBranchSemantics.Error == branch.
Semantics
);
1607
Assert.True(ControlFlowBranchSemantics.Regular == branch.
Semantics
|| ControlFlowBranchSemantics.Return == branch.
Semantics
);
CustomDataFlowAnalysis.cs (5)
179
continueDispatchAfterFinally[current.EnclosingRegion] = branch.
Semantics
!= ControlFlowBranchSemantics.Throw &&
180
branch.
Semantics
!= ControlFlowBranchSemantics.Rethrow &&
181
current.FallThroughSuccessor.
Semantics
== ControlFlowBranchSemantics.StructuredExceptionHandling;
210
switch (branch.
Semantics
)
249
throw ExceptionUtilities.UnexpectedValue(branch.
Semantics
);
Microsoft.CodeAnalysis.Workspaces (5)
CustomDataFlowAnalysis.cs (5)
179
continueDispatchAfterFinally[current.EnclosingRegion] = branch.
Semantics
!= ControlFlowBranchSemantics.Throw &&
180
branch.
Semantics
!= ControlFlowBranchSemantics.Rethrow &&
181
current.FallThroughSuccessor.
Semantics
== ControlFlowBranchSemantics.StructuredExceptionHandling;
210
switch (branch.
Semantics
)
249
throw ExceptionUtilities.UnexpectedValue(branch.
Semantics
);