228 references to ArrowExpressionClause
Microsoft.CodeAnalysis.CSharp (20)
Binder\Binder_Expressions.cs (2)
908
case SyntaxKind.
ArrowExpressionClause
:
11001
case SyntaxKind.
ArrowExpressionClause
:
Binder\Binder_Statements.cs (1)
3532
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)
1180
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)
198
case SyntaxKind.
ArrowExpressionClause
:
385
case SyntaxKind.
ArrowExpressionClause
:
Symbols\Source\SourcePropertyAccessorSymbol.cs (1)
735
case SyntaxKind.
ArrowExpressionClause
:
Syntax\LambdaUtilities.cs (3)
55
if (lambda.IsKind(SyntaxKind.
ArrowExpressionClause
))
159
case SyntaxKind.
ArrowExpressionClause
:
393
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)
101
else if (objectCreation.Parent.IsKind(SyntaxKind.
ArrowExpressionClause
))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
570
case SyntaxKind.
ArrowExpressionClause
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (1)
103
if (nodeParent.IsKind(SyntaxKind.
ArrowExpressionClause
))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\SpeculationAnalyzer.cs (2)
101
SyntaxKind.
ArrowExpressionClause
or
171
case SyntaxKind.
ArrowExpressionClause
:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\Nullable\CSharpDeclareAsNullableCodeFixProvider.cs (1)
261
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
)
387
case SyntaxKind.
ArrowExpressionClause
:
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Diagnostics\DiagnosticAnalyzerTests.cs (1)
822
}, ImmutableArray.Create(SyntaxKind.
ArrowExpressionClause
));
Microsoft.CodeAnalysis.CSharp.Features (15)
ChangeSignature\CSharpChangeSignatureService.cs (1)
202
current.Kind() == SyntaxKind.Block || current.Kind() == SyntaxKind.
ArrowExpressionClause
)
CodeRefactorings\InlineMethod\CSharpInlineMethodRefactoringProvider.cs (1)
117
var parent => parent.IsKind(SyntaxKind.
ArrowExpressionClause
),
EditAndContinue\BreakpointSpans.cs (1)
949
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)
101
else if (objectCreation.Parent.IsKind(SyntaxKind.
ArrowExpressionClause
))
src\Analyzers\CSharp\CodeFixes\Nullable\CSharpDeclareAsNullableCodeFixProvider.cs (1)
261
if (node.IsParentKind(SyntaxKind.
ArrowExpressionClause
) &&
src\Compilers\CSharp\CSharpAnalyzerDriver\CSharpDeclarationComputer.cs (2)
198
case SyntaxKind.
ArrowExpressionClause
:
385
case SyntaxKind.
ArrowExpressionClause
:
src\Compilers\CSharp\Portable\Syntax\LambdaUtilities.cs (3)
55
if (lambda.IsKind(SyntaxKind.
ArrowExpressionClause
))
159
case SyntaxKind.
ArrowExpressionClause
:
393
case SyntaxKind.
ArrowExpressionClause
: // expression-bodied member
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (178)
Parsing\AsyncParsingTests.cs (3)
2410
N(SyntaxKind.
ArrowExpressionClause
);
2513
N(SyntaxKind.
ArrowExpressionClause
);
2634
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\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)
5033
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 (108)
351
N(SyntaxKind.
ArrowExpressionClause
);
403
N(SyntaxKind.
ArrowExpressionClause
);
462
N(SyntaxKind.
ArrowExpressionClause
);
2400
N(SyntaxKind.
ArrowExpressionClause
);
2533
N(SyntaxKind.
ArrowExpressionClause
);
2657
N(SyntaxKind.
ArrowExpressionClause
);
2763
N(SyntaxKind.
ArrowExpressionClause
);
2861
N(SyntaxKind.
ArrowExpressionClause
);
2934
N(SyntaxKind.
ArrowExpressionClause
);
2997
N(SyntaxKind.
ArrowExpressionClause
);
3048
N(SyntaxKind.
ArrowExpressionClause
);
3108
N(SyntaxKind.
ArrowExpressionClause
);
3179
N(SyntaxKind.
ArrowExpressionClause
);
3283
N(SyntaxKind.
ArrowExpressionClause
);
3419
N(SyntaxKind.
ArrowExpressionClause
);
3547
N(SyntaxKind.
ArrowExpressionClause
);
3657
N(SyntaxKind.
ArrowExpressionClause
);
3759
N(SyntaxKind.
ArrowExpressionClause
);
3836
N(SyntaxKind.
ArrowExpressionClause
);
3903
N(SyntaxKind.
ArrowExpressionClause
);
3958
N(SyntaxKind.
ArrowExpressionClause
);
4022
N(SyntaxKind.
ArrowExpressionClause
);
4097
N(SyntaxKind.
ArrowExpressionClause
);
4161
N(SyntaxKind.
ArrowExpressionClause
);
4224
N(SyntaxKind.
ArrowExpressionClause
);
4319
N(SyntaxKind.
ArrowExpressionClause
);
4444
N(SyntaxKind.
ArrowExpressionClause
);
4561
N(SyntaxKind.
ArrowExpressionClause
);
4660
N(SyntaxKind.
ArrowExpressionClause
);
4751
N(SyntaxKind.
ArrowExpressionClause
);
4823
N(SyntaxKind.
ArrowExpressionClause
);
4885
N(SyntaxKind.
ArrowExpressionClause
);
4935
N(SyntaxKind.
ArrowExpressionClause
);
4994
N(SyntaxKind.
ArrowExpressionClause
);
5064
N(SyntaxKind.
ArrowExpressionClause
);
5161
N(SyntaxKind.
ArrowExpressionClause
);
5290
N(SyntaxKind.
ArrowExpressionClause
);
5411
N(SyntaxKind.
ArrowExpressionClause
);
5514
N(SyntaxKind.
ArrowExpressionClause
);
5609
N(SyntaxKind.
ArrowExpressionClause
);
5685
N(SyntaxKind.
ArrowExpressionClause
);
5751
N(SyntaxKind.
ArrowExpressionClause
);
5805
N(SyntaxKind.
ArrowExpressionClause
);
5868
N(SyntaxKind.
ArrowExpressionClause
);
5942
N(SyntaxKind.
ArrowExpressionClause
);
6005
N(SyntaxKind.
ArrowExpressionClause
);
6067
N(SyntaxKind.
ArrowExpressionClause
);
6136
N(SyntaxKind.
ArrowExpressionClause
);
6202
N(SyntaxKind.
ArrowExpressionClause
);
6335
N(SyntaxKind.
ArrowExpressionClause
);
6435
N(SyntaxKind.
ArrowExpressionClause
);
6486
N(SyntaxKind.
ArrowExpressionClause
);
6586
N(SyntaxKind.
ArrowExpressionClause
);
6678
N(SyntaxKind.
ArrowExpressionClause
);
6741
N(SyntaxKind.
ArrowExpressionClause
);
6795
N(SyntaxKind.
ArrowExpressionClause
);
6845
N(SyntaxKind.
ArrowExpressionClause
);
6904
N(SyntaxKind.
ArrowExpressionClause
);
6974
N(SyntaxKind.
ArrowExpressionClause
);
7062
N(SyntaxKind.
ArrowExpressionClause
);
7175
N(SyntaxKind.
ArrowExpressionClause
);
7279
N(SyntaxKind.
ArrowExpressionClause
);
7383
N(SyntaxKind.
ArrowExpressionClause
);
7479
N(SyntaxKind.
ArrowExpressionClause
);
7546
N(SyntaxKind.
ArrowExpressionClause
);
7604
N(SyntaxKind.
ArrowExpressionClause
);
7658
N(SyntaxKind.
ArrowExpressionClause
);
7721
N(SyntaxKind.
ArrowExpressionClause
);
7795
N(SyntaxKind.
ArrowExpressionClause
);
7858
N(SyntaxKind.
ArrowExpressionClause
);
7920
N(SyntaxKind.
ArrowExpressionClause
);
7977
N(SyntaxKind.
ArrowExpressionClause
);
8031
N(SyntaxKind.
ArrowExpressionClause
);
8085
N(SyntaxKind.
ArrowExpressionClause
);
8255
N(SyntaxKind.
ArrowExpressionClause
);
8597
N(SyntaxKind.
ArrowExpressionClause
);
8749
N(SyntaxKind.
ArrowExpressionClause
);
8807
N(SyntaxKind.
ArrowExpressionClause
);
8873
N(SyntaxKind.
ArrowExpressionClause
);
8926
N(SyntaxKind.
ArrowExpressionClause
);
8988
N(SyntaxKind.
ArrowExpressionClause
);
9050
N(SyntaxKind.
ArrowExpressionClause
);
9096
N(SyntaxKind.
ArrowExpressionClause
);
9146
N(SyntaxKind.
ArrowExpressionClause
);
9693
N(SyntaxKind.
ArrowExpressionClause
);
9749
N(SyntaxKind.
ArrowExpressionClause
);
9815
N(SyntaxKind.
ArrowExpressionClause
);
9889
N(SyntaxKind.
ArrowExpressionClause
);
9931
N(SyntaxKind.
ArrowExpressionClause
);
9981
N(SyntaxKind.
ArrowExpressionClause
);
10031
N(SyntaxKind.
ArrowExpressionClause
);
10107
N(SyntaxKind.
ArrowExpressionClause
);
10151
N(SyntaxKind.
ArrowExpressionClause
);
10453
N(SyntaxKind.
ArrowExpressionClause
);
10637
N(SyntaxKind.
ArrowExpressionClause
);
10745
N(SyntaxKind.
ArrowExpressionClause
);
10870
N(SyntaxKind.
ArrowExpressionClause
);
11045
N(SyntaxKind.
ArrowExpressionClause
);
11219
N(SyntaxKind.
ArrowExpressionClause
);
11538
N(SyntaxKind.
ArrowExpressionClause
);
11578
N(SyntaxKind.
ArrowExpressionClause
);
11696
N(SyntaxKind.
ArrowExpressionClause
);
11801
N(SyntaxKind.
ArrowExpressionClause
);
11862
N(SyntaxKind.
ArrowExpressionClause
);
11880
N(SyntaxKind.
ArrowExpressionClause
);
17206
N(SyntaxKind.
ArrowExpressionClause
);
17403
N(SyntaxKind.
ArrowExpressionClause
);
18960
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)
570
case SyntaxKind.
ArrowExpressionClause
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (1)
103
if (nodeParent.IsKind(SyntaxKind.
ArrowExpressionClause
))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\SpeculationAnalyzer.cs (2)
101
SyntaxKind.
ArrowExpressionClause
or
171
case SyntaxKind.
ArrowExpressionClause
:
Microsoft.VisualStudio.LanguageServices.CSharp (2)
CodeModel\CSharpCodeModelService.NodeLocator.cs (2)
37
case SyntaxKind.
ArrowExpressionClause
:
88
case SyntaxKind.
ArrowExpressionClause
: