154 references to InvocationExpression
GenerateDocumentationAndConfigFiles (30)
src\roslyn\src\RoslynAnalyzers\Utilities\Workspaces\SyntaxGeneratorExtensions.cs (19)
46generator.InvocationExpression( 53generator.InvocationExpression( 62generator.InvocationExpression( 147generator.InvocationExpression( 152generator.InvocationExpression( 157generator.InvocationExpression( 166generator.InvocationExpression( 199generator.InvocationExpression( 204generator.InvocationExpression( 213generator.InvocationExpression( 247generator.InvocationExpression( 252generator.InvocationExpression( 261generator.InvocationExpression( 294generator.InvocationExpression( 298generator.InvocationExpression( 303generator.InvocationExpression( 312generator.InvocationExpression( 360generator.InvocationExpression( 369generator.InvocationExpression(
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (5)
218expressions.Add(factory.InvocationExpression( 272expressions.Add(factory.InvocationExpression( 282expressions.Add(factory.InvocationExpression( 321expressions.Add(factory.InvocationExpression( 375factory.InvocationExpression(
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateGetHashCodeMethod.cs (6)
29result.Add(factory.InvocationExpression( 63factory.InvocationExpression( 69factory.InvocationExpression( 153rightSide = factory.InvocationExpression( 241return factory.InvocationExpression( 246return factory.InvocationExpression(
Microsoft.CodeAnalysis.Analyzers (34)
MetaAnalyzers\Fixers\CompareSymbolsCorrectlyFix.cs (2)
266generator.InvocationExpression( 272generator.InvocationExpression(
MetaAnalyzers\Fixers\ConfigureGeneratedCodeAnalysisFix.cs (1)
70var newInvocation = generator.InvocationExpression(
MetaAnalyzers\Fixers\EnableConcurrentExecutionFix.cs (1)
62var newInvocation = generator.InvocationExpression(
src\roslyn\src\RoslynAnalyzers\Utilities\Workspaces\SyntaxGeneratorExtensions.cs (19)
46generator.InvocationExpression( 53generator.InvocationExpression( 62generator.InvocationExpression( 147generator.InvocationExpression( 152generator.InvocationExpression( 157generator.InvocationExpression( 166generator.InvocationExpression( 199generator.InvocationExpression( 204generator.InvocationExpression( 213generator.InvocationExpression( 247generator.InvocationExpression( 252generator.InvocationExpression( 261generator.InvocationExpression( 294generator.InvocationExpression( 298generator.InvocationExpression( 303generator.InvocationExpression( 312generator.InvocationExpression( 360generator.InvocationExpression( 369generator.InvocationExpression(
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (5)
218expressions.Add(factory.InvocationExpression( 272expressions.Add(factory.InvocationExpression( 282expressions.Add(factory.InvocationExpression( 321expressions.Add(factory.InvocationExpression( 375factory.InvocationExpression(
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateGetHashCodeMethod.cs (6)
29result.Add(factory.InvocationExpression( 63factory.InvocationExpression( 69factory.InvocationExpression( 153rightSide = factory.InvocationExpression( 241return factory.InvocationExpression( 246return factory.InvocationExpression(
Microsoft.CodeAnalysis.CodeStyle.Fixes (16)
src\roslyn\src\Analyzers\Core\CodeFixes\ForEachCast\AbstractForEachCastCodeFixProvider.cs (2)
89return generator.InvocationExpression( 100return generator.InvocationExpression(
src\roslyn\src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator_DisposePattern.cs (2)
197g.InvocationExpression( 206g.InvocationExpression(
src\roslyn\src\Analyzers\Core\CodeFixes\RemoveAsyncModifier\AbstractRemoveAsyncModifierCodeFixProvider.cs (1)
228return generator.InvocationExpression(taskFromResult, expression.WithoutTrivia()).WithTriviaFrom(expression);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (5)
218expressions.Add(factory.InvocationExpression( 272expressions.Add(factory.InvocationExpression( 282expressions.Add(factory.InvocationExpression( 321expressions.Add(factory.InvocationExpression( 375factory.InvocationExpression(
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateGetHashCodeMethod.cs (6)
29result.Add(factory.InvocationExpression( 63factory.InvocationExpression( 69factory.InvocationExpression( 153rightSide = factory.InvocationExpression( 241return factory.InvocationExpression( 246return factory.InvocationExpression(
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\roslyn\src\Analyzers\CSharp\CodeFixes\ImplementInterface\CSharpImplementInterfaceService.cs (1)
108g.ExpressionStatement(g.InvocationExpression(
Microsoft.CodeAnalysis.CSharp.Features (1)
src\roslyn\src\Analyzers\CSharp\CodeFixes\ImplementInterface\CSharpImplementInterfaceService.cs (1)
108g.ExpressionStatement(g.InvocationExpression(
Microsoft.CodeAnalysis.CSharp.NetAnalyzers (2)
Microsoft.NetCore.Analyzers\Performance\CSharpPreferDictionaryTryMethodsOverContainsKeyGuardFixer.cs (1)
223var tryAddInvocation = generator.InvocationExpression(tryAddValueAccess, dictionaryAddArguments[0], dictionaryAddArguments[1]);
Microsoft.NetCore.Analyzers\Performance\CSharpUseStartsWithInsteadOfIndexOfComparisonWithZero.Fixer.cs (1)
31instance = generator.InvocationExpression(generator.MemberAccessExpression(instance, "AsSpan")).WithAdditionalAnnotations(new SyntaxAnnotation("SymbolId", "System.MemoryExtensions")).WithAddImportsAnnotation();
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
3236=> this.InvocationExpression(s_nameOfIdentifier, expression);
Microsoft.CodeAnalysis.Features (23)
AddDebuggerDisplay\AbstractAddDebuggerDisplayCodeRefactoringProvider.cs (1)
169generator.ReturnStatement(generator.InvocationExpression(
CodeRefactorings\AddAwait\AbstractAddAwaitCodeRefactoringProvider.cs (1)
119withoutTrivia = (TExpressionSyntax)generator.InvocationExpression(
ConvertForToForEach\AbstractConvertForToForEachCodeRefactoringProvider.cs (1)
332var elementAtExpression = generator.InvocationExpression(
ConvertToInterpolatedString\AbstractConvertPlaceholderToInterpolatedStringRefactoringProvider.cs (1)
348: syntaxGenerator.InvocationExpression(
GenerateComparisonOperators\GenerateComparisonOperatorsCodeRefactoringProvider.cs (1)
211var compareToCall = generator.InvocationExpression(
GenerateEqualsAndGetHashCodeFromMembers\AbstractGenerateEqualsAndGetHashCodeService.cs (4)
81generator.InvocationExpression( 92generator.InvocationExpression( 103generator.InvocationExpression( 186factory.InvocationExpression(
GenerateEqualsAndGetHashCodeFromMembers\GenerateEqualsAndGetHashCodeAction.cs (2)
148? generator.InvocationExpression( 153: generator.InvocationExpression(
InitializeParameter\AbstractAddParameterCheckCodeRefactoringProvider.cs (6)
654enumIsDefinedInvocation = generator.InvocationExpression( 662enumIsDefinedInvocation = generator.InvocationExpression( 701return (TStatementSyntax)generator.ExpressionStatement(generator.InvocationExpression( 727return (TStatementSyntax)generator.ExpressionStatement(generator.InvocationExpression( 768return (TStatementSyntax)generator.ExpressionStatement(generator.InvocationExpression( 780var condition = (TExpressionSyntax)generator.InvocationExpression(
Snippets\SnippetProviders\AbstractConsoleSnippetProvider.cs (1)
43var resultingNode = generator.InvocationExpression(generator.MemberAccessExpression(generator.IdentifierName(nameof(Console)), nameof(Console.WriteLine)));
src\roslyn\src\Analyzers\Core\CodeFixes\ForEachCast\AbstractForEachCastCodeFixProvider.cs (2)
89return generator.InvocationExpression( 100return generator.InvocationExpression(
src\roslyn\src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator_DisposePattern.cs (2)
197g.InvocationExpression( 206g.InvocationExpression(
src\roslyn\src\Analyzers\Core\CodeFixes\RemoveAsyncModifier\AbstractRemoveAsyncModifierCodeFixProvider.cs (1)
228return generator.InvocationExpression(taskFromResult, expression.WithoutTrivia()).WithTriviaFrom(expression);
Microsoft.CodeAnalysis.VisualBasic.NetAnalyzers (4)
Microsoft.NetCore.Analyzers\Performance\BasicPreferDictionaryTryMethodsOverContainsKeyGuardFixer.vb (2)
132Dim tryGetValueInvocation = generator.InvocationExpression(tryGetValueAccess, 192Dim tryAddInvocation = generator.InvocationExpression(tryAddValueAccess, dictionaryAddArguments(0), dictionaryAddArguments(1))
Microsoft.NetCore.Analyzers\Performance\BasicUseStartsWithInsteadOfIndexOfComparisonWithZero.Fixer.vb (1)
29arguments(0) = charArgumentSyntax.WithExpression(DirectCast(generator.InvocationExpression(generator.MemberAccessExpression(charArgumentSyntax.Expression, "ToString")), ExpressionSyntax))
Microsoft.NetCore.Analyzers\Runtime\BasicSpecifyCultureForToLowerAndToUpper.Fixer.vb (1)
54Dim invocation = generator.InvocationExpression(memberAccess.WithoutTrailingTrivia(), newArg).WithAdditionalAnnotations(Formatter.Annotation)
Microsoft.CodeAnalysis.Workspaces (11)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (5)
218expressions.Add(factory.InvocationExpression( 272expressions.Add(factory.InvocationExpression( 282expressions.Add(factory.InvocationExpression( 321expressions.Add(factory.InvocationExpression( 375factory.InvocationExpression(
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateGetHashCodeMethod.cs (6)
29result.Add(factory.InvocationExpression( 63factory.InvocationExpression( 69factory.InvocationExpression( 153rightSide = factory.InvocationExpression( 241return factory.InvocationExpression( 246return factory.InvocationExpression(
Microsoft.Interop.LibraryImportGenerator (1)
Analyzers\ConvertToLibraryImportFixer.cs (1)
413return generator.InvocationExpression(
Roslyn.Diagnostics.Analyzers (30)
src\roslyn\src\RoslynAnalyzers\Utilities\Workspaces\SyntaxGeneratorExtensions.cs (19)
46generator.InvocationExpression( 53generator.InvocationExpression( 62generator.InvocationExpression( 147generator.InvocationExpression( 152generator.InvocationExpression( 157generator.InvocationExpression( 166generator.InvocationExpression( 199generator.InvocationExpression( 204generator.InvocationExpression( 213generator.InvocationExpression( 247generator.InvocationExpression( 252generator.InvocationExpression( 261generator.InvocationExpression( 294generator.InvocationExpression( 298generator.InvocationExpression( 303generator.InvocationExpression( 312generator.InvocationExpression( 360generator.InvocationExpression( 369generator.InvocationExpression(
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (5)
218expressions.Add(factory.InvocationExpression( 272expressions.Add(factory.InvocationExpression( 282expressions.Add(factory.InvocationExpression( 321expressions.Add(factory.InvocationExpression( 375factory.InvocationExpression(
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateGetHashCodeMethod.cs (6)
29result.Add(factory.InvocationExpression( 63factory.InvocationExpression( 69factory.InvocationExpression( 153rightSide = factory.InvocationExpression( 241return factory.InvocationExpression( 246return factory.InvocationExpression(