12 references to IsPossibleLambdaExpression
Microsoft.CodeAnalysis.CSharp (12)
Parser\LanguageParser.cs (12)
4142var refKeyword = this.CurrentToken.Kind == SyntaxKind.RefKeyword && !this.IsPossibleLambdaExpression(Precedence.Expression) 5282var refKeyword = isLocalOrField && !isConst && this.CurrentToken.Kind == SyntaxKind.RefKeyword && !this.IsPossibleLambdaExpression(Precedence.Expression) 10593return IsPossibleAnonymousMethodExpression() || IsPossibleLambdaExpression(Precedence.Expression); 11093!this.IsPossibleLambdaExpression(newPrecedence)) 11428else if (this.IsPossibleLambdaExpression(precedence)) 11444else if (this.IsPossibleLambdaExpression(precedence) && this.TryParseLambdaExpression() is { } lambda) 11467return this.IsPossibleLambdaExpression(precedence) 11497return IsPossibleLambdaExpression(precedence) && this.TryParseLambdaExpression() is { } lambda 11507return this.IsPossibleLambdaExpression(precedence) 11512if (this.IsPossibleLambdaExpression(precedence)) 11522if (this.IsPossibleLambdaExpression(precedence)) 11973this.IsPossibleLambdaExpression(Precedence.Expression)))