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