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