7 references to WithBody
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
src\Analyzers\CSharp\CodeFixes\AssignOutParameters\AssignOutParametersAboveReturnCodeFixProvider.cs (1)
82lambda.WithBody(newBody)
src\Analyzers\CSharp\CodeFixes\UseExpressionBodyForLambda\UseExpressionBodyForLambdaCodeActionHelpers.cs (2)
42var updatedDecl = declaration.WithBody(expressionBody); 72return currentDeclaration.WithBody(Block(
Microsoft.CodeAnalysis.CSharp.Features (4)
IntroduceVariable\CSharpIntroduceVariableService_IntroduceLocal.cs (1)
115var newLambda = oldLambda.WithBody(newBody);
src\Analyzers\CSharp\CodeFixes\AssignOutParameters\AssignOutParametersAboveReturnCodeFixProvider.cs (1)
82lambda.WithBody(newBody)
src\Analyzers\CSharp\CodeFixes\UseExpressionBodyForLambda\UseExpressionBodyForLambdaCodeActionHelpers.cs (2)
42var updatedDecl = declaration.WithBody(expressionBody); 72return currentDeclaration.WithBody(Block(