12 references to IsPossibleLambdaExpression
Microsoft.CodeAnalysis.CSharp (12)
Parser\LanguageParser.cs (12)
4161var refKeyword = this.CurrentToken.Kind == SyntaxKind.RefKeyword && !this.IsPossibleLambdaExpression(Precedence.Expression) 5325var refKeyword = isLocalOrField && !isConst && this.CurrentToken.Kind == SyntaxKind.RefKeyword && !this.IsPossibleLambdaExpression(Precedence.Expression) 10658return IsPossibleAnonymousMethodExpression() || IsPossibleLambdaExpression(Precedence.Expression); 11158!this.IsPossibleLambdaExpression(newPrecedence)) 11493else if (this.IsPossibleLambdaExpression(precedence)) 11509else if (this.IsPossibleLambdaExpression(precedence) && this.TryParseLambdaExpression() is { } lambda) 11532return this.IsPossibleLambdaExpression(precedence) 11562return IsPossibleLambdaExpression(precedence) && this.TryParseLambdaExpression() is { } lambda 11572return this.IsPossibleLambdaExpression(precedence) 11577if (this.IsPossibleLambdaExpression(precedence)) 11587if (this.IsPossibleLambdaExpression(precedence)) 12038this.IsPossibleLambdaExpression(Precedence.Expression)))