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