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