2 references to WithBody
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
2312
return ((SimpleLambdaExpressionSyntax)declaration).
WithBody
((CSharpSyntaxNode)expr ?? CreateBlock());
Simplification\CSharpSimplificationService.Expander.cs (1)
217
simpleLambda = simpleLambda.
WithBody
(newLambdaExpressionBodyWithCast);