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