24 references to ControlFlowConditionKind
ILLink.RoslynAnalyzer (4)
DataFlow\ControlFlowGraphProxy.cs (3)
78
ControlFlowConditionKind
.None => ConditionKind.Unconditional,
79
ControlFlowConditionKind
.WhenFalse => branch.IsConditionalSuccessor ? ConditionKind.WhenFalse : ConditionKind.WhenTrue,
80
ControlFlowConditionKind
.WhenTrue => branch.IsConditionalSuccessor ? ConditionKind.WhenTrue : ConditionKind.WhenFalse,
DataFlow\LocalDataFlowVisitor.cs (1)
92
if (block.Block.ConditionKind !=
ControlFlowConditionKind
.None) {
Microsoft.CodeAnalysis (7)
Operations\BasicBlock.cs (2)
32
ControlFlowConditionKind
conditionKind,
68
public
ControlFlowConditionKind
ConditionKind { get; }
Operations\ControlFlowGraphBuilder.BasicBlockBuilder.cs (2)
28
public
ControlFlowConditionKind
ConditionKind;
115
bool result = ConditionKind !=
ControlFlowConditionKind
.None;
Operations\ControlFlowGraphBuilder.cs (3)
278
if (constant == (current.ConditionKind ==
ControlFlowConditionKind
.WhenTrue))
2973
previous.ConditionKind = jumpIfTrue ?
ControlFlowConditionKind
.WhenTrue :
ControlFlowConditionKind
.WhenFalse;
Microsoft.CodeAnalysis.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (2)
143
if (current.ConditionKind !=
ControlFlowConditionKind
.None)
151
if (constant == (current.ConditionKind ==
ControlFlowConditionKind
.WhenTrue))
Microsoft.CodeAnalysis.Test.Utilities (9)
Compilation\ControlFlowGraphVerifier.cs (7)
202
Assert.NotEqual(
ControlFlowConditionKind
.None, predecessor.ConditionKind);
243
if (block.ConditionKind !=
ControlFlowConditionKind
.None)
258
Assert.True(block.ConditionKind ==
ControlFlowConditionKind
.WhenTrue || block.ConditionKind ==
ControlFlowConditionKind
.WhenFalse);
259
string jumpIfTrue = block.ConditionKind ==
ControlFlowConditionKind
.WhenTrue ? "True" : "False";
272
Assert.Equal(
ControlFlowConditionKind
.None, block.ConditionKind);
301
IOperation value = block.ConditionKind ==
ControlFlowConditionKind
.None ? block.BranchValue : null;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (2)
143
if (current.ConditionKind !=
ControlFlowConditionKind
.None)
151
if (constant == (current.ConditionKind ==
ControlFlowConditionKind
.WhenTrue))
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (2)
143
if (current.ConditionKind !=
ControlFlowConditionKind
.None)
151
if (constant == (current.ConditionKind ==
ControlFlowConditionKind
.WhenTrue))