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