12 references to IsPossibleLambdaExpression
Microsoft.CodeAnalysis.CSharp (12)
Parser\LanguageParser.cs (12)
4354var refKeyword = this.CurrentToken.Kind == SyntaxKind.RefKeyword && !this.IsPossibleLambdaExpression(Precedence.Expression) 5538var refKeyword = isLocalOrField && !isConst && this.CurrentToken.Kind == SyntaxKind.RefKeyword && !this.IsPossibleLambdaExpression(Precedence.Expression) 10969return IsPossibleAnonymousMethodExpression() || IsPossibleLambdaExpression(Precedence.Expression); 11679!this.IsPossibleLambdaExpression(Precedence.Assignment)) 11819else if (this.IsPossibleLambdaExpression(precedence)) 11835else if (this.IsPossibleLambdaExpression(precedence) && this.TryParseLambdaExpression() is { } lambda) 11858return this.IsPossibleLambdaExpression(precedence) 11889return IsPossibleLambdaExpression(precedence) && this.TryParseLambdaExpression() is { } lambda 11899return this.IsPossibleLambdaExpression(precedence) 11904if (this.IsPossibleLambdaExpression(precedence)) 11914if (this.IsPossibleLambdaExpression(precedence)) 12412this.IsPossibleLambdaExpression(Precedence.Expression)))