2 references to TryConvertToStatement
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Analyzers\CSharp\Analyzers\UseExpressionBodyForLambda\UseExpressionBodyForLambdaHelpers.cs (1)
47
var canOffer = expressionBodyOpt.
TryConvertToStatement
(
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ArrowExpressionClauseSyntaxExtensions.cs (1)
37
if (!arrowExpression.Expression.
TryConvertToStatement
(