1 write to BranchValue
Microsoft.CodeAnalysis (1)
Operations\BasicBlock.cs (1)
39BranchValue = branchValue;
53 references to BranchValue
GenerateDocumentationAndConfigFiles (5)
src\b310f676f7308b7f\SymbolUsageAnalysis.DataFlowAnalyzer.cs (1)
155var operations = SpecializedCollections.SingletonEnumerable(basicBlock.BranchValue);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\BasicBlockExtensions.cs (2)
22if (basicBlock.BranchValue != null) 24foreach (var operation in basicBlock.BranchValue.DescendantsAndSelf())
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (2)
148if (current.BranchValue.ConstantValue.HasValue && current.BranchValue.ConstantValue.Value is bool constant)
ILLink.RoslynAnalyzer (4)
DataFlow\BasicBlockExtensions.cs (2)
22if (basicBlock.BranchValue != null) 24foreach (var operation in basicBlock.BranchValue.DescendantsAndSelf())
DataFlow\LocalDataFlowVisitor.cs (1)
86IOperation? branchValueOperation = block.Block.BranchValue;
TrimAnalysis\TrimDataFlowAnalysis.cs (1)
120else if (block.Block.BranchValue is IOperation branchOp)
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.Analyzers (5)
src\b310f676f7308b7f\SymbolUsageAnalysis.DataFlowAnalyzer.cs (1)
155var operations = SpecializedCollections.SingletonEnumerable(basicBlock.BranchValue);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\BasicBlockExtensions.cs (2)
22if (basicBlock.BranchValue != null) 24foreach (var operation in basicBlock.BranchValue.DescendantsAndSelf())
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (2)
148if (current.BranchValue.ConstantValue.HasValue && current.BranchValue.ConstantValue.Value is bool constant)
Microsoft.CodeAnalysis.AnalyzerUtilities (6)
src\b310f676f7308b7f\SymbolUsageAnalysis.DataFlowAnalyzer.cs (1)
155var operations = SpecializedCollections.SingletonEnumerable(basicBlock.BranchValue);
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\BranchWithInfo.cs (1)
21branch.Semantics, branch.Source.BranchValue,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\BasicBlockExtensions.cs (2)
22if (basicBlock.BranchValue != null) 24foreach (var operation in basicBlock.BranchValue.DescendantsAndSelf())
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (2)
148if (current.BranchValue.ConstantValue.HasValue && current.BranchValue.ConstantValue.Value is bool constant)
Microsoft.CodeAnalysis.CodeStyle (5)
src\b310f676f7308b7f\SymbolUsageAnalysis.DataFlowAnalyzer.cs (1)
155var operations = SpecializedCollections.SingletonEnumerable(basicBlock.BranchValue);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\BasicBlockExtensions.cs (2)
22if (basicBlock.BranchValue != null) 24foreach (var operation in basicBlock.BranchValue.DescendantsAndSelf())
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (2)
148if (current.BranchValue.ConstantValue.HasValue && current.BranchValue.ConstantValue.Value is bool constant)
Microsoft.CodeAnalysis.NetAnalyzers (7)
Microsoft.NetCore.Analyzers\Tasks\UseValueTasksCorrectly.cs (4)
303block.BranchValue != null) 305bool? completionCondition = OperationImpliesCompletion(valueTypeSymbol, block.BranchValue); 507if (block.BranchValue != null) 509foreach (var op in block.BranchValue.DescendantsAndSelf())
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\BranchWithInfo.cs (1)
20branch.Semantics, branch.Source.BranchValue,
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\Extensions\BasicBlockExtensions.cs (2)
58if (basicBlock.BranchValue != null) 60foreach (var operation in basicBlock.BranchValue.DescendantsAndSelf())
Microsoft.CodeAnalysis.ResxSourceGenerator (5)
src\b310f676f7308b7f\SymbolUsageAnalysis.DataFlowAnalyzer.cs (1)
155var operations = SpecializedCollections.SingletonEnumerable(basicBlock.BranchValue);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\BasicBlockExtensions.cs (2)
22if (basicBlock.BranchValue != null) 24foreach (var operation in basicBlock.BranchValue.DescendantsAndSelf())
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (2)
148if (current.BranchValue.ConstantValue.HasValue && current.BranchValue.ConstantValue.Value is bool constant)
Microsoft.CodeAnalysis.Workspaces (5)
src\b310f676f7308b7f\SymbolUsageAnalysis.DataFlowAnalyzer.cs (1)
155var operations = SpecializedCollections.SingletonEnumerable(basicBlock.BranchValue);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\BasicBlockExtensions.cs (2)
22if (basicBlock.BranchValue != null) 24foreach (var operation in basicBlock.BranchValue.DescendantsAndSelf())
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (2)
148if (current.BranchValue.ConstantValue.HasValue && current.BranchValue.ConstantValue.Value is bool constant)
Roslyn.Diagnostics.Analyzers (5)
src\b310f676f7308b7f\SymbolUsageAnalysis.DataFlowAnalyzer.cs (1)
155var operations = SpecializedCollections.SingletonEnumerable(basicBlock.BranchValue);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\BasicBlockExtensions.cs (2)
22if (basicBlock.BranchValue != null) 24foreach (var operation in basicBlock.BranchValue.DescendantsAndSelf())
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (2)
148if (current.BranchValue.ConstantValue.HasValue && current.BranchValue.ConstantValue.Value is bool constant)