23 references to GetExpressionOfInvocationExpression
Microsoft.CodeAnalysis.Features (20)
ConvertForToForEach\AbstractConvertForToForEachCodeRefactoringProvider.cs (1)
212var invokedExpression = syntaxFacts.GetExpressionOfInvocationExpression(argumentList.Parent);
ConvertToInterpolatedString\AbstractConvertPlaceholderToInterpolatedStringRefactoringProvider.cs (1)
336syntaxFacts.GetExpressionOfInvocationExpression(invocation),
EmbeddedLanguages\DateAndTime\LanguageServices\DateAndTimeLanguageDetector.cs (1)
83var invokedExpression = syntaxFacts.GetExpressionOfInvocationExpression(invocationOrCreation);
EmbeddedLanguages\Json\LanguageServices\JsonLanguageDetector.cs (1)
137var invokedExpression = syntaxFacts.GetExpressionOfInvocationExpression(invocationOrCreation);
EmbeddedLanguages\RegularExpressions\LanguageServices\RegexLanguageDetector.cs (1)
91var invokedExpression = syntaxFacts.GetExpressionOfInvocationExpression(invocationOrCreation);
ExtractMethod\SelectionResult.cs (1)
174var invokedExpression = syntaxFacts.GetExpressionOfInvocationExpression(node);
IntroduceParameter\IntroduceParameterDocumentRewriter.cs (1)
354var fullExpression = _syntaxFacts.GetExpressionOfInvocationExpression(invocation);
IntroduceUsingStatement\AbstractIntroduceUsingStatementCodeRefactoringProvider.cs (1)
297var invokedExpression = syntaxFacts.GetExpressionOfInvocationExpression(expression);
MoveStaticMembers\MoveStaticMembersWithDialogCodeAction.cs (1)
293var memberAccessExpression = syntaxFacts.GetExpressionOfInvocationExpression(expandedExtensionInvocation);
src\Analyzers\Core\Analyzers\SimplifyLinqExpression\AbstractSimplifyLinqExpressionDiagnosticAnalyzer.cs (2)
188SyntaxFacts.GetExpressionOfInvocationExpression(invocationNode) is not TMemberAccessExpressionSyntax memberAccess || 200SyntaxFacts.GetExpressionOfInvocationExpression(invocationNode) is not TMemberAccessExpressionSyntax memberAccess)
src\Analyzers\Core\Analyzers\UseCollectionInitializer\UpdateExpressionState.cs (1)
289var memberAccess = this.SyntaxFacts.GetExpressionOfInvocationExpression(invocationExpression);
src\Analyzers\Core\Analyzers\UseIsNullCheck\AbstractUseIsNullForReferenceEqualsDiagnosticAnalyzer.cs (1)
71var expression = syntaxFacts.GetExpressionOfInvocationExpression(invocation);
src\Analyzers\Core\Analyzers\UseNullPropagation\AbstractUseNullPropagationDiagnosticAnalyzer.cs (2)
311var expression = syntaxFacts.GetExpressionOfInvocationExpression(invocation); 419return (TExpressionSyntax)syntaxFacts.GetExpressionOfInvocationExpression(invocation);
src\Analyzers\Core\Analyzers\ValidateFormatString\AbstractValidateFormatStringDiagnosticAnalyzer.cs (1)
92var expression = syntaxFacts.GetExpressionOfInvocationExpression(context.Node);
src\Analyzers\Core\CodeFixes\AddParameter\AbstractAddParameterCodeFixProvider.cs (1)
133var expression = syntaxFacts.GetExpressionOfInvocationExpression(invocationExpression);
src\Analyzers\Core\CodeFixes\MakeMethodSynchronous\AbstractMakeMethodSynchronousCodeFixProvider.cs (1)
250var currentMemberAccess = syntaxFacts.GetExpressionOfInvocationExpression(currentConfigureAwaitInvocation);
src\Analyzers\Core\CodeFixes\SimplifyLinqExpression\SimplifyLinqExpressionCodeFixProvider.cs (2)
51var memberAccess = syntaxFacts.GetExpressionOfInvocationExpression(current); 60var innerMemberAccessExpression = syntaxFacts.GetExpressionOfInvocationExpression(innerInvocationExpression);
Microsoft.CodeAnalysis.Workspaces (3)
Recommendations\AbstractRecommendationServiceRunner.cs (1)
94var expressionOfInvocationExpression = syntaxFactsService.GetExpressionOfInvocationExpression(invocationExpression);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AbstractSpeculationAnalyzer.cs (2)
714syntaxFacts.GetExpressionOfInvocationExpression(originalInvocation) as TExpressionSyntax, 715syntaxFacts.GetExpressionOfInvocationExpression(newInvocation) as TExpressionSyntax))