18 references to BranchKind
Microsoft.CodeAnalysis (5)
Generated\Operations.Generated.cs (3)
377BranchKind BranchKind { get; } 4570internal BranchOperation(ILabelSymbol target, BranchKind branchKind, SemanticModel? semanticModel, SyntaxNode syntax, bool isImplicit) 4577public BranchKind BranchKind { get; }
Operations\OperationExtensions.cs (2)
363if (operation.BranchKind != BranchKind.Break && operation.BranchKind != BranchKind.Continue)
Microsoft.CodeAnalysis.CSharp (6)
Operations\CSharpOperationFactory.cs (6)
1763BranchKind branchKind = BranchKind.Continue; 1772BranchKind branchKind = BranchKind.Break; 1789BranchKind branchKind = BranchKind.GoTo;
Microsoft.CodeAnalysis.CSharp.Features (1)
GoToDefinition\CSharpGoToDefinitionSymbolService.cs (1)
82Debug.Assert(gotoOperation is { BranchKind: BranchKind.GoTo });
Microsoft.CodeAnalysis.Test.Utilities (5)
Compilation\OperationTreeVerifier.cs (1)
682var kindStr = $"{nameof(BranchKind)}.{operation.BranchKind}";
Compilation\TestOperationVisitor.cs (3)
387case BranchKind.Break: 388case BranchKind.Continue: 389case BranchKind.GoTo:
Diagnostics\OperationTestAnalyzer.cs (1)
1461if (branch.BranchKind == BranchKind.GoTo)
Microsoft.CodeAnalysis.VisualBasic.Features (1)
GoToDefinition\VisualBasicGoToDefinitionSymbolService.vb (1)
63Debug.Assert(gotoOperation.BranchKind = BranchKind.GoTo)