2 references to TryGetInlineExpressionInfo
Microsoft.CodeAnalysis.Features (2)
Snippets\SnippetProviders\AbstractInlineStatementSnippetProvider.cs (2)
51
if (
TryGetInlineExpressionInfo
(targetToken, syntaxFacts, semanticModel, out var expressionInfo, cancellationToken) && expressionInfo.TypeInfo.Type is { } type)
66
_ =
TryGetInlineExpressionInfo
(targetToken, syntaxFacts, semanticModel, out var inlineExpressionInfo, cancellationToken);