7 references to WithBody
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
AssignOutParametersAboveReturnCodeFixProvider.cs (1)
86lambda.WithBody(newBody)
UseExpressionBodyForLambdaCodeActionHelpers.cs (2)
37var updatedDecl = declaration.WithBody(expressionBody); 67return currentDeclaration.WithBody(SyntaxFactory.Block(
Microsoft.CodeAnalysis.CSharp.Features (4)
AssignOutParametersAboveReturnCodeFixProvider.cs (1)
86lambda.WithBody(newBody)
IntroduceVariable\CSharpIntroduceVariableService_IntroduceLocal.cs (1)
112var newLambda = oldLambda.WithBody(newBody);
UseExpressionBodyForLambdaCodeActionHelpers.cs (2)
37var updatedDecl = declaration.WithBody(expressionBody); 67return currentDeclaration.WithBody(SyntaxFactory.Block(