10 writes to Kind
Microsoft.CodeAnalysis (10)
Operations\ControlFlowGraphBuilder.cs (10)
1106
predecessorBranch.
Kind
= successorBranch.Kind;
1236
branch.
Kind
= ControlFlowBranchSemantics.Error;
1382
prevBlock.FallThrough.
Kind
= branchKind;
3295
return new BasicBlockBuilder.Branch() { Destination = destination,
Kind
= ControlFlowBranchSemantics.Regular };
3718
continueDispatchBlock.FallThrough.
Kind
= ControlFlowBranchSemantics.StructuredExceptionHandling;
3780
continueDispatchBlock.FallThrough.
Kind
= ControlFlowBranchSemantics.StructuredExceptionHandling;
3954
current.FallThrough.
Kind
= exception == null ? ControlFlowBranchSemantics.Rethrow : ControlFlowBranchSemantics.Throw;
4129
endOfFinally.FallThrough.
Kind
= ControlFlowBranchSemantics.StructuredExceptionHandling;
4411
endOfFinally.FallThrough.
Kind
= ControlFlowBranchSemantics.StructuredExceptionHandling;
5720
current.FallThrough.
Kind
= ControlFlowBranchSemantics.ProgramTermination;
36 references to Kind
Microsoft.CodeAnalysis (36)
Operations\ControlFlowGraphBuilder.cs (36)
226
branch.
Kind
,
303
if (current.Ordinal == lastBlockOrdinal && branch.
Kind
!= ControlFlowBranchSemantics.Throw && branch.
Kind
!= ControlFlowBranchSemantics.Rethrow)
323
switch (branch.
Kind
)
347
throw ExceptionUtilities.UnexpectedValue(branch.
Kind
);
398
blocks[@finally.LastBlockOrdinal].FallThrough.
Kind
== ControlFlowBranchSemantics.StructuredExceptionHandling;
713
Debug.Assert(predecessor.FallThrough.
Kind
== ControlFlowBranchSemantics.Regular);
726
Debug.Assert((block.BranchValue != null && !block.HasCondition) == (next.
Kind
== ControlFlowBranchSemantics.Return || next.
Kind
== ControlFlowBranchSemantics.Throw));
728
(next.
Kind
== ControlFlowBranchSemantics.ProgramTermination ||
729
next.
Kind
== ControlFlowBranchSemantics.Throw ||
730
next.
Kind
== ControlFlowBranchSemantics.Rethrow ||
731
next.
Kind
== ControlFlowBranchSemantics.Error ||
732
next.
Kind
== ControlFlowBranchSemantics.StructuredExceptionHandling));
735
if (next.
Kind
== ControlFlowBranchSemantics.StructuredExceptionHandling)
761
next.Destination == null && next.
Kind
== ControlFlowBranchSemantics.StructuredExceptionHandling &&
803
if (next.
Kind
== ControlFlowBranchSemantics.StructuredExceptionHandling)
836
Debug.Assert(next.
Kind
== ControlFlowBranchSemantics.Regular ||
837
next.
Kind
== ControlFlowBranchSemantics.Return ||
838
next.
Kind
== ControlFlowBranchSemantics.Throw ||
839
next.
Kind
== ControlFlowBranchSemantics.Rethrow ||
840
next.
Kind
== ControlFlowBranchSemantics.Error ||
841
next.
Kind
== ControlFlowBranchSemantics.ProgramTermination);
863
if (!block.HasPredecessors && next.
Kind
== ControlFlowBranchSemantics.Return)
952
if (next.
Kind
== ControlFlowBranchSemantics.StructuredExceptionHandling)
957
Debug.Assert(next.
Kind
== ControlFlowBranchSemantics.Regular ||
958
next.
Kind
== ControlFlowBranchSemantics.Return ||
959
next.
Kind
== ControlFlowBranchSemantics.Throw ||
960
next.
Kind
== ControlFlowBranchSemantics.Rethrow ||
961
next.
Kind
== ControlFlowBranchSemantics.Error ||
962
next.
Kind
== ControlFlowBranchSemantics.ProgramTermination);
1105
Debug.Assert(predecessorBranch.
Kind
== ControlFlowBranchSemantics.Regular);
1106
predecessorBranch.Kind = successorBranch.
Kind
;
1234
Debug.Assert(branch.
Kind
== ControlFlowBranchSemantics.Regular);
3952
Debug.Assert(current.FallThrough.
Kind
== ControlFlowBranchSemantics.None);
5719
Debug.Assert(current.FallThrough.
Kind
== ControlFlowBranchSemantics.None);