7 references to LambdaUtilities
Microsoft.CodeAnalysis.CSharp.Features (7)
EditAndContinue\BreakpointSpans.cs (1)
970
return
LambdaUtilities
.IsLambdaBodyStatementOrExpression(expression);
EditAndContinue\DeclarationBody\CSharpLambdaBody.cs (2)
55
=>
LambdaUtilities
.TryGetCorrespondingLambdaBody(node, newLambda) is { } newNode ? new CSharpLambdaBody(newNode) : null;
61
=>
LambdaUtilities
.GetLambda(node);
EditAndContinue\SyntaxComparer.cs (1)
37
=>
LambdaUtilities
.IsLambdaBodyStatementOrExpression(node);
EditAndContinue\SyntaxUtilities.cs (3)
93
if (
LambdaUtilities
.IsLambdaBody(syntax))
241
=> body.DescendantNodesAndSelf(
LambdaUtilities
.IsNotLambda).Where(SyntaxBindingUtilities.BindsToResumableStateMachineState);
245
=> body.DescendantNodesAndSelf(
LambdaUtilities
.IsNotLambda).Any(n => n is YieldStatementSyntax);