3 references to WithBody
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
CodeGeneration\CSharpSyntaxGenerator.cs (2)
2317return ((ParenthesizedLambdaExpressionSyntax)declaration).WithBody((CSharpSyntaxNode)expr ?? CreateBlock()); 2520return ((ParenthesizedLambdaExpressionSyntax)declaration).WithBody(body);
Simplification\CSharpSimplificationService.Expander.cs (1)
164parenthesizedLambda = parenthesizedLambda.WithBody(newLambdaExpressionBodyWithCast);