2 references to ConvertPatternToExpressionIfPossible
Microsoft.CodeAnalysis.CSharp (2)
Parser\LanguageParser_Patterns.cs (2)
440return ConvertPatternToExpressionIfPossible(pattern); 509if (this.CurrentToken.Kind == SyntaxKind.ColonToken && ConvertPatternToExpressionIfPossible(pattern, permitTypeArguments: true) is ExpressionSyntax expr)