2 references to IsNestedFunction
Microsoft.CodeAnalysis.CSharp (2)
Syntax\SyntaxFacts.cs (2)
546
return node.DescendantNodesAndSelf(child => !
IsNestedFunction
(child)).Any(
616
node.DescendantNodesAndSelf(child => !
IsNestedFunction
(child) && !(node is ExpressionSyntax)).Any(n => n is ReturnStatementSyntax { Expression: { } });