5 writes to BranchValue
Microsoft.CodeAnalysis (5)
Operations\ControlFlowGraphBuilder.cs (5)
930predecessor.BranchValue = value; 991predecessor.BranchValue = block.BranchValue; 2982previous.BranchValue = condition; 3854current.BranchValue = Operation.SetParentOperation(returnedValue, null); 3953current.BranchValue = Operation.SetParentOperation(exception, null);
19 references to BranchValue
Microsoft.CodeAnalysis (19)
Operations\ControlFlowGraphBuilder.BasicBlockBuilder.cs (3)
84BranchValue, 110[MemberNotNullWhen(true, nameof(BranchValue))] 116Debug.Assert(!result || BranchValue != null);
Operations\ControlFlowGraphBuilder.cs (15)
284if (current.BranchValue.GetConstantValue() is { IsBoolean: true, BooleanValue: bool constant }) 587if (!block.HasStatements && block.BranchValue == null) 712Debug.Assert(predecessor.BranchValue == null); 726Debug.Assert((block.BranchValue != null && !block.HasCondition) == (next.Kind == ControlFlowBranchSemantics.Return || next.Kind == ControlFlowBranchSemantics.Throw)); 805Debug.Assert(block.HasCondition || block.BranchValue == null); 844IOperation? value = block.BranchValue; 879predecessor.BranchValue != null || 929Debug.Assert(predecessor.BranchValue == null); 985Debug.Assert(predecessor.BranchValue == null); 991predecessor.BranchValue = block.BranchValue; 1379Debug.Assert(prevBlock.HasCondition || prevBlock.BranchValue == null); 2976Debug.Assert(previous.BranchValue == null); 3852Debug.Assert(current.BranchValue == null); 3949Debug.Assert(current.BranchValue == null); 5716Debug.Assert(current.BranchValue == null);
Operations\ControlFlowGraphBuilder.RegionBuilder.cs (1)
393AnonymousFunctionsMapBuilder.Instance.Visit(block.BranchValue, argument);