9 references to Return
Microsoft.AspNetCore.Mvc.Api.Analyzers (1)
ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzer.cs (1)
70if (trueStatement.Kind != OperationKind.Return)
Microsoft.CodeAnalysis (2)
Generated\Operations.Generated.cs (1)
412/// <item><description><see cref="OperationKind.Return"/></description></item>
Operations\ControlFlowGraphBuilder.cs (1)
3839case OperationKind.Return:
Microsoft.CodeAnalysis.CSharp (1)
Operations\CSharpOperationFactory.cs (1)
2061return new ReturnOperation(returnedValue, OperationKind.Return, _semanticModel, syntax, isImplicit);
Microsoft.CodeAnalysis.Features (1)
ConvertIfToSwitch\AbstractConvertIfToSwitchCodeRefactoringProvider.cs (1)
130if (!sections.Any(static section => GetSwitchArmKind(section.Body) == OperationKind.Return))
Microsoft.CodeAnalysis.Test.Utilities (2)
Compilation\ControlFlowGraphVerifier.cs (1)
1859case OperationKind.Return:
Compilation\TestOperationVisitor.cs (1)
407Assert.Contains(operation.Kind, new[] { OperationKind.Return, OperationKind.YieldReturn, OperationKind.YieldBreak });
Microsoft.CodeAnalysis.UnitTests (1)
Diagnostics\AnalysisContextInfoTests.cs (1)
76c.RegisterOperationAction(b => ThrowIfMatch(nameof(c.RegisterOperationAction), new AnalysisContextInfo(b.Compilation, b.Operation)), OperationKind.Return);
Microsoft.CodeAnalysis.VisualBasic (1)
Operations\VisualBasicOperationFactory.vb (1)
1327Return New ReturnOperation(returnedValue, OperationKind.Return, _semanticModel, syntax, isImplicit)