7 references to IsAnonymousFunction
Microsoft.CodeAnalysis.CSharp (7)
BoundTree\UnboundLambda.cs (2)
88syntax.IsAnonymousFunction() || // lambda expressions 408Debug.Assert(syntax.IsAnonymousFunction());
Compilation\MemberSemanticModel.cs (3)
276else if (current.IsAnonymousFunction()) 1380if (!(current.IsAnonymousFunction() || current.IsQuery())) 1899Debug.Assert(containingLambda.IsAnonymousFunction());
Lowering\Instrumentation\DebugInfoInjector.cs (1)
200if (parent == null || !(parent.IsAnonymousFunction() || parent is BaseMethodDeclarationSyntax))
Syntax\LookupPosition.cs (1)
475Debug.Assert(lambdaExpressionOrQueryNode.IsAnonymousFunction() || lambdaExpressionOrQueryNode.IsQuery());