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