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