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