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