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