256 references to ArrowExpressionClause
Microsoft.CodeAnalysis.CSharp (20)
Binder\Binder_Expressions.cs (2)
915
case SyntaxKind.
ArrowExpressionClause
:
11407
case SyntaxKind.
ArrowExpressionClause
:
Binder\Binder_Statements.cs (1)
3550
return new BoundBlock(node, locals, ImmutableArray.Create(statement)) { WasCompilerGenerated = node.Kind() != SyntaxKind.
ArrowExpressionClause
};
Binder\ExpressionVariableFinder.cs (1)
38
case SyntaxKind.
ArrowExpressionClause
:
Compilation\MemberSemanticModel.cs (2)
317
else if (kind == SyntaxKind.
ArrowExpressionClause
)
1551
case SyntaxKind.
ArrowExpressionClause
:
Compilation\MethodBodySemanticModel.cs (1)
78
case SyntaxKind.
ArrowExpressionClause
:
Compilation\SyntaxTreeSemanticModel.cs (1)
1183
case SyntaxKind.
ArrowExpressionClause
:
Compiler\MethodBodySynthesizer.cs (1)
533
Debug.Assert(syntax.Kind() == SyntaxKind.Block || syntax.Kind() == SyntaxKind.
ArrowExpressionClause
);
FlowAnalysis\FlowAnalysisPass.cs (1)
196
syntax.IsKind(SyntaxKind.
ArrowExpressionClause
) ||
Lowering\Instrumentation\CodeCoverageInstrumenter.cs (1)
424
case SyntaxKind.
ArrowExpressionClause
:
src\Compilers\CSharp\CSharpAnalyzerDriver\CSharpDeclarationComputer.cs (2)
199
case SyntaxKind.
ArrowExpressionClause
:
386
case SyntaxKind.
ArrowExpressionClause
:
Symbols\Source\SourcePropertyAccessorSymbol.cs (1)
742
case SyntaxKind.
ArrowExpressionClause
:
Syntax\LambdaUtilities.cs (3)
57
if (lambda.IsKind(SyntaxKind.
ArrowExpressionClause
))
161
case SyntaxKind.
ArrowExpressionClause
:
395
case SyntaxKind.
ArrowExpressionClause
: // expression-bodied member
Syntax\SyntaxEquivalence.cs (1)
158
case SyntaxKind.
ArrowExpressionClause
:
Syntax\SyntaxExtensions.cs (1)
28
case SyntaxKind.
ArrowExpressionClause
:
Syntax\SyntaxNodeExtensions.cs (1)
94
case SyntaxKind.
ArrowExpressionClause
:
Microsoft.CodeAnalysis.CSharp.CodeStyle (5)
src\Analyzers\CSharp\Analyzers\UseImplicitObjectCreation\CSharpUseImplicitObjectCreationDiagnosticAnalyzer.cs (1)
100
else if (objectCreation.Parent.IsKind(SyntaxKind.
ArrowExpressionClause
))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
569
case SyntaxKind.
ArrowExpressionClause
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (1)
102
if (nodeParent.IsKind(SyntaxKind.
ArrowExpressionClause
))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\SpeculationAnalyzer.cs (2)
100
SyntaxKind.
ArrowExpressionClause
or
170
case SyntaxKind.
ArrowExpressionClause
:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\Nullable\CSharpDeclareAsNullableCodeFixProvider.cs (1)
260
if (node.IsParentKind(SyntaxKind.
ArrowExpressionClause
) &&
Microsoft.CodeAnalysis.CSharp.EditorFeatures (2)
CompleteStatement\CompleteStatementCommandHandler.cs (2)
276
if (currentNode.Kind() is SyntaxKind.FieldDeclaration or SyntaxKind.DelegateDeclaration or SyntaxKind.
ArrowExpressionClause
)
388
case SyntaxKind.
ArrowExpressionClause
:
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Diagnostics\DiagnosticAnalyzerTests.cs (1)
822
}, ImmutableArray.Create(SyntaxKind.
ArrowExpressionClause
));
Microsoft.CodeAnalysis.CSharp.Features (21)
ChangeSignature\CSharpChangeSignatureService.cs (1)
204
current.Kind() == SyntaxKind.Block || current.Kind() == SyntaxKind.
ArrowExpressionClause
)
CodeRefactorings\InlineMethod\CSharpInlineMethodRefactoringProvider.cs (1)
117
var parent => parent.IsKind(SyntaxKind.
ArrowExpressionClause
),
EditAndContinue\BreakpointSpans.cs (1)
951
case SyntaxKind.
ArrowExpressionClause
:
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (6)
150
case SyntaxKind.
ArrowExpressionClause
:
461
return parent.IsKind(SyntaxKind.
ArrowExpressionClause
) && parent.Parent.IsKind(SyntaxKind.LocalFunctionStatement) ? parent.Parent : parent;
600
case SyntaxKind.
ArrowExpressionClause
:
1769
case SyntaxKind.
ArrowExpressionClause
:
2124
case SyntaxKind.
ArrowExpressionClause
:
2771
case SyntaxKind.
ArrowExpressionClause
:
EditAndContinue\SyntaxComparer.cs (3)
632
case SyntaxKind.
ArrowExpressionClause
:
733
ignoreChildFunction = childKind => childKind == SyntaxKind.Block || childKind == SyntaxKind.
ArrowExpressionClause
|| HasLabel(childKind);
1467
case SyntaxKind.
ArrowExpressionClause
:
EditAndContinue\SyntaxUtilities.cs (1)
215
if (declaration.IsKind(SyntaxKind.
ArrowExpressionClause
))
IntroduceVariable\CSharpIntroduceVariableService.cs (1)
73
else if (node.IsKind(SyntaxKind.
ArrowExpressionClause
))
src\Analyzers\CSharp\Analyzers\UseImplicitObjectCreation\CSharpUseImplicitObjectCreationDiagnosticAnalyzer.cs (1)
100
else if (objectCreation.Parent.IsKind(SyntaxKind.
ArrowExpressionClause
))
src\Analyzers\CSharp\CodeFixes\Nullable\CSharpDeclareAsNullableCodeFixProvider.cs (1)
260
if (node.IsParentKind(SyntaxKind.
ArrowExpressionClause
) &&
src\Compilers\CSharp\CSharpAnalyzerDriver\CSharpDeclarationComputer.cs (2)
199
case SyntaxKind.
ArrowExpressionClause
:
386
case SyntaxKind.
ArrowExpressionClause
:
src\Compilers\CSharp\Portable\Syntax\LambdaUtilities.cs (3)
57
if (lambda.IsKind(SyntaxKind.
ArrowExpressionClause
))
161
case SyntaxKind.
ArrowExpressionClause
:
395
case SyntaxKind.
ArrowExpressionClause
: // expression-bodied member
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (200)
Parsing\AsyncParsingTests.cs (3)
2401
N(SyntaxKind.
ArrowExpressionClause
);
2504
N(SyntaxKind.
ArrowExpressionClause
);
2625
N(SyntaxKind.
ArrowExpressionClause
);
Parsing\CollectionExpressionParsingTests.cs (3)
16880
N(SyntaxKind.
ArrowExpressionClause
);
16989
N(SyntaxKind.
ArrowExpressionClause
);
17065
N(SyntaxKind.
ArrowExpressionClause
);
Parsing\DeclarationParsingTests.cs (4)
6430
N(SyntaxKind.
ArrowExpressionClause
);
6456
N(SyntaxKind.
ArrowExpressionClause
);
6483
N(SyntaxKind.
ArrowExpressionClause
);
6514
N(SyntaxKind.
ArrowExpressionClause
);
Parsing\DeclarationScopeParsingTests.cs (4)
259
N(SyntaxKind.
ArrowExpressionClause
);
332
N(SyntaxKind.
ArrowExpressionClause
);
361
N(SyntaxKind.
ArrowExpressionClause
);
453
N(SyntaxKind.
ArrowExpressionClause
);
Parsing\ExtensionsParsingTests.cs (3)
2980
N(SyntaxKind.
ArrowExpressionClause
);
3089
N(SyntaxKind.
ArrowExpressionClause
);
3178
N(SyntaxKind.
ArrowExpressionClause
);
Parsing\FieldKeywordParsingTests.cs (26)
139
N(SyntaxKind.
ArrowExpressionClause
);
187
N(SyntaxKind.
ArrowExpressionClause
);
364
N(SyntaxKind.
ArrowExpressionClause
);
427
N(SyntaxKind.
ArrowExpressionClause
);
869
N(SyntaxKind.
ArrowExpressionClause
);
919
N(SyntaxKind.
ArrowExpressionClause
);
976
N(SyntaxKind.
ArrowExpressionClause
);
1022
N(SyntaxKind.
ArrowExpressionClause
);
1068
N(SyntaxKind.
ArrowExpressionClause
);
1114
N(SyntaxKind.
ArrowExpressionClause
);
1164
N(SyntaxKind.
ArrowExpressionClause
);
1218
N(SyntaxKind.
ArrowExpressionClause
);
1265
N(SyntaxKind.
ArrowExpressionClause
);
1334
N(SyntaxKind.
ArrowExpressionClause
);
1385
N(SyntaxKind.
ArrowExpressionClause
);
1439
N(SyntaxKind.
ArrowExpressionClause
);
1718
N(SyntaxKind.
ArrowExpressionClause
);
1936
N(SyntaxKind.
ArrowExpressionClause
);
1987
N(SyntaxKind.
ArrowExpressionClause
);
2046
N(SyntaxKind.
ArrowExpressionClause
);
2105
N(SyntaxKind.
ArrowExpressionClause
);
2242
N(SyntaxKind.
ArrowExpressionClause
);
2295
N(SyntaxKind.
ArrowExpressionClause
);
2363
N(SyntaxKind.
ArrowExpressionClause
);
2437
N(SyntaxKind.
ArrowExpressionClause
);
2471
N(SyntaxKind.
ArrowExpressionClause
);
Parsing\LambdaReturnTypeParsingTests.cs (1)
5012
N(SyntaxKind.
ArrowExpressionClause
);
Parsing\LocalFunctionParsingTests.cs (4)
485
N(SyntaxKind.
ArrowExpressionClause
);
1439
N(SyntaxKind.
ArrowExpressionClause
);
1589
N(SyntaxKind.
ArrowExpressionClause
);
3185
N(SyntaxKind.
ArrowExpressionClause
);
Parsing\MemberDeclarationParsingTests.cs (119)
351
N(SyntaxKind.
ArrowExpressionClause
);
403
N(SyntaxKind.
ArrowExpressionClause
);
462
N(SyntaxKind.
ArrowExpressionClause
);
683
N(SyntaxKind.
ArrowExpressionClause
);
2372
N(SyntaxKind.
ArrowExpressionClause
);
2505
N(SyntaxKind.
ArrowExpressionClause
);
2629
N(SyntaxKind.
ArrowExpressionClause
);
2735
N(SyntaxKind.
ArrowExpressionClause
);
2833
N(SyntaxKind.
ArrowExpressionClause
);
2906
N(SyntaxKind.
ArrowExpressionClause
);
2969
N(SyntaxKind.
ArrowExpressionClause
);
3020
N(SyntaxKind.
ArrowExpressionClause
);
3080
N(SyntaxKind.
ArrowExpressionClause
);
3151
N(SyntaxKind.
ArrowExpressionClause
);
3255
N(SyntaxKind.
ArrowExpressionClause
);
3391
N(SyntaxKind.
ArrowExpressionClause
);
3519
N(SyntaxKind.
ArrowExpressionClause
);
3629
N(SyntaxKind.
ArrowExpressionClause
);
3731
N(SyntaxKind.
ArrowExpressionClause
);
3808
N(SyntaxKind.
ArrowExpressionClause
);
3875
N(SyntaxKind.
ArrowExpressionClause
);
3930
N(SyntaxKind.
ArrowExpressionClause
);
3994
N(SyntaxKind.
ArrowExpressionClause
);
4069
N(SyntaxKind.
ArrowExpressionClause
);
4133
N(SyntaxKind.
ArrowExpressionClause
);
4196
N(SyntaxKind.
ArrowExpressionClause
);
4291
N(SyntaxKind.
ArrowExpressionClause
);
4416
N(SyntaxKind.
ArrowExpressionClause
);
4533
N(SyntaxKind.
ArrowExpressionClause
);
4632
N(SyntaxKind.
ArrowExpressionClause
);
4723
N(SyntaxKind.
ArrowExpressionClause
);
4795
N(SyntaxKind.
ArrowExpressionClause
);
4857
N(SyntaxKind.
ArrowExpressionClause
);
4907
N(SyntaxKind.
ArrowExpressionClause
);
4966
N(SyntaxKind.
ArrowExpressionClause
);
5036
N(SyntaxKind.
ArrowExpressionClause
);
5133
N(SyntaxKind.
ArrowExpressionClause
);
5262
N(SyntaxKind.
ArrowExpressionClause
);
5383
N(SyntaxKind.
ArrowExpressionClause
);
5486
N(SyntaxKind.
ArrowExpressionClause
);
5581
N(SyntaxKind.
ArrowExpressionClause
);
5657
N(SyntaxKind.
ArrowExpressionClause
);
5723
N(SyntaxKind.
ArrowExpressionClause
);
5777
N(SyntaxKind.
ArrowExpressionClause
);
5840
N(SyntaxKind.
ArrowExpressionClause
);
5914
N(SyntaxKind.
ArrowExpressionClause
);
5977
N(SyntaxKind.
ArrowExpressionClause
);
6039
N(SyntaxKind.
ArrowExpressionClause
);
6108
N(SyntaxKind.
ArrowExpressionClause
);
6174
N(SyntaxKind.
ArrowExpressionClause
);
6307
N(SyntaxKind.
ArrowExpressionClause
);
6407
N(SyntaxKind.
ArrowExpressionClause
);
6458
N(SyntaxKind.
ArrowExpressionClause
);
6558
N(SyntaxKind.
ArrowExpressionClause
);
6650
N(SyntaxKind.
ArrowExpressionClause
);
6713
N(SyntaxKind.
ArrowExpressionClause
);
6767
N(SyntaxKind.
ArrowExpressionClause
);
6817
N(SyntaxKind.
ArrowExpressionClause
);
6876
N(SyntaxKind.
ArrowExpressionClause
);
6946
N(SyntaxKind.
ArrowExpressionClause
);
7034
N(SyntaxKind.
ArrowExpressionClause
);
7147
N(SyntaxKind.
ArrowExpressionClause
);
7251
N(SyntaxKind.
ArrowExpressionClause
);
7355
N(SyntaxKind.
ArrowExpressionClause
);
7451
N(SyntaxKind.
ArrowExpressionClause
);
7518
N(SyntaxKind.
ArrowExpressionClause
);
7576
N(SyntaxKind.
ArrowExpressionClause
);
7630
N(SyntaxKind.
ArrowExpressionClause
);
7693
N(SyntaxKind.
ArrowExpressionClause
);
7767
N(SyntaxKind.
ArrowExpressionClause
);
7830
N(SyntaxKind.
ArrowExpressionClause
);
7892
N(SyntaxKind.
ArrowExpressionClause
);
7949
N(SyntaxKind.
ArrowExpressionClause
);
8003
N(SyntaxKind.
ArrowExpressionClause
);
8057
N(SyntaxKind.
ArrowExpressionClause
);
8227
N(SyntaxKind.
ArrowExpressionClause
);
8569
N(SyntaxKind.
ArrowExpressionClause
);
8721
N(SyntaxKind.
ArrowExpressionClause
);
8779
N(SyntaxKind.
ArrowExpressionClause
);
8845
N(SyntaxKind.
ArrowExpressionClause
);
8898
N(SyntaxKind.
ArrowExpressionClause
);
8960
N(SyntaxKind.
ArrowExpressionClause
);
9022
N(SyntaxKind.
ArrowExpressionClause
);
9068
N(SyntaxKind.
ArrowExpressionClause
);
9118
N(SyntaxKind.
ArrowExpressionClause
);
9665
N(SyntaxKind.
ArrowExpressionClause
);
9721
N(SyntaxKind.
ArrowExpressionClause
);
9787
N(SyntaxKind.
ArrowExpressionClause
);
9861
N(SyntaxKind.
ArrowExpressionClause
);
9903
N(SyntaxKind.
ArrowExpressionClause
);
9953
N(SyntaxKind.
ArrowExpressionClause
);
10003
N(SyntaxKind.
ArrowExpressionClause
);
10079
N(SyntaxKind.
ArrowExpressionClause
);
10123
N(SyntaxKind.
ArrowExpressionClause
);
10425
N(SyntaxKind.
ArrowExpressionClause
);
10609
N(SyntaxKind.
ArrowExpressionClause
);
10717
N(SyntaxKind.
ArrowExpressionClause
);
10842
N(SyntaxKind.
ArrowExpressionClause
);
11017
N(SyntaxKind.
ArrowExpressionClause
);
11191
N(SyntaxKind.
ArrowExpressionClause
);
11510
N(SyntaxKind.
ArrowExpressionClause
);
11550
N(SyntaxKind.
ArrowExpressionClause
);
11668
N(SyntaxKind.
ArrowExpressionClause
);
11773
N(SyntaxKind.
ArrowExpressionClause
);
11834
N(SyntaxKind.
ArrowExpressionClause
);
11852
N(SyntaxKind.
ArrowExpressionClause
);
12419
N(SyntaxKind.
ArrowExpressionClause
);
12473
N(SyntaxKind.
ArrowExpressionClause
);
12534
N(SyntaxKind.
ArrowExpressionClause
);
12596
N(SyntaxKind.
ArrowExpressionClause
);
13521
N(SyntaxKind.
ArrowExpressionClause
);
13596
N(SyntaxKind.
ArrowExpressionClause
);
13645
N(SyntaxKind.
ArrowExpressionClause
);
13702
N(SyntaxKind.
ArrowExpressionClause
);
13767
N(SyntaxKind.
ArrowExpressionClause
);
13841
N(SyntaxKind.
ArrowExpressionClause
);
18679
N(SyntaxKind.
ArrowExpressionClause
);
18876
N(SyntaxKind.
ArrowExpressionClause
);
20433
N(SyntaxKind.
ArrowExpressionClause
);
Parsing\PartialEventsAndConstructorsParsingTests.cs (8)
874
N(SyntaxKind.
ArrowExpressionClause
);
1221
N(SyntaxKind.
ArrowExpressionClause
);
1286
N(SyntaxKind.
ArrowExpressionClause
);
1376
N(SyntaxKind.
ArrowExpressionClause
);
1420
N(SyntaxKind.
ArrowExpressionClause
);
1442
N(SyntaxKind.
ArrowExpressionClause
);
1490
N(SyntaxKind.
ArrowExpressionClause
);
1512
N(SyntaxKind.
ArrowExpressionClause
);
Parsing\PatternParsingTests.cs (2)
9839
N(SyntaxKind.
ArrowExpressionClause
);
11478
N(SyntaxKind.
ArrowExpressionClause
);
Parsing\StatementParsingTests.cs (1)
4658
N(SyntaxKind.
ArrowExpressionClause
);
Parsing\SwitchExpressionParsingTests.cs (20)
513
N(SyntaxKind.
ArrowExpressionClause
);
598
N(SyntaxKind.
ArrowExpressionClause
);
687
N(SyntaxKind.
ArrowExpressionClause
);
770
N(SyntaxKind.
ArrowExpressionClause
);
849
N(SyntaxKind.
ArrowExpressionClause
);
937
N(SyntaxKind.
ArrowExpressionClause
);
1032
N(SyntaxKind.
ArrowExpressionClause
);
1114
N(SyntaxKind.
ArrowExpressionClause
);
1193
N(SyntaxKind.
ArrowExpressionClause
);
1287
N(SyntaxKind.
ArrowExpressionClause
);
1394
N(SyntaxKind.
ArrowExpressionClause
);
1489
N(SyntaxKind.
ArrowExpressionClause
);
1568
N(SyntaxKind.
ArrowExpressionClause
);
1651
N(SyntaxKind.
ArrowExpressionClause
);
1728
N(SyntaxKind.
ArrowExpressionClause
);
1802
N(SyntaxKind.
ArrowExpressionClause
);
1878
N(SyntaxKind.
ArrowExpressionClause
);
1954
N(SyntaxKind.
ArrowExpressionClause
);
2034
N(SyntaxKind.
ArrowExpressionClause
);
2120
N(SyntaxKind.
ArrowExpressionClause
);
Parsing\TypeArgumentListParsingTests.cs (2)
919
N(SyntaxKind.
ArrowExpressionClause
);
979
N(SyntaxKind.
ArrowExpressionClause
);
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
569
case SyntaxKind.
ArrowExpressionClause
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (1)
102
if (nodeParent.IsKind(SyntaxKind.
ArrowExpressionClause
))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\SpeculationAnalyzer.cs (2)
100
SyntaxKind.
ArrowExpressionClause
or
170
case SyntaxKind.
ArrowExpressionClause
:
Microsoft.VisualStudio.LanguageServices.CSharp (2)
CodeModel\CSharpCodeModelService.NodeLocator.cs (2)
37
case SyntaxKind.
ArrowExpressionClause
:
88
case SyntaxKind.
ArrowExpressionClause
: