10 writes to Kind
Microsoft.CodeAnalysis (10)
Operations\ControlFlowGraphBuilder.cs (10)
1098
predecessorBranch.
Kind
= successorBranch.Kind;
1228
branch.
Kind
= ControlFlowBranchSemantics.Error;
1373
prevBlock.FallThrough.
Kind
= branchKind;
3285
return new BasicBlockBuilder.Branch() { Destination = destination,
Kind
= ControlFlowBranchSemantics.Regular };
3708
continueDispatchBlock.FallThrough.
Kind
= ControlFlowBranchSemantics.StructuredExceptionHandling;
3770
continueDispatchBlock.FallThrough.
Kind
= ControlFlowBranchSemantics.StructuredExceptionHandling;
3944
current.FallThrough.
Kind
= exception == null ? ControlFlowBranchSemantics.Rethrow : ControlFlowBranchSemantics.Throw;
4118
endOfFinally.FallThrough.
Kind
= ControlFlowBranchSemantics.StructuredExceptionHandling;
4400
endOfFinally.FallThrough.
Kind
= ControlFlowBranchSemantics.StructuredExceptionHandling;
5709
current.FallThrough.
Kind
= ControlFlowBranchSemantics.ProgramTermination;
36 references to Kind
Microsoft.CodeAnalysis (36)
Operations\ControlFlowGraphBuilder.cs (36)
218
branch.
Kind
,
295
if (current.Ordinal == lastBlockOrdinal && branch.
Kind
!= ControlFlowBranchSemantics.Throw && branch.
Kind
!= ControlFlowBranchSemantics.Rethrow)
315
switch (branch.
Kind
)
339
throw ExceptionUtilities.UnexpectedValue(branch.
Kind
);
390
blocks[@finally.LastBlockOrdinal].FallThrough.
Kind
== ControlFlowBranchSemantics.StructuredExceptionHandling;
705
Debug.Assert(predecessor.FallThrough.
Kind
== ControlFlowBranchSemantics.Regular);
718
Debug.Assert((block.BranchValue != null && !block.HasCondition) == (next.
Kind
== ControlFlowBranchSemantics.Return || next.
Kind
== ControlFlowBranchSemantics.Throw));
720
(next.
Kind
== ControlFlowBranchSemantics.ProgramTermination ||
721
next.
Kind
== ControlFlowBranchSemantics.Throw ||
722
next.
Kind
== ControlFlowBranchSemantics.Rethrow ||
723
next.
Kind
== ControlFlowBranchSemantics.Error ||
724
next.
Kind
== ControlFlowBranchSemantics.StructuredExceptionHandling));
727
if (next.
Kind
== ControlFlowBranchSemantics.StructuredExceptionHandling)
753
next.Destination == null && next.
Kind
== ControlFlowBranchSemantics.StructuredExceptionHandling &&
795
if (next.
Kind
== ControlFlowBranchSemantics.StructuredExceptionHandling)
828
Debug.Assert(next.
Kind
== ControlFlowBranchSemantics.Regular ||
829
next.
Kind
== ControlFlowBranchSemantics.Return ||
830
next.
Kind
== ControlFlowBranchSemantics.Throw ||
831
next.
Kind
== ControlFlowBranchSemantics.Rethrow ||
832
next.
Kind
== ControlFlowBranchSemantics.Error ||
833
next.
Kind
== ControlFlowBranchSemantics.ProgramTermination);
855
if (!block.HasPredecessors && next.
Kind
== ControlFlowBranchSemantics.Return)
944
if (next.
Kind
== ControlFlowBranchSemantics.StructuredExceptionHandling)
949
Debug.Assert(next.
Kind
== ControlFlowBranchSemantics.Regular ||
950
next.
Kind
== ControlFlowBranchSemantics.Return ||
951
next.
Kind
== ControlFlowBranchSemantics.Throw ||
952
next.
Kind
== ControlFlowBranchSemantics.Rethrow ||
953
next.
Kind
== ControlFlowBranchSemantics.Error ||
954
next.
Kind
== ControlFlowBranchSemantics.ProgramTermination);
1097
Debug.Assert(predecessorBranch.
Kind
== ControlFlowBranchSemantics.Regular);
1098
predecessorBranch.Kind = successorBranch.
Kind
;
1226
Debug.Assert(branch.
Kind
== ControlFlowBranchSemantics.Regular);
3942
Debug.Assert(current.FallThrough.
Kind
== ControlFlowBranchSemantics.None);
5708
Debug.Assert(current.FallThrough.
Kind
== ControlFlowBranchSemantics.None);