16 references to YieldBreakStatement
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Statements.cs (1)
133case SyntaxKind.YieldBreakStatement:
FlowAnalysis\ControlFlowAnalysis.cs (1)
131return ExitPoints.WhereAsArray(s => s.IsKind(SyntaxKind.ReturnStatement) || s.IsKind(SyntaxKind.YieldBreakStatement));
Parser\LanguageParser.cs (1)
9663kind = SyntaxKind.YieldBreakStatement;
Syntax\LookupPosition.cs (2)
363case SyntaxKind.YieldBreakStatement: 439case SyntaxKind.YieldBreakStatement:
Microsoft.CodeAnalysis.CSharp.Features (7)
ConvertLinq\ConvertForEachToLinqQuery\CSharpConvertForEachToLinqQueryProvider.cs (1)
317lastNonLocalFunctionStatement.Kind() == SyntaxKind.YieldBreakStatement &&
ConvertLinq\CSharpConvertLinqQueryToForEachProvider.cs (1)
768var yieldBreakStatement = YieldStatement(SyntaxKind.YieldBreakStatement);
EditAndContinue\BreakpointSpans.cs (1)
756case SyntaxKind.YieldBreakStatement:
EditAndContinue\SyntaxComparer.cs (1)
366case SyntaxKind.YieldBreakStatement:
InvertIf\CSharpInvertIfCodeRefactoringProvider.cs (3)
99=> node.ContainsYield() ? SyntaxKind.YieldBreakStatement : SyntaxKind.ReturnStatement, 113SyntaxKind.YieldBreakStatement => YieldStatement(SyntaxKind.YieldBreakStatement),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\IteratorTests.cs (1)
484Assert.Equal(SyntaxKind.YieldBreakStatement, yieldNode.Kind());
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Parsing\StatementParsingTests.cs (1)
1165Assert.Equal(SyntaxKind.YieldBreakStatement, statement.Kind());
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Classification\ClassificationHelpers.cs (1)
114case SyntaxKind.YieldBreakStatement:
Microsoft.VisualStudio.LanguageServices.CSharp (1)
LanguageService\CSharpHelpContextService.cs (1)
449case SyntaxKind.BreakKeyword when token.Parent.IsKind(SyntaxKind.YieldBreakStatement):