1 implementation of IBranchOperation
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
4568internal sealed partial class BranchOperation : Operation, IBranchOperation
20 references to IBranchOperation
Microsoft.CodeAnalysis (7)
Generated\OperationKind.Generated.cs (1)
31/// <summary>Indicates an <see cref="IBranchOperation"/>.</summary>
Generated\Operations.Generated.cs (3)
10836public override IOperation VisitBranch(IBranchOperation operation, object? argument) 11424public virtual void VisitBranch(IBranchOperation operation) => DefaultVisit(operation); 11563public virtual TResult? VisitBranch(IBranchOperation operation, TArgument argument) => DefaultVisit(operation, argument);
Operations\BranchKind.cs (1)
8/// Kind of the branch for an <see cref="IBranchOperation"/>
Operations\ControlFlowGraphBuilder.cs (1)
3899public override IOperation? VisitBranch(IBranchOperation operation, int? captureIdForResult)
Operations\OperationExtensions.cs (1)
351public static IOperation? GetCorrespondingOperation(this IBranchOperation operation)
Microsoft.CodeAnalysis.CSharp (3)
Operations\CSharpOperationFactory.cs (3)
1760private IBranchOperation CreateBoundContinueStatementOperation(BoundContinueStatement boundContinueStatement) 1769private IBranchOperation CreateBoundBreakStatementOperation(BoundBreakStatement boundBreakStatement) 1786private IBranchOperation CreateBoundGotoStatementOperation(BoundGotoStatement boundGotoStatement)
Microsoft.CodeAnalysis.CSharp.Features (1)
GoToDefinition\CSharpGoToDefinitionSymbolService.cs (1)
79if (semanticModel.GetOperation(gotoStatement) is not IBranchOperation gotoOperation)
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (2)
IOperation\IOperationTests_IBranchOperation.Extensions.cs (2)
380var inner = GetOperationAndSyntaxForTest<TInnerSyntax>(compilation).operation as IBranchOperation;
Microsoft.CodeAnalysis.Test.Utilities (5)
Compilation\OperationTreeVerifier.cs (2)
679public override void VisitBranch(IBranchOperation operation) 681LogString(nameof(IBranchOperation));
Compilation\TestOperationVisitor.cs (1)
380public override void VisitBranch(IBranchOperation operation)
Diagnostics\OperationTestAnalyzer.cs (2)
1460IBranchOperation branch = (IBranchOperation)operationContext.Operation;
Microsoft.CodeAnalysis.VisualBasic.Features (1)
GoToDefinition\VisualBasicGoToDefinitionSymbolService.vb (1)
58Dim gotoOperation = DirectCast(semanticModel.GetOperation(goToStatement), IBranchOperation)
Roslyn.Compilers.VisualBasic.IOperation.UnitTests (1)
IOperation\IOperationTests_IBranchOperation.Extensions.vb (1)
347Dim inner = TryCast(GetOperationAndSyntaxForTest(Of TInnerSyntax)(compilation, fileName, 2).operation, IBranchOperation)