1 write to BranchValue
Microsoft.CodeAnalysis (1)
Operations\BasicBlock.cs (1)
39
BranchValue
= branchValue;
30 references to BranchValue
Microsoft.CodeAnalysis (6)
Operations\BasicBlock.cs (2)
13
/// Optional <see cref="
BranchValue
"/>, if non-null, is evaluated after the <see cref="Operations"/>.
89
/// on the <see cref="ConditionKind"/> and <see cref="
BranchValue
"/>.
Operations\ControlFlowConditionKind.cs (4)
20
/// with a non-null <see cref="BasicBlock.
BranchValue
"/> and <see cref="BasicBlock.ConditionalSuccessor"/>.
21
/// If <see cref="BasicBlock.
BranchValue
"/> evaluates to <code>false</code>,
28
/// with a non-null <see cref="BasicBlock.
BranchValue
"/> and <see cref="BasicBlock.ConditionalSuccessor"/>.
29
/// If <see cref="BasicBlock.
BranchValue
"/> evaluates to <code>true</code>,
Microsoft.CodeAnalysis.CodeStyle (5)
BasicBlockExtensions.cs (2)
22
if (basicBlock.
BranchValue
!= null)
24
foreach (var operation in basicBlock.
BranchValue
.DescendantsAndSelf())
CustomDataFlowAnalysis.cs (2)
149
if (current.
BranchValue
.ConstantValue.HasValue && current.
BranchValue
.ConstantValue.Value is bool constant)
SymbolUsageAnalysis.DataFlowAnalyzer.cs (1)
155
var operations = SpecializedCollections.SingletonEnumerable(basicBlock.
BranchValue
);
Microsoft.CodeAnalysis.Test.Utilities (14)
Compilation\ControlFlowGraphVerifier.cs (12)
139
Assert.Null(block.
BranchValue
);
160
Assert.Null(block.
BranchValue
);
262
IOperation value = block.
BranchValue
;
280
Assert.Null(block.
BranchValue
);
301
IOperation value = block.ConditionKind == ControlFlowConditionKind.None ? block.
BranchValue
: null;
424
if (block.
BranchValue
!= null)
426
assertCaptureReferences(currentState, block.
BranchValue
, block, block.Operations.Length, longLivedIds, referencedIds, finalGraph);
488
lastOperation = blocks[i].
BranchValue
?? blocks[i].Operations.LastOrDefault();
1357
if (block.
BranchValue
!= null)
1359
foreach (IFlowCaptureReferenceOperation reference in block.
BranchValue
.DescendantsAndSelf().OfType<IFlowCaptureReferenceOperation>())
1681
if (block.
BranchValue
!= null)
1683
recordReferences(block.
BranchValue
);
CustomDataFlowAnalysis.cs (2)
149
if (current.
BranchValue
.ConstantValue.HasValue && current.
BranchValue
.ConstantValue.Value is bool constant)
Microsoft.CodeAnalysis.Workspaces (5)
BasicBlockExtensions.cs (2)
22
if (basicBlock.
BranchValue
!= null)
24
foreach (var operation in basicBlock.
BranchValue
.DescendantsAndSelf())
CustomDataFlowAnalysis.cs (2)
149
if (current.
BranchValue
.ConstantValue.HasValue && current.
BranchValue
.ConstantValue.Value is bool constant)
SymbolUsageAnalysis.DataFlowAnalyzer.cs (1)
155
var operations = SpecializedCollections.SingletonEnumerable(basicBlock.
BranchValue
);