2 references to TryConvertToStatement
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ArrowExpressionClauseSyntaxExtensions.cs (1)
21
if (!arrowExpression.
TryConvertToStatement
(semicolonToken, createReturnStatementForExpression, out var statement))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\InitializeParameter\InitializeParameterHelpers.cs (1)
246
ArrowExpressionClauseSyntax arrowClause => arrowClause.
TryConvertToStatement
(semicolonToken, createReturnStatementForExpression, out statement),