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