12 references to YieldReturn
Microsoft.CodeAnalysis (3)
Generated\Operations.Generated.cs (1)
414/// <item><description><see cref="OperationKind.YieldReturn"/></description></item>
Operations\ControlFlowGraphBuilder.cs (2)
3834case OperationKind.YieldReturn: 3835AddStatement(new ReturnOperation(returnedValue, OperationKind.YieldReturn, semanticModel: null, operation.Syntax, IsImplicit(operation)));
Microsoft.CodeAnalysis.CodeStyle (1)
src\Analyzers\Core\Analyzers\UseConditionalExpression\ForReturn\UseConditionalExpressionForReturnHelpers.cs (1)
103if (trueReturn?.Kind == OperationKind.YieldReturn &&
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Analyzers\Core\CodeFixes\UseConditionalExpression\ForReturn\AbstractUseConditionalExpressionForReturnCodeFixProvider.cs (1)
77var returnStatement = anyReturn.Kind == OperationKind.YieldReturn
Microsoft.CodeAnalysis.CSharp (1)
Operations\CSharpOperationFactory.cs (1)
2069return new ReturnOperation(returnedValue, OperationKind.YieldReturn, _semanticModel, syntax, isImplicit);
Microsoft.CodeAnalysis.Features (2)
src\Analyzers\Core\Analyzers\UseConditionalExpression\ForReturn\UseConditionalExpressionForReturnHelpers.cs (1)
103if (trueReturn?.Kind == OperationKind.YieldReturn &&
src\Analyzers\Core\CodeFixes\UseConditionalExpression\ForReturn\AbstractUseConditionalExpressionForReturnCodeFixProvider.cs (1)
77var returnStatement = anyReturn.Kind == OperationKind.YieldReturn
Microsoft.CodeAnalysis.Test.Utilities (3)
Compilation\ControlFlowGraphVerifier.cs (1)
1904case OperationKind.YieldReturn:
Compilation\TestOperationVisitor.cs (2)
407Assert.Contains(operation.Kind, new[] { OperationKind.Return, OperationKind.YieldReturn, OperationKind.YieldBreak }); 410Assert.NotEqual(OperationKind.YieldReturn, operation.Kind);
Microsoft.CodeAnalysis.VisualBasic (1)
Operations\VisualBasicOperationFactory.vb (1)
1377Return New ReturnOperation(returnedValue, OperationKind.YieldReturn, _semanticModel, syntax, isImplicit)