2 references to TryConvertToStatement
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ArrowExpressionClauseSyntaxExtensions.cs (1)
37if (!arrowExpression.Expression.TryConvertToStatement(
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationService.cs (1)
615if (expressionBody.TryConvertToStatement(semicolonToken, createReturnStatementForExpression: false, out var statement))