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