23 references to GetExpressionOfInvocationExpression
Microsoft.CodeAnalysis.Features (20)
AbstractAddParameterCodeFixProvider.cs (1)
122var expression = syntaxFacts.GetExpressionOfInvocationExpression(invocationExpression);
AbstractMakeMethodSynchronousCodeFixProvider.cs (1)
254var currentMemberAccess = syntaxFacts.GetExpressionOfInvocationExpression(currentConfigureAwaitInvocation);
AbstractSimplifyLinqExpressionCodeFixProvider`3.cs (2)
62var memberAccess = SyntaxFacts.GetExpressionOfInvocationExpression(current); 66var expression = (TExpressionSyntax)SyntaxFacts.GetExpressionOfMemberAccessExpression(SyntaxFacts.GetExpressionOfInvocationExpression(whereExpression))!;
AbstractSimplifyLinqExpressionDiagnosticAnalyzer.cs (2)
168SyntaxFacts.GetExpressionOfInvocationExpression(invocationNode) is TMemberAccessExpressionSyntax memberAccess && 180SyntaxFacts.GetExpressionOfInvocationExpression(invocationNode) is TMemberAccessExpressionSyntax memberAccess)
AbstractUseIsNullForReferenceEqualsDiagnosticAnalyzer.cs (1)
71var expression = syntaxFacts.GetExpressionOfInvocationExpression(invocation);
AbstractUseNullPropagationDiagnosticAnalyzer.cs (2)
264var expression = syntaxFacts.GetExpressionOfInvocationExpression(invocation); 372return (TExpressionSyntax)syntaxFacts.GetExpressionOfInvocationExpression(invocation);
AbstractValidateFormatStringDiagnosticAnalyzer.cs (1)
92var expression = syntaxFacts.GetExpressionOfInvocationExpression(context.Node);
ConvertForToForEach\AbstractConvertForToForEachCodeRefactoringProvider.cs (1)
212var invokedExpression = syntaxFacts.GetExpressionOfInvocationExpression(argumentList.Parent);
ConvertToInterpolatedString\AbstractConvertPlaceholderToInterpolatedStringRefactoringProvider.cs (1)
248syntaxFacts.GetExpressionOfInvocationExpression(invocation),
EmbeddedLanguages\DateAndTime\LanguageServices\DateAndTimeLanguageDetector.cs (1)
110var invokedExpression = syntaxFacts.GetExpressionOfInvocationExpression(invocationOrCreation);
EmbeddedLanguages\Json\LanguageServices\JsonLanguageDetector.cs (1)
145var invokedExpression = syntaxFacts.GetExpressionOfInvocationExpression(invocationOrCreation);
EmbeddedLanguages\RegularExpressions\LanguageServices\RegexLanguageDetector.cs (1)
112var invokedExpression = syntaxFacts.GetExpressionOfInvocationExpression(invocationOrCreation);
ExtractMethod\SelectionResult.cs (1)
173var invokedExpression = syntaxFacts.GetExpressionOfInvocationExpression(node);
IntroduceParameter\IntroduceParameterDocumentRewriter.cs (1)
365var fullExpression = _syntaxFacts.GetExpressionOfInvocationExpression(invocation);
IntroduceUsingStatement\AbstractIntroduceUsingStatementCodeRefactoringProvider.cs (1)
213var invokedExpression = syntaxFacts.GetExpressionOfInvocationExpression(expression);
MoveStaticMembers\MoveStaticMembersWithDialogCodeAction.cs (1)
288var memberAccessExpression = syntaxFacts.GetExpressionOfInvocationExpression(expandedExtensionInvocation);
UseCollectionInitializerAnalyzer.cs (1)
205if (_syntaxFacts.GetExpressionOfInvocationExpression(invocationExpression) is not TMemberAccessExpressionSyntax memberAccess)
Microsoft.CodeAnalysis.Workspaces (3)
AbstractSpeculationAnalyzer.cs (2)
662syntaxFacts.GetExpressionOfInvocationExpression(originalInvocation) as TExpressionSyntax, 663syntaxFacts.GetExpressionOfInvocationExpression(newInvocation) as TExpressionSyntax))
Recommendations\AbstractRecommendationServiceRunner.cs (1)
94var expressionOfInvocationExpression = syntaxFactsService.GetExpressionOfInvocationExpression(invocationExpression);