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