499 references to InvocationExpression
Microsoft.AspNetCore.App.Analyzers (1)
Kestrel\ListenOnIPv6AnyAnalyzer.cs (1)
24context.RegisterSyntaxNodeAction(KestrelServerOptionsListenInvocation, SyntaxKind.InvocationExpression);
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder_Expressions.cs (2)
603case SyntaxKind.InvocationExpression: 3027case SyntaxKind.InvocationExpression:
Binder\Binder_Invocation.cs (1)
1306WarnOnAccessOfOffDefault(node.Kind() == SyntaxKind.InvocationExpression ?
Binder\EarlyWellKnownAttributeBinder.cs (1)
140case SyntaxKind.InvocationExpression: // To support nameof(); anything else will be a compile-time error
Compilation\MemberSemanticModel.cs (1)
2322case { RawKind: (int)SyntaxKind.SimpleMemberAccessExpression, Parent.RawKind: (int)SyntaxKind.InvocationExpression }:
FlowAnalysis\NullableWalker.cs (1)
6749if (syntax.Kind() != SyntaxKind.InvocationExpression)
Parser\LanguageParser.cs (1)
10857case SyntaxKind.InvocationExpression:
Syntax\SyntaxFacts.cs (2)
324case InvocationExpression: 400case InvocationExpression:
Syntax\SyntaxNodeExtensions.cs (2)
83case SyntaxKind.InvocationExpression when ((InvocationExpressionSyntax)syntax).MayBeNameofOperator(): 353if (expression.Kind() == SyntaxKind.InvocationExpression)
Microsoft.CodeAnalysis.CSharp.CodeStyle (12)
src\Analyzers\CSharp\Analyzers\InlineDeclaration\CSharpInlineDeclarationDiagnosticAnalyzer.cs (1)
103if (invocationOrCreation?.Kind() is not SyntaxKind.InvocationExpression and not SyntaxKind.ObjectCreationExpression)
src\Analyzers\CSharp\Analyzers\SimplifyLinqExpression\CSharpSimplifyLinqTypeCheckAndCastDiagnosticAnalyzer.cs (1)
35context.RegisterSyntaxNodeAction(context => AnalyzeInvocationExpression(context, enumerableType), SyntaxKind.InvocationExpression);
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\CSharpUseCollectionExpressionForBuilderDiagnosticAnalyzer.cs (1)
33=> context.RegisterSyntaxNodeAction(context => AnalyzeInvocationExpression(context, expressionType), SyntaxKind.InvocationExpression);
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\CSharpUseCollectionExpressionForCreateDiagnosticAnalyzer.cs (1)
24=> context.RegisterSyntaxNodeAction(context => AnalyzeInvocationExpression(context, expressionType), SyntaxKind.InvocationExpression);
src\Analyzers\CSharp\Analyzers\UseUnboundGenericTypeInNameOf\CSharpUseUnboundGenericTypeInNameOfDiagnosticAnalyzer.cs (1)
53SyntaxKind.InvocationExpression);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (2)
526case SyntaxKind.InvocationExpression: 700case SyntaxKind.InvocationExpression:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
194SyntaxKind.InvocationExpression or
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
103public int InvocationExpression => (int)SyntaxKind.InvocationExpression;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\SpeculationAnalyzer.cs (3)
582SyntaxKind.InvocationExpression or 602SyntaxKind.InvocationExpression => ((InvocationExpressionSyntax)expression).ArgumentList, 618case SyntaxKind.InvocationExpression:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (8)
src\Analyzers\CSharp\CodeFixes\ConvertToAsync\CSharpConvertToAsyncMethodCodeFixProvider.cs (1)
65var invocationExpression = node.ChildNodes().FirstOrDefault(n => n.IsKind(SyntaxKind.InvocationExpression));
src\Analyzers\CSharp\CodeFixes\GenerateEnumMember\CSharpGenerateEnumMemberService.cs (1)
41is SyntaxKind.InvocationExpression
src\Analyzers\CSharp\CodeFixes\GenerateMethod\GenerateConversionCodeFixProvider.cs (1)
40or SyntaxKind.InvocationExpression
src\Analyzers\CSharp\CodeFixes\GenerateMethod\GenerateMethodCodeFixProvider.cs (1)
59or SyntaxKind.InvocationExpression
src\Analyzers\CSharp\CodeFixes\GenerateParameterizedMember\CSharpGenerateMethodService.cs (1)
107if (simpleNameOrMemberAccessExpression.IsParentKind(SyntaxKind.InvocationExpression, out invocationExpressionOpt))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTokenExtensions.cs (2)
456is SyntaxKind.InvocationExpression 481if (targetToken.Parent.IsParentKind(SyntaxKind.InvocationExpression) && !targetToken.IsInvocationOfVarExpression())
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
1753if (ienumerableType != null && memberAccessExpression.IsParentKind(SyntaxKind.InvocationExpression, out invocation))
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Diagnostics\DiagnosticAnalyzerTests.cs (1)
3851SyntaxKind.InvocationExpression);
Microsoft.CodeAnalysis.CSharp.Features (21)
ChangeSignature\CSharpChangeSignatureService.cs (4)
59SyntaxKind.InvocationExpression, 73SyntaxKind.InvocationExpression, 91SyntaxKind.InvocationExpression, 266case SyntaxKind.InvocationExpression:
CodeRefactorings\InlineMethod\CSharpInlineMethodRefactoringProvider.cs (3)
88return expressionNode.IsKind(SyntaxKind.InvocationExpression) 92is SyntaxKind.InvocationExpression 134(whenNotNull.IsKind(SyntaxKind.InvocationExpression) || IsNullConditionalInvocationExpression(whenNotNull));
CodeRefactorings\InlineTemporary\InlineTemporaryCodeRefactoringProvider.cs (1)
238if (descendantNodesAndSelf.Any(n => n.Kind() is SyntaxKind.ObjectCreationExpression or SyntaxKind.InvocationExpression))
ConvertLinq\ConvertForEachToLinqQuery\CSharpConvertForEachToLinqQueryProvider.cs (1)
244case SyntaxKind.InvocationExpression:
Debugging\CSharpProximityExpressionsService_ExpressionTermCollector.cs (2)
106case SyntaxKind.InvocationExpression: 197!memberAccessExpression.IsParentKind(SyntaxKind.InvocationExpression))
src\Analyzers\CSharp\Analyzers\InlineDeclaration\CSharpInlineDeclarationDiagnosticAnalyzer.cs (1)
103if (invocationOrCreation?.Kind() is not SyntaxKind.InvocationExpression and not SyntaxKind.ObjectCreationExpression)
src\Analyzers\CSharp\Analyzers\SimplifyLinqExpression\CSharpSimplifyLinqTypeCheckAndCastDiagnosticAnalyzer.cs (1)
35context.RegisterSyntaxNodeAction(context => AnalyzeInvocationExpression(context, enumerableType), SyntaxKind.InvocationExpression);
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\CSharpUseCollectionExpressionForBuilderDiagnosticAnalyzer.cs (1)
33=> context.RegisterSyntaxNodeAction(context => AnalyzeInvocationExpression(context, expressionType), SyntaxKind.InvocationExpression);
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\CSharpUseCollectionExpressionForCreateDiagnosticAnalyzer.cs (1)
24=> context.RegisterSyntaxNodeAction(context => AnalyzeInvocationExpression(context, expressionType), SyntaxKind.InvocationExpression);
src\Analyzers\CSharp\Analyzers\UseUnboundGenericTypeInNameOf\CSharpUseUnboundGenericTypeInNameOfDiagnosticAnalyzer.cs (1)
53SyntaxKind.InvocationExpression);
src\Analyzers\CSharp\CodeFixes\ConvertToAsync\CSharpConvertToAsyncMethodCodeFixProvider.cs (1)
65var invocationExpression = node.ChildNodes().FirstOrDefault(n => n.IsKind(SyntaxKind.InvocationExpression));
src\Analyzers\CSharp\CodeFixes\GenerateEnumMember\CSharpGenerateEnumMemberService.cs (1)
41is SyntaxKind.InvocationExpression
src\Analyzers\CSharp\CodeFixes\GenerateMethod\GenerateConversionCodeFixProvider.cs (1)
40or SyntaxKind.InvocationExpression
src\Analyzers\CSharp\CodeFixes\GenerateMethod\GenerateMethodCodeFixProvider.cs (1)
59or SyntaxKind.InvocationExpression
src\Analyzers\CSharp\CodeFixes\GenerateParameterizedMember\CSharpGenerateMethodService.cs (1)
107if (simpleNameOrMemberAccessExpression.IsParentKind(SyntaxKind.InvocationExpression, out invocationExpressionOpt))
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (7)
Semantics\LambdaTests.cs (3)
6511.Where(i => i.Ancestors().Any(a => a.IsKind(SyntaxKind.Attribute) || a.IsKind(SyntaxKind.DefaultExpression) || a.IsKind(SyntaxKind.InvocationExpression))) 6821.Where(i => i.Ancestors().Any(a => a.IsKind(SyntaxKind.InvocationExpression))) 6850.Where(i => i.Ancestors().Any(a => a.IsKind(SyntaxKind.InvocationExpression)))
Semantics\LocalFunctionTests.cs (2)
7641.Where(i => i.Ancestors().Any(a => a.Kind() is SyntaxKind.Attribute or SyntaxKind.TypeConstraint or SyntaxKind.DefaultExpression or SyntaxKind.InvocationExpression or SyntaxKind.EqualsValueClause)) 8686.Where(i => i.Ancestors().Any(a => a.IsKind(SyntaxKind.Attribute) || a.IsKind(SyntaxKind.TypeConstraint) || a.IsKind(SyntaxKind.DefaultExpression) || a.IsKind(SyntaxKind.InvocationExpression)))
Semantics\TopLevelStatementsTests.cs (2)
6723Assert.Equal(SyntaxKind.InvocationExpression, context.Operation.Syntax.Kind()); 7059context.RegisterSyntaxNodeAction(Handle1, SyntaxKind.InvocationExpression);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (6)
Compilation\GetSemanticInfoTests.cs (3)
262Assert.Equal(SyntaxKind.InvocationExpression, v6.Kind()); 4039Assert.Equal(SyntaxKind.InvocationExpression, originalSyntax.Kind()); 4067Assert.Equal(SyntaxKind.InvocationExpression, speculativeSyntax.Kind());
Symbols\ExtensionMethodTests.cs (1)
3013Assert.Equal(SyntaxKind.InvocationExpression, call.Kind());
Symbols\SymbolEqualityTests.cs (2)
590var create1Syntax = (InvocationExpressionSyntax)root.DescendantNodes().First(sn => sn.Kind() == SyntaxKind.InvocationExpression); 591var create2Syntax = (InvocationExpressionSyntax)root.DescendantNodes().Last(sn => sn.Kind() == SyntaxKind.InvocationExpression);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (412)
Parsing\AnonymousFunctionParsingTests.cs (4)
911N(SyntaxKind.InvocationExpression); 979N(SyntaxKind.InvocationExpression); 1042N(SyntaxKind.InvocationExpression); 1112N(SyntaxKind.InvocationExpression);
Parsing\AsyncParsingTests.cs (1)
323N(SyntaxKind.InvocationExpression);
Parsing\AwaitParsingTests.cs (19)
68N(SyntaxKind.InvocationExpression); 132N(SyntaxKind.InvocationExpression); 384N(SyntaxKind.InvocationExpression); 401N(SyntaxKind.InvocationExpression); 448N(SyntaxKind.InvocationExpression); 492N(SyntaxKind.InvocationExpression); 669N(SyntaxKind.InvocationExpression); 1126N(SyntaxKind.InvocationExpression); 1211N(SyntaxKind.InvocationExpression); 1264N(SyntaxKind.InvocationExpression); 1314N(SyntaxKind.InvocationExpression); 1555N(SyntaxKind.InvocationExpression); 1687N(SyntaxKind.InvocationExpression); 1961N(SyntaxKind.InvocationExpression); 2003N(SyntaxKind.InvocationExpression); 2364N(SyntaxKind.InvocationExpression); 2458N(SyntaxKind.InvocationExpression); 2596N(SyntaxKind.InvocationExpression); 2642N(SyntaxKind.InvocationExpression);
Parsing\CollectionExpressionParsingTests.cs (120)
65N(SyntaxKind.InvocationExpression); 121N(SyntaxKind.InvocationExpression); 182N(SyntaxKind.InvocationExpression); 389N(SyntaxKind.InvocationExpression); 641N(SyntaxKind.InvocationExpression); 734N(SyntaxKind.InvocationExpression); 794N(SyntaxKind.InvocationExpression); 837N(SyntaxKind.InvocationExpression); 893N(SyntaxKind.InvocationExpression); 948N(SyntaxKind.InvocationExpression); 1011N(SyntaxKind.InvocationExpression); 1286N(SyntaxKind.InvocationExpression); 1353N(SyntaxKind.InvocationExpression); 1444N(SyntaxKind.InvocationExpression); 2562N(SyntaxKind.InvocationExpression); 2662N(SyntaxKind.InvocationExpression); 2768N(SyntaxKind.InvocationExpression); 2869N(SyntaxKind.InvocationExpression); 2975N(SyntaxKind.InvocationExpression); 4065N(SyntaxKind.InvocationExpression); 5802N(SyntaxKind.InvocationExpression); 5841N(SyntaxKind.InvocationExpression); 7136N(SyntaxKind.InvocationExpression); 8032N(SyntaxKind.InvocationExpression); 8177N(SyntaxKind.InvocationExpression); 8330N(SyntaxKind.InvocationExpression); 8346N(SyntaxKind.InvocationExpression); 8486N(SyntaxKind.InvocationExpression); 8630N(SyntaxKind.InvocationExpression); 8785N(SyntaxKind.InvocationExpression); 8884N(SyntaxKind.InvocationExpression); 8962N(SyntaxKind.InvocationExpression); 9055N(SyntaxKind.InvocationExpression); 9137N(SyntaxKind.InvocationExpression); 9179N(SyntaxKind.InvocationExpression); 9228N(SyntaxKind.InvocationExpression); 9292N(SyntaxKind.InvocationExpression); 9345N(SyntaxKind.InvocationExpression); 9409N(SyntaxKind.InvocationExpression); 9478N(SyntaxKind.InvocationExpression); 9568N(SyntaxKind.InvocationExpression); 9637N(SyntaxKind.InvocationExpression); 9727N(SyntaxKind.InvocationExpression); 9796N(SyntaxKind.InvocationExpression); 9886N(SyntaxKind.InvocationExpression); 9955N(SyntaxKind.InvocationExpression); 10044N(SyntaxKind.InvocationExpression); 10090N(SyntaxKind.InvocationExpression); 10165N(SyntaxKind.InvocationExpression); 10215N(SyntaxKind.InvocationExpression); 10278N(SyntaxKind.InvocationExpression); 10339N(SyntaxKind.InvocationExpression); 10421N(SyntaxKind.InvocationExpression); 10471N(SyntaxKind.InvocationExpression); 10542N(SyntaxKind.InvocationExpression); 10599N(SyntaxKind.InvocationExpression); 10683N(SyntaxKind.InvocationExpression); 10754N(SyntaxKind.InvocationExpression); 10840N(SyntaxKind.InvocationExpression); 10851N(SyntaxKind.InvocationExpression); 10905N(SyntaxKind.InvocationExpression); 10916N(SyntaxKind.InvocationExpression); 10991N(SyntaxKind.InvocationExpression); 11004N(SyntaxKind.InvocationExpression); 11071N(SyntaxKind.InvocationExpression); 11084N(SyntaxKind.InvocationExpression); 11172N(SyntaxKind.InvocationExpression); 11237N(SyntaxKind.InvocationExpression); 11329N(SyntaxKind.InvocationExpression); 11419N(SyntaxKind.InvocationExpression); 11524N(SyntaxKind.InvocationExpression); 11597N(SyntaxKind.InvocationExpression); 11691N(SyntaxKind.InvocationExpression); 11752N(SyntaxKind.InvocationExpression); 11834N(SyntaxKind.InvocationExpression); 11843N(SyntaxKind.InvocationExpression); 11910N(SyntaxKind.InvocationExpression); 11919N(SyntaxKind.InvocationExpression); 12039N(SyntaxKind.InvocationExpression); 12345N(SyntaxKind.InvocationExpression); 12924N(SyntaxKind.InvocationExpression); 13003N(SyntaxKind.InvocationExpression); 13147N(SyntaxKind.InvocationExpression); 13301N(SyntaxKind.InvocationExpression); 13482N(SyntaxKind.InvocationExpression); 13668N(SyntaxKind.InvocationExpression); 13877N(SyntaxKind.InvocationExpression); 14014N(SyntaxKind.InvocationExpression); 14045N(SyntaxKind.InvocationExpression); 14100N(SyntaxKind.InvocationExpression); 14131N(SyntaxKind.InvocationExpression); 14206N(SyntaxKind.InvocationExpression); 14237N(SyntaxKind.InvocationExpression); 14299N(SyntaxKind.InvocationExpression); 14330N(SyntaxKind.InvocationExpression); 14414N(SyntaxKind.InvocationExpression); 14445N(SyntaxKind.InvocationExpression); 14522N(SyntaxKind.InvocationExpression); 14553N(SyntaxKind.InvocationExpression); 14648N(SyntaxKind.InvocationExpression); 14650N(SyntaxKind.InvocationExpression); 14681N(SyntaxKind.InvocationExpression); 14756N(SyntaxKind.InvocationExpression); 14758N(SyntaxKind.InvocationExpression); 14789N(SyntaxKind.InvocationExpression); 14884N(SyntaxKind.InvocationExpression); 14888N(SyntaxKind.InvocationExpression); 14919N(SyntaxKind.InvocationExpression); 14993N(SyntaxKind.InvocationExpression); 14997N(SyntaxKind.InvocationExpression); 15028N(SyntaxKind.InvocationExpression); 15124N(SyntaxKind.InvocationExpression); 15155N(SyntaxKind.InvocationExpression); 15221N(SyntaxKind.InvocationExpression); 15252N(SyntaxKind.InvocationExpression); 15340N(SyntaxKind.InvocationExpression); 15371N(SyntaxKind.InvocationExpression); 15456N(SyntaxKind.InvocationExpression); 15487N(SyntaxKind.InvocationExpression); 18471N(SyntaxKind.InvocationExpression);
Parsing\DeclarationExpressionTests.cs (7)
25N(SyntaxKind.InvocationExpression); 978N(SyntaxKind.InvocationExpression); 1025N(SyntaxKind.InvocationExpression); 1072N(SyntaxKind.InvocationExpression); 1128N(SyntaxKind.InvocationExpression); 1190N(SyntaxKind.InvocationExpression); 1308N(SyntaxKind.InvocationExpression);
Parsing\DeclarationParsingTests.cs (5)
6433N(SyntaxKind.InvocationExpression); 6459N(SyntaxKind.InvocationExpression); 6486N(SyntaxKind.InvocationExpression); 6517N(SyntaxKind.InvocationExpression); 6576N(SyntaxKind.InvocationExpression);
Parsing\DeclarationScopeParsingTests.cs (37)
5839N(SyntaxKind.InvocationExpression); 5910N(SyntaxKind.InvocationExpression); 5962N(SyntaxKind.InvocationExpression); 6031N(SyntaxKind.InvocationExpression); 6100N(SyntaxKind.InvocationExpression); 6164N(SyntaxKind.InvocationExpression); 6239N(SyntaxKind.InvocationExpression); 6326N(SyntaxKind.InvocationExpression); 6394N(SyntaxKind.InvocationExpression); 6460N(SyntaxKind.InvocationExpression); 6521N(SyntaxKind.InvocationExpression); 6591N(SyntaxKind.InvocationExpression); 6653N(SyntaxKind.InvocationExpression); 6732N(SyntaxKind.InvocationExpression); 6805N(SyntaxKind.InvocationExpression); 6861N(SyntaxKind.InvocationExpression); 6921N(SyntaxKind.InvocationExpression); 6982N(SyntaxKind.InvocationExpression); 7042N(SyntaxKind.InvocationExpression); 7098N(SyntaxKind.InvocationExpression); 7154N(SyntaxKind.InvocationExpression); 7214N(SyntaxKind.InvocationExpression); 7275N(SyntaxKind.InvocationExpression); 7327N(SyntaxKind.InvocationExpression); 7393N(SyntaxKind.InvocationExpression); 7465N(SyntaxKind.InvocationExpression); 7536N(SyntaxKind.InvocationExpression); 7611N(SyntaxKind.InvocationExpression); 7681N(SyntaxKind.InvocationExpression); 7749N(SyntaxKind.InvocationExpression); 7821N(SyntaxKind.InvocationExpression); 7888N(SyntaxKind.InvocationExpression); 7949N(SyntaxKind.InvocationExpression); 8005N(SyntaxKind.InvocationExpression); 8127N(SyntaxKind.InvocationExpression); 10896N(SyntaxKind.InvocationExpression); 11063N(SyntaxKind.InvocationExpression);
Parsing\DeconstructionTests.cs (15)
73N(SyntaxKind.InvocationExpression); 389N(SyntaxKind.InvocationExpression); 1083N(SyntaxKind.InvocationExpression); 1896Assert.Equal(SyntaxKind.InvocationExpression, expression.Kind()); 1908Assert.Equal(SyntaxKind.InvocationExpression, expression.Kind()); 1920Assert.Equal(SyntaxKind.InvocationExpression, expression.Kind()); 1932Assert.Equal(SyntaxKind.InvocationExpression, expression.Kind()); 1949Assert.Equal(SyntaxKind.InvocationExpression, expression.Kind()); 2572N(SyntaxKind.InvocationExpression); 2635N(SyntaxKind.InvocationExpression); 2975N(SyntaxKind.InvocationExpression); 3029N(SyntaxKind.InvocationExpression); 3083N(SyntaxKind.InvocationExpression); 3142N(SyntaxKind.InvocationExpression); 3316N(SyntaxKind.InvocationExpression);
Parsing\ExpressionParsingTests.cs (11)
952Assert.Equal(SyntaxKind.InvocationExpression, expr.Kind()); 973Assert.Equal(SyntaxKind.InvocationExpression, expr.Kind()); 998Assert.Equal(SyntaxKind.InvocationExpression, expr.Kind()); 1023Assert.Equal(SyntaxKind.InvocationExpression, expr.Kind()); 3206N(SyntaxKind.InvocationExpression); 3310N(SyntaxKind.InvocationExpression); 4042N(SyntaxKind.InvocationExpression); 4526N(SyntaxKind.InvocationExpression); 5120N(SyntaxKind.InvocationExpression); 5908N(SyntaxKind.InvocationExpression); 5943N(SyntaxKind.InvocationExpression);
Parsing\FieldKeywordParsingTests.cs (3)
872N(SyntaxKind.InvocationExpression); 1268N(SyntaxKind.InvocationExpression); 1518N(SyntaxKind.InvocationExpression);
Parsing\FunctionPointerTests.cs (2)
2811N(SyntaxKind.InvocationExpression); 2868N(SyntaxKind.InvocationExpression);
Parsing\LambdaAttributeParsingTests.cs (15)
946N(SyntaxKind.InvocationExpression); 971N(SyntaxKind.InvocationExpression); 1200N(SyntaxKind.InvocationExpression); 1235N(SyntaxKind.InvocationExpression); 1267N(SyntaxKind.InvocationExpression); 1362N(SyntaxKind.InvocationExpression); 1959N(SyntaxKind.InvocationExpression); 3234N(SyntaxKind.InvocationExpression); 3277N(SyntaxKind.InvocationExpression); 3325N(SyntaxKind.InvocationExpression); 3488N(SyntaxKind.InvocationExpression); 3535N(SyntaxKind.InvocationExpression); 3827N(SyntaxKind.InvocationExpression); 3834N(SyntaxKind.InvocationExpression); 3963N(SyntaxKind.InvocationExpression);
Parsing\LambdaParameterParsingTests.cs (5)
2734N(SyntaxKind.InvocationExpression); 3817N(SyntaxKind.InvocationExpression); 4012N(SyntaxKind.InvocationExpression); 5085N(SyntaxKind.InvocationExpression); 5108N(SyntaxKind.InvocationExpression);
Parsing\LambdaReturnTypeParsingTests.cs (14)
2965N(SyntaxKind.InvocationExpression); 3015N(SyntaxKind.InvocationExpression); 3554N(SyntaxKind.InvocationExpression); 3596N(SyntaxKind.InvocationExpression); 3638N(SyntaxKind.InvocationExpression); 3680N(SyntaxKind.InvocationExpression); 3716N(SyntaxKind.InvocationExpression); 3769N(SyntaxKind.InvocationExpression); 3812N(SyntaxKind.InvocationExpression); 3870N(SyntaxKind.InvocationExpression); 3949N(SyntaxKind.InvocationExpression); 4737N(SyntaxKind.InvocationExpression); 5186N(SyntaxKind.InvocationExpression); 5245N(SyntaxKind.InvocationExpression);
Parsing\LocalFunctionParsingTests.cs (8)
259N(SyntaxKind.InvocationExpression); 1632N(SyntaxKind.InvocationExpression); 2733N(SyntaxKind.InvocationExpression); 2744N(SyntaxKind.InvocationExpression); 2940N(SyntaxKind.InvocationExpression); 2989N(SyntaxKind.InvocationExpression); 3021N(SyntaxKind.InvocationExpression); 3067N(SyntaxKind.InvocationExpression);
Parsing\MemberDeclarationParsingTests.cs (8)
12533N(SyntaxKind.InvocationExpression); 12537N(SyntaxKind.InvocationExpression); 12541N(SyntaxKind.InvocationExpression); 12612N(SyntaxKind.InvocationExpression); 12636N(SyntaxKind.InvocationExpression); 18194N(SyntaxKind.InvocationExpression); 18295N(SyntaxKind.InvocationExpression); 18393N(SyntaxKind.InvocationExpression);
Parsing\NameParsingTests.cs (5)
873N(SyntaxKind.InvocationExpression); 971N(SyntaxKind.InvocationExpression); 1093N(SyntaxKind.InvocationExpression); 1218N(SyntaxKind.InvocationExpression); 1368N(SyntaxKind.InvocationExpression);
Parsing\NullableParsingTests.cs (4)
1027N(SyntaxKind.InvocationExpression); 1266N(SyntaxKind.InvocationExpression); 2059N(SyntaxKind.InvocationExpression); 2115N(SyntaxKind.InvocationExpression);
Parsing\ParserRegressionTests.cs (2)
606N(SyntaxKind.InvocationExpression); 711N(SyntaxKind.InvocationExpression);
Parsing\ParsingErrorRecoveryTests.cs (22)
3403Assert.Equal(SyntaxKind.InvocationExpression, es.Expression.Kind()); 3426Assert.Equal(SyntaxKind.InvocationExpression, es.Expression.Kind()); 3449Assert.Equal(SyntaxKind.InvocationExpression, es.Expression.Kind()); 3472Assert.Equal(SyntaxKind.InvocationExpression, es.Expression.Kind()); 3496Assert.Equal(SyntaxKind.InvocationExpression, es.Expression.Kind()); 3519Assert.Equal(SyntaxKind.InvocationExpression, es.Expression.Kind()); 3542Assert.Equal(SyntaxKind.InvocationExpression, es.Expression.Kind()); 3586Assert.Equal(SyntaxKind.InvocationExpression, es.Expression.Kind()); 3611Assert.Equal(SyntaxKind.InvocationExpression, es.Expression.Kind()); 3636Assert.Equal(SyntaxKind.InvocationExpression, es.Expression.Kind()); 3661Assert.Equal(SyntaxKind.InvocationExpression, es.Expression.Kind()); 3685Assert.Equal(SyntaxKind.InvocationExpression, es.Expression.Kind()); 3709Assert.Equal(SyntaxKind.InvocationExpression, es.Expression.Kind()); 8336N(SyntaxKind.InvocationExpression); 8377N(SyntaxKind.InvocationExpression); 8396N(SyntaxKind.InvocationExpression); 8415N(SyntaxKind.InvocationExpression); 8458N(SyntaxKind.InvocationExpression); 8477N(SyntaxKind.InvocationExpression); 8496N(SyntaxKind.InvocationExpression); 8537N(SyntaxKind.InvocationExpression); 8579N(SyntaxKind.InvocationExpression);
Parsing\PatternParsingTests.cs (4)
388N(SyntaxKind.InvocationExpression); 1636N(SyntaxKind.InvocationExpression); 1689N(SyntaxKind.InvocationExpression); 5397N(SyntaxKind.InvocationExpression);
Parsing\RecordParsing.cs (9)
1415N(SyntaxKind.InvocationExpression); 1574N(SyntaxKind.InvocationExpression); 1611N(SyntaxKind.InvocationExpression); 1652N(SyntaxKind.InvocationExpression); 1685N(SyntaxKind.InvocationExpression); 1786N(SyntaxKind.InvocationExpression); 1817N(SyntaxKind.InvocationExpression); 3153N(SyntaxKind.InvocationExpression); 3485N(SyntaxKind.InvocationExpression);
Parsing\RefFieldParsingTests.cs (3)
200N(SyntaxKind.InvocationExpression); 263N(SyntaxKind.InvocationExpression); 325N(SyntaxKind.InvocationExpression);
Parsing\RefReadonlyTests.cs (3)
1330N(SyntaxKind.InvocationExpression); 1388N(SyntaxKind.InvocationExpression); 1420N(SyntaxKind.InvocationExpression);
Parsing\ScriptParsingTests.cs (46)
161N(SyntaxKind.InvocationExpression); 429N(SyntaxKind.InvocationExpression); 1423N(SyntaxKind.InvocationExpression); 1460N(SyntaxKind.InvocationExpression); 2708N(SyntaxKind.InvocationExpression); 5089N(SyntaxKind.InvocationExpression); 5158N(SyntaxKind.InvocationExpression); 5210N(SyntaxKind.InvocationExpression); 5270N(SyntaxKind.InvocationExpression); 5332N(SyntaxKind.InvocationExpression); 5402N(SyntaxKind.InvocationExpression); 5478N(SyntaxKind.InvocationExpression); 5556N(SyntaxKind.InvocationExpression); 5637N(SyntaxKind.InvocationExpression); 5732N(SyntaxKind.InvocationExpression); 5822N(SyntaxKind.InvocationExpression); 5871N(SyntaxKind.InvocationExpression); 5927N(SyntaxKind.InvocationExpression); 5976N(SyntaxKind.InvocationExpression); 6035N(SyntaxKind.InvocationExpression); 6099N(SyntaxKind.InvocationExpression); 6246N(SyntaxKind.InvocationExpression); 6558N(SyntaxKind.InvocationExpression); 6618N(SyntaxKind.InvocationExpression); 6687N(SyntaxKind.InvocationExpression); 6762N(SyntaxKind.InvocationExpression); 6831N(SyntaxKind.InvocationExpression); 6893N(SyntaxKind.InvocationExpression); 6963N(SyntaxKind.InvocationExpression); 7033N(SyntaxKind.InvocationExpression); 7103N(SyntaxKind.InvocationExpression); 7173N(SyntaxKind.InvocationExpression); 7184N(SyntaxKind.InvocationExpression); 7243N(SyntaxKind.InvocationExpression); 7313N(SyntaxKind.InvocationExpression); 7387N(SyntaxKind.InvocationExpression); 7470N(SyntaxKind.InvocationExpression); 7547N(SyntaxKind.InvocationExpression); 7603N(SyntaxKind.InvocationExpression); 7674N(SyntaxKind.InvocationExpression); 7748N(SyntaxKind.InvocationExpression); 7812N(SyntaxKind.InvocationExpression); 7913N(SyntaxKind.InvocationExpression); 7982N(SyntaxKind.InvocationExpression); 8220N(SyntaxKind.InvocationExpression); 8296N(SyntaxKind.InvocationExpression);
Parsing\SeparatedSyntaxListParsingTests.cs (1)
587N(SyntaxKind.InvocationExpression);
Parsing\StatementAttributeParsingTests.cs (4)
204N(SyntaxKind.InvocationExpression); 301N(SyntaxKind.InvocationExpression); 4573N(SyntaxKind.InvocationExpression); 5002N(SyntaxKind.InvocationExpression);
Parsing\StatementParsingTests.cs (11)
65Assert.Equal(SyntaxKind.InvocationExpression, es.Expression.Kind()); 85Assert.Equal(SyntaxKind.InvocationExpression, es.Expression.Kind()); 104Assert.Equal(SyntaxKind.InvocationExpression, es.Expression.Kind()); 124Assert.Equal(SyntaxKind.InvocationExpression, es.Expression.Kind()); 144Assert.Equal(SyntaxKind.InvocationExpression, es.Expression.Kind()); 4349N(SyntaxKind.InvocationExpression); 4366N(SyntaxKind.InvocationExpression); 4513N(SyntaxKind.InvocationExpression); 4530N(SyntaxKind.InvocationExpression); 4704N(SyntaxKind.InvocationExpression); 4721N(SyntaxKind.InvocationExpression);
Parsing\SuppressNullableWarningExpressionParsingTests.cs (9)
240N(SyntaxKind.InvocationExpression); 271N(SyntaxKind.InvocationExpression); 338N(SyntaxKind.InvocationExpression); 403N(SyntaxKind.InvocationExpression); 474N(SyntaxKind.InvocationExpression); 548N(SyntaxKind.InvocationExpression); 623N(SyntaxKind.InvocationExpression); 664N(SyntaxKind.InvocationExpression); 730N(SyntaxKind.InvocationExpression);
Parsing\SwitchExpressionParsingTests.cs (2)
356N(SyntaxKind.InvocationExpression); 412N(SyntaxKind.InvocationExpression);
Parsing\TopLevelStatementsParsingTests.cs (4)
1078N(SyntaxKind.InvocationExpression); 2549N(SyntaxKind.InvocationExpression); 2773N(SyntaxKind.InvocationExpression); 2860N(SyntaxKind.InvocationExpression);
Parsing\UsingDirectiveParsingTests.cs (5)
2637N(SyntaxKind.InvocationExpression); 2767N(SyntaxKind.InvocationExpression); 2891N(SyntaxKind.InvocationExpression); 3009N(SyntaxKind.InvocationExpression); 3107N(SyntaxKind.InvocationExpression);
Syntax\SyntaxTreeTests.cs (4)
1092N(SyntaxKind.InvocationExpression); 1148N(SyntaxKind.InvocationExpression); 1220N(SyntaxKind.InvocationExpression); 1278N(SyntaxKind.InvocationExpression);
Microsoft.CodeAnalysis.CSharp.Workspaces (12)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
3169or SyntaxKind.InvocationExpression
Rename\CSharpRenameRewriterLanguageService.cs (1)
746token.Parent.IsParentKind(SyntaxKind.InvocationExpression) &&
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (2)
526case SyntaxKind.InvocationExpression: 700case SyntaxKind.InvocationExpression:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
194SyntaxKind.InvocationExpression or
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
103public int InvocationExpression => (int)SyntaxKind.InvocationExpression;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\SpeculationAnalyzer.cs (3)
582SyntaxKind.InvocationExpression or 602SyntaxKind.InvocationExpression => ((InvocationExpressionSyntax)expression).ArgumentList, 618case SyntaxKind.InvocationExpression:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTokenExtensions.cs (2)
456is SyntaxKind.InvocationExpression 481if (targetToken.Parent.IsParentKind(SyntaxKind.InvocationExpression) && !targetToken.IsInvocationOfVarExpression())
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
1753if (ienumerableType != null && memberAccessExpression.IsParentKind(SyntaxKind.InvocationExpression, out invocation))
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\SuppressMessageAttributeTests.DiagnosticAnalyzers.cs (1)
162CSharp.SyntaxKind.InvocationExpression);
Microsoft.DotNet.CodeAnalysis (2)
Analyzers\AppContextDefaultsAnalyzer.cs (1)
57context.RegisterSyntaxNodeAction(AnalyzeCodeBlock, SyntaxKind.InvocationExpression);
Analyzers\ResourceUsageAnalyzer.cs (1)
30context.RegisterSyntaxNodeAction(AnalyzeNode, SyntaxKind.InvocationExpression);
Microsoft.ML.InternalCodeAnalyzer (3)
ContractsCheckAnalyzer.cs (2)
93context.RegisterSyntaxNodeAction(Analyze, SyntaxKind.InvocationExpression); 156if (exp.IsKind(SyntaxKind.InvocationExpression))
ContractsCheckNameofFixProvider.cs (1)
50Debug.Assert(nameArg.Parent.Parent.IsKind(SyntaxKind.InvocationExpression));
Microsoft.VisualStudio.LanguageServices.CSharp (1)
CodeModel\MethodXml\MethodXmlBuilder.cs (1)
210case SyntaxKind.InvocationExpression:
System.Windows.Forms.Analyzers.CSharp (1)
System\Windows\Forms\CSharp\Analyzers\AvoidPassingTaskWithoutCancellationToken\AvoidPassingTaskWithoutCancellationTokenAnalyzer.cs (1)
27context.RegisterSyntaxNodeAction(AnalyzeInvocation, SyntaxKind.InvocationExpression);