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