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