172 references to ArrowExpressionClause
Microsoft.CodeAnalysis.CSharp (20)
Binder\Binder_Expressions.cs (2)
872
case SyntaxKind.
ArrowExpressionClause
:
9395
case SyntaxKind.
ArrowExpressionClause
:
Binder\Binder_Statements.cs (1)
3431
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)
307
else if (kind == SyntaxKind.
ArrowExpressionClause
)
1542
case SyntaxKind.
ArrowExpressionClause
:
Compilation\MethodBodySemanticModel.cs (1)
81
case SyntaxKind.
ArrowExpressionClause
:
Compilation\SyntaxTreeSemanticModel.cs (1)
1176
case SyntaxKind.
ArrowExpressionClause
:
Compiler\MethodBodySynthesizer.cs (1)
527
Debug.Assert(syntax.Kind() == SyntaxKind.Block || syntax.Kind() == SyntaxKind.
ArrowExpressionClause
);
CSharpDeclarationComputer.cs (2)
198
case SyntaxKind.
ArrowExpressionClause
:
385
case SyntaxKind.
ArrowExpressionClause
:
FlowAnalysis\FlowAnalysisPass.cs (1)
176
syntax.IsKind(SyntaxKind.
ArrowExpressionClause
) ||
Lowering\Instrumentation\CodeCoverageInstrumenter.cs (1)
424
case SyntaxKind.
ArrowExpressionClause
:
Symbols\Source\SourcePropertyAccessorSymbol.cs (1)
712
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)
131
case SyntaxKind.
ArrowExpressionClause
:
Syntax\SyntaxExtensions.cs (1)
28
case SyntaxKind.
ArrowExpressionClause
:
Syntax\SyntaxNodeExtensions.cs (1)
94
case SyntaxKind.
ArrowExpressionClause
:
Microsoft.CodeAnalysis.CSharp.CodeStyle (5)
CSharpUseImplicitObjectCreationDiagnosticAnalyzer.cs (1)
86
else if (objectCreation.Parent.IsKind(SyntaxKind.
ArrowExpressionClause
))
ExpressionSyntaxExtensions.cs (1)
554
case SyntaxKind.
ArrowExpressionClause
:
ParenthesizedExpressionSyntaxExtensions.cs (1)
109
if (nodeParent.IsKind(SyntaxKind.
ArrowExpressionClause
))
SpeculationAnalyzer.cs (2)
91
node.Kind() == SyntaxKind.
ArrowExpressionClause
;
162
case SyntaxKind.
ArrowExpressionClause
:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
CSharpDeclareAsNullableCodeFixProvider.cs (1)
279
if (node.IsParentKind(SyntaxKind.
ArrowExpressionClause
) &&
Microsoft.CodeAnalysis.CSharp.EditorFeatures (2)
CompleteStatement\CompleteStatementCommandHandler.cs (2)
250
if (currentNode.Kind() is SyntaxKind.FieldDeclaration or SyntaxKind.DelegateDeclaration or SyntaxKind.
ArrowExpressionClause
)
345
case SyntaxKind.
ArrowExpressionClause
:
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
Diagnostics\DiagnosticAnalyzerTests.cs (1)
821
}, ImmutableArray.Create(SyntaxKind.
ArrowExpressionClause
));
Microsoft.CodeAnalysis.CSharp.Features (22)
ChangeSignature\CSharpChangeSignatureService.cs (1)
192
current.Kind() == SyntaxKind.Block || current.Kind() == SyntaxKind.
ArrowExpressionClause
)
CodeRefactorings\InlineMethod\CSharpInlineMethodRefactoringProvider.cs (1)
126
return parent.IsKind(SyntaxKind.
ArrowExpressionClause
);
CSharpDeclarationComputer.cs (2)
198
case SyntaxKind.
ArrowExpressionClause
:
385
case SyntaxKind.
ArrowExpressionClause
:
CSharpDeclareAsNullableCodeFixProvider.cs (1)
279
if (node.IsParentKind(SyntaxKind.
ArrowExpressionClause
) &&
CSharpUseImplicitObjectCreationDiagnosticAnalyzer.cs (1)
86
else if (objectCreation.Parent.IsKind(SyntaxKind.
ArrowExpressionClause
))
EditAndContinue\BreakpointSpans.cs (1)
751
case SyntaxKind.
ArrowExpressionClause
:
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (6)
131
case SyntaxKind.
ArrowExpressionClause
:
604
return parent.IsKind(SyntaxKind.
ArrowExpressionClause
) && parent.Parent.IsKind(SyntaxKind.LocalFunctionStatement) ? parent.Parent : parent;
752
var newConstructor = (ConstructorDeclarationSyntax)(newBody.Parent.IsKind(SyntaxKind.
ArrowExpressionClause
) ? newBody.Parent.Parent : newBody.Parent)!;
1723
case SyntaxKind.
ArrowExpressionClause
:
2070
case SyntaxKind.
ArrowExpressionClause
:
2811
case SyntaxKind.
ArrowExpressionClause
:
EditAndContinue\SyntaxComparer.cs (3)
623
case SyntaxKind.
ArrowExpressionClause
:
724
ignoreChildFunction = childKind => childKind == SyntaxKind.Block || childKind == SyntaxKind.
ArrowExpressionClause
|| HasLabel(childKind);
1458
case SyntaxKind.
ArrowExpressionClause
:
EditAndContinue\SyntaxUtilities.cs (2)
65
case SyntaxKind.
ArrowExpressionClause
:
271
if (declaration.IsKind(SyntaxKind.
ArrowExpressionClause
))
IntroduceVariable\CSharpIntroduceVariableService.cs (1)
73
else if (node.IsKind(SyntaxKind.
ArrowExpressionClause
))
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 (114)
Parsing\AsyncParsingTests.cs (3)
2421
N(SyntaxKind.
ArrowExpressionClause
);
2524
N(SyntaxKind.
ArrowExpressionClause
);
2645
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\LambdaReturnTypeParsingTests.cs (1)
4960
N(SyntaxKind.
ArrowExpressionClause
);
Parsing\LocalFunctionParsingTests.cs (3)
485
N(SyntaxKind.
ArrowExpressionClause
);
1439
N(SyntaxKind.
ArrowExpressionClause
);
1589
N(SyntaxKind.
ArrowExpressionClause
);
Parsing\MemberDeclarationParsingTests.cs (94)
351
N(SyntaxKind.
ArrowExpressionClause
);
403
N(SyntaxKind.
ArrowExpressionClause
);
462
N(SyntaxKind.
ArrowExpressionClause
);
2406
N(SyntaxKind.
ArrowExpressionClause
);
2539
N(SyntaxKind.
ArrowExpressionClause
);
2663
N(SyntaxKind.
ArrowExpressionClause
);
2769
N(SyntaxKind.
ArrowExpressionClause
);
2867
N(SyntaxKind.
ArrowExpressionClause
);
2940
N(SyntaxKind.
ArrowExpressionClause
);
3003
N(SyntaxKind.
ArrowExpressionClause
);
3054
N(SyntaxKind.
ArrowExpressionClause
);
3114
N(SyntaxKind.
ArrowExpressionClause
);
3185
N(SyntaxKind.
ArrowExpressionClause
);
3289
N(SyntaxKind.
ArrowExpressionClause
);
3425
N(SyntaxKind.
ArrowExpressionClause
);
3553
N(SyntaxKind.
ArrowExpressionClause
);
3663
N(SyntaxKind.
ArrowExpressionClause
);
3765
N(SyntaxKind.
ArrowExpressionClause
);
3842
N(SyntaxKind.
ArrowExpressionClause
);
3909
N(SyntaxKind.
ArrowExpressionClause
);
3964
N(SyntaxKind.
ArrowExpressionClause
);
4028
N(SyntaxKind.
ArrowExpressionClause
);
4103
N(SyntaxKind.
ArrowExpressionClause
);
4168
N(SyntaxKind.
ArrowExpressionClause
);
4231
N(SyntaxKind.
ArrowExpressionClause
);
4326
N(SyntaxKind.
ArrowExpressionClause
);
4451
N(SyntaxKind.
ArrowExpressionClause
);
4568
N(SyntaxKind.
ArrowExpressionClause
);
4667
N(SyntaxKind.
ArrowExpressionClause
);
4758
N(SyntaxKind.
ArrowExpressionClause
);
4830
N(SyntaxKind.
ArrowExpressionClause
);
4892
N(SyntaxKind.
ArrowExpressionClause
);
4942
N(SyntaxKind.
ArrowExpressionClause
);
5001
N(SyntaxKind.
ArrowExpressionClause
);
5071
N(SyntaxKind.
ArrowExpressionClause
);
5168
N(SyntaxKind.
ArrowExpressionClause
);
5297
N(SyntaxKind.
ArrowExpressionClause
);
5418
N(SyntaxKind.
ArrowExpressionClause
);
5521
N(SyntaxKind.
ArrowExpressionClause
);
5616
N(SyntaxKind.
ArrowExpressionClause
);
5692
N(SyntaxKind.
ArrowExpressionClause
);
5758
N(SyntaxKind.
ArrowExpressionClause
);
5812
N(SyntaxKind.
ArrowExpressionClause
);
5875
N(SyntaxKind.
ArrowExpressionClause
);
5949
N(SyntaxKind.
ArrowExpressionClause
);
6013
N(SyntaxKind.
ArrowExpressionClause
);
6075
N(SyntaxKind.
ArrowExpressionClause
);
6145
N(SyntaxKind.
ArrowExpressionClause
);
6211
N(SyntaxKind.
ArrowExpressionClause
);
6344
N(SyntaxKind.
ArrowExpressionClause
);
6444
N(SyntaxKind.
ArrowExpressionClause
);
6495
N(SyntaxKind.
ArrowExpressionClause
);
6595
N(SyntaxKind.
ArrowExpressionClause
);
6687
N(SyntaxKind.
ArrowExpressionClause
);
6750
N(SyntaxKind.
ArrowExpressionClause
);
6804
N(SyntaxKind.
ArrowExpressionClause
);
6854
N(SyntaxKind.
ArrowExpressionClause
);
6913
N(SyntaxKind.
ArrowExpressionClause
);
6983
N(SyntaxKind.
ArrowExpressionClause
);
7071
N(SyntaxKind.
ArrowExpressionClause
);
7184
N(SyntaxKind.
ArrowExpressionClause
);
7288
N(SyntaxKind.
ArrowExpressionClause
);
7392
N(SyntaxKind.
ArrowExpressionClause
);
7488
N(SyntaxKind.
ArrowExpressionClause
);
7555
N(SyntaxKind.
ArrowExpressionClause
);
7613
N(SyntaxKind.
ArrowExpressionClause
);
7667
N(SyntaxKind.
ArrowExpressionClause
);
7730
N(SyntaxKind.
ArrowExpressionClause
);
7804
N(SyntaxKind.
ArrowExpressionClause
);
7868
N(SyntaxKind.
ArrowExpressionClause
);
7930
N(SyntaxKind.
ArrowExpressionClause
);
7987
N(SyntaxKind.
ArrowExpressionClause
);
8041
N(SyntaxKind.
ArrowExpressionClause
);
8095
N(SyntaxKind.
ArrowExpressionClause
);
8265
N(SyntaxKind.
ArrowExpressionClause
);
8608
N(SyntaxKind.
ArrowExpressionClause
);
8760
N(SyntaxKind.
ArrowExpressionClause
);
8818
N(SyntaxKind.
ArrowExpressionClause
);
8884
N(SyntaxKind.
ArrowExpressionClause
);
8937
N(SyntaxKind.
ArrowExpressionClause
);
8999
N(SyntaxKind.
ArrowExpressionClause
);
9061
N(SyntaxKind.
ArrowExpressionClause
);
9107
N(SyntaxKind.
ArrowExpressionClause
);
9157
N(SyntaxKind.
ArrowExpressionClause
);
9704
N(SyntaxKind.
ArrowExpressionClause
);
9760
N(SyntaxKind.
ArrowExpressionClause
);
9826
N(SyntaxKind.
ArrowExpressionClause
);
9900
N(SyntaxKind.
ArrowExpressionClause
);
9942
N(SyntaxKind.
ArrowExpressionClause
);
9992
N(SyntaxKind.
ArrowExpressionClause
);
10042
N(SyntaxKind.
ArrowExpressionClause
);
10118
N(SyntaxKind.
ArrowExpressionClause
);
10162
N(SyntaxKind.
ArrowExpressionClause
);
10464
N(SyntaxKind.
ArrowExpressionClause
);
Parsing\PatternParsingTests.cs (2)
9878
N(SyntaxKind.
ArrowExpressionClause
);
11517
N(SyntaxKind.
ArrowExpressionClause
);
Parsing\StatementParsingTests.cs (1)
4630
N(SyntaxKind.
ArrowExpressionClause
);
Parsing\TypeArgumentListParsingTests.cs (2)
921
N(SyntaxKind.
ArrowExpressionClause
);
981
N(SyntaxKind.
ArrowExpressionClause
);
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs\ExpressionSyntaxExtensions.cs (1)
554
case SyntaxKind.
ArrowExpressionClause
:
ParenthesizedExpressionSyntaxExtensions.cs (1)
109
if (nodeParent.IsKind(SyntaxKind.
ArrowExpressionClause
))
SpeculationAnalyzer.cs (2)
91
node.Kind() == SyntaxKind.
ArrowExpressionClause
;
162
case SyntaxKind.
ArrowExpressionClause
:
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (1)
Diagnostics\DiagnosticServiceTests.vb (1)
1896
End Sub, ImmutableArray.Create(CodeAnalysis.CSharp.SyntaxKind.
ArrowExpressionClause
))
Microsoft.VisualStudio.LanguageServices.CSharp (2)
CodeModel\CSharpCodeModelService.NodeLocator.cs (2)
38
case SyntaxKind.
ArrowExpressionClause
:
89
case SyntaxKind.
ArrowExpressionClause
: