12 references to TryConvertToArrowExpressionBody
Microsoft.CodeAnalysis.CSharp.Features (5)
ConvertAutoPropertyToFullProperty\CSharpConvertAutoPropertyToFullPropertyCodeRefactoringProvider.cs (1)
90if (!accessorDeclarationSyntax.Body.TryConvertToArrowExpressionBody(
ReplaceMethodWithProperty\CSharpReplaceMethodWithPropertyService.cs (2)
80getAccessor.Body.TryConvertToArrowExpressionBody( 178if (accessorDeclaration.Body.TryConvertToArrowExpressionBody(
ReplacePropertyWithMethods\CSharpReplacePropertyWithMethodsService.cs (1)
262if (methodDeclaration.Body.TryConvertToArrowExpressionBody(
UseExpressionBodyHelper`1.cs (1)
140return body.TryConvertToArrowExpressionBody(
Microsoft.CodeAnalysis.CSharp.Workspaces (7)
ConstructorGenerator.cs (1)
75if (declaration.Body?.TryConvertToArrowExpressionBody(
ConversionGenerator.cs (1)
86if (declaration.Body?.TryConvertToArrowExpressionBody(
MethodGenerator.cs (2)
161if (methodDeclaration.Body?.TryConvertToArrowExpressionBody( 179if (localFunctionDeclaration.Body?.TryConvertToArrowExpressionBody(
OperatorGenerator.cs (1)
58if (declaration.Body?.TryConvertToArrowExpressionBody(
PropertyGenerator.cs (2)
219if (declaration.Body?.TryConvertToArrowExpressionBody( 252return accessor.Body.TryConvertToArrowExpressionBody(