228 references to ArrowExpressionClause
Microsoft.CodeAnalysis.CSharp (20)
Binder\Binder_Expressions.cs (2)
908case SyntaxKind.ArrowExpressionClause: 11000case SyntaxKind.ArrowExpressionClause:
Binder\Binder_Statements.cs (1)
3529return new BoundBlock(node, locals, ImmutableArray.Create(statement)) { WasCompilerGenerated = node.Kind() != SyntaxKind.ArrowExpressionClause };
Binder\ExpressionVariableFinder.cs (1)
38case SyntaxKind.ArrowExpressionClause:
Compilation\MemberSemanticModel.cs (2)
317else if (kind == SyntaxKind.ArrowExpressionClause) 1551case SyntaxKind.ArrowExpressionClause:
Compilation\MethodBodySemanticModel.cs (1)
78case SyntaxKind.ArrowExpressionClause:
Compilation\SyntaxTreeSemanticModel.cs (1)
1180case SyntaxKind.ArrowExpressionClause:
Compiler\MethodBodySynthesizer.cs (1)
533Debug.Assert(syntax.Kind() == SyntaxKind.Block || syntax.Kind() == SyntaxKind.ArrowExpressionClause);
FlowAnalysis\FlowAnalysisPass.cs (1)
196syntax.IsKind(SyntaxKind.ArrowExpressionClause) ||
Lowering\Instrumentation\CodeCoverageInstrumenter.cs (1)
424case SyntaxKind.ArrowExpressionClause:
src\Compilers\CSharp\CSharpAnalyzerDriver\CSharpDeclarationComputer.cs (2)
198case SyntaxKind.ArrowExpressionClause: 385case SyntaxKind.ArrowExpressionClause:
Symbols\Source\SourcePropertyAccessorSymbol.cs (1)
735case SyntaxKind.ArrowExpressionClause:
Syntax\LambdaUtilities.cs (3)
55if (lambda.IsKind(SyntaxKind.ArrowExpressionClause)) 159case SyntaxKind.ArrowExpressionClause: 393case SyntaxKind.ArrowExpressionClause: // expression-bodied member
Syntax\SyntaxEquivalence.cs (1)
158case SyntaxKind.ArrowExpressionClause:
Syntax\SyntaxExtensions.cs (1)
28case SyntaxKind.ArrowExpressionClause:
Syntax\SyntaxNodeExtensions.cs (1)
94case SyntaxKind.ArrowExpressionClause:
Microsoft.CodeAnalysis.CSharp.CodeStyle (5)
src\Analyzers\CSharp\Analyzers\UseImplicitObjectCreation\CSharpUseImplicitObjectCreationDiagnosticAnalyzer.cs (1)
101else if (objectCreation.Parent.IsKind(SyntaxKind.ArrowExpressionClause))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
569case SyntaxKind.ArrowExpressionClause:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (1)
103if (nodeParent.IsKind(SyntaxKind.ArrowExpressionClause))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\SpeculationAnalyzer.cs (2)
101SyntaxKind.ArrowExpressionClause or 171case SyntaxKind.ArrowExpressionClause:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\Nullable\CSharpDeclareAsNullableCodeFixProvider.cs (1)
261if (node.IsParentKind(SyntaxKind.ArrowExpressionClause) &&
Microsoft.CodeAnalysis.CSharp.EditorFeatures (2)
CompleteStatement\CompleteStatementCommandHandler.cs (2)
258if (currentNode.Kind() is SyntaxKind.FieldDeclaration or SyntaxKind.DelegateDeclaration or SyntaxKind.ArrowExpressionClause) 369case 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)
202current.Kind() == SyntaxKind.Block || current.Kind() == SyntaxKind.ArrowExpressionClause)
CodeRefactorings\InlineMethod\CSharpInlineMethodRefactoringProvider.cs (1)
117var parent => parent.IsKind(SyntaxKind.ArrowExpressionClause),
EditAndContinue\BreakpointSpans.cs (1)
949case SyntaxKind.ArrowExpressionClause:
EditAndContinue\SyntaxComparer.cs (3)
632case SyntaxKind.ArrowExpressionClause: 733ignoreChildFunction = childKind => childKind == SyntaxKind.Block || childKind == SyntaxKind.ArrowExpressionClause || HasLabel(childKind); 1467case SyntaxKind.ArrowExpressionClause:
EditAndContinue\SyntaxUtilities.cs (1)
215if (declaration.IsKind(SyntaxKind.ArrowExpressionClause))
IntroduceVariable\CSharpIntroduceVariableService.cs (1)
73else if (node.IsKind(SyntaxKind.ArrowExpressionClause))
src\Analyzers\CSharp\Analyzers\UseImplicitObjectCreation\CSharpUseImplicitObjectCreationDiagnosticAnalyzer.cs (1)
101else if (objectCreation.Parent.IsKind(SyntaxKind.ArrowExpressionClause))
src\Analyzers\CSharp\CodeFixes\Nullable\CSharpDeclareAsNullableCodeFixProvider.cs (1)
261if (node.IsParentKind(SyntaxKind.ArrowExpressionClause) &&
src\Compilers\CSharp\CSharpAnalyzerDriver\CSharpDeclarationComputer.cs (2)
198case SyntaxKind.ArrowExpressionClause: 385case SyntaxKind.ArrowExpressionClause:
src\Compilers\CSharp\Portable\Syntax\LambdaUtilities.cs (3)
55if (lambda.IsKind(SyntaxKind.ArrowExpressionClause)) 159case SyntaxKind.ArrowExpressionClause: 393case SyntaxKind.ArrowExpressionClause: // expression-bodied member
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (178)
Parsing\AsyncParsingTests.cs (3)
2410N(SyntaxKind.ArrowExpressionClause); 2513N(SyntaxKind.ArrowExpressionClause); 2634N(SyntaxKind.ArrowExpressionClause);
Parsing\CollectionExpressionParsingTests.cs (3)
16880N(SyntaxKind.ArrowExpressionClause); 16989N(SyntaxKind.ArrowExpressionClause); 17065N(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\FieldKeywordParsingTests.cs (26)
139N(SyntaxKind.ArrowExpressionClause); 187N(SyntaxKind.ArrowExpressionClause); 364N(SyntaxKind.ArrowExpressionClause); 427N(SyntaxKind.ArrowExpressionClause); 869N(SyntaxKind.ArrowExpressionClause); 919N(SyntaxKind.ArrowExpressionClause); 976N(SyntaxKind.ArrowExpressionClause); 1022N(SyntaxKind.ArrowExpressionClause); 1068N(SyntaxKind.ArrowExpressionClause); 1114N(SyntaxKind.ArrowExpressionClause); 1164N(SyntaxKind.ArrowExpressionClause); 1218N(SyntaxKind.ArrowExpressionClause); 1265N(SyntaxKind.ArrowExpressionClause); 1334N(SyntaxKind.ArrowExpressionClause); 1385N(SyntaxKind.ArrowExpressionClause); 1439N(SyntaxKind.ArrowExpressionClause); 1718N(SyntaxKind.ArrowExpressionClause); 1936N(SyntaxKind.ArrowExpressionClause); 1987N(SyntaxKind.ArrowExpressionClause); 2046N(SyntaxKind.ArrowExpressionClause); 2105N(SyntaxKind.ArrowExpressionClause); 2242N(SyntaxKind.ArrowExpressionClause); 2295N(SyntaxKind.ArrowExpressionClause); 2363N(SyntaxKind.ArrowExpressionClause); 2437N(SyntaxKind.ArrowExpressionClause); 2471N(SyntaxKind.ArrowExpressionClause);
Parsing\LambdaReturnTypeParsingTests.cs (1)
5033N(SyntaxKind.ArrowExpressionClause);
Parsing\LocalFunctionParsingTests.cs (4)
485N(SyntaxKind.ArrowExpressionClause); 1439N(SyntaxKind.ArrowExpressionClause); 1589N(SyntaxKind.ArrowExpressionClause); 3185N(SyntaxKind.ArrowExpressionClause);
Parsing\MemberDeclarationParsingTests.cs (108)
351N(SyntaxKind.ArrowExpressionClause); 403N(SyntaxKind.ArrowExpressionClause); 462N(SyntaxKind.ArrowExpressionClause); 2400N(SyntaxKind.ArrowExpressionClause); 2533N(SyntaxKind.ArrowExpressionClause); 2657N(SyntaxKind.ArrowExpressionClause); 2763N(SyntaxKind.ArrowExpressionClause); 2861N(SyntaxKind.ArrowExpressionClause); 2934N(SyntaxKind.ArrowExpressionClause); 2997N(SyntaxKind.ArrowExpressionClause); 3048N(SyntaxKind.ArrowExpressionClause); 3108N(SyntaxKind.ArrowExpressionClause); 3179N(SyntaxKind.ArrowExpressionClause); 3283N(SyntaxKind.ArrowExpressionClause); 3419N(SyntaxKind.ArrowExpressionClause); 3547N(SyntaxKind.ArrowExpressionClause); 3657N(SyntaxKind.ArrowExpressionClause); 3759N(SyntaxKind.ArrowExpressionClause); 3836N(SyntaxKind.ArrowExpressionClause); 3903N(SyntaxKind.ArrowExpressionClause); 3958N(SyntaxKind.ArrowExpressionClause); 4022N(SyntaxKind.ArrowExpressionClause); 4097N(SyntaxKind.ArrowExpressionClause); 4161N(SyntaxKind.ArrowExpressionClause); 4224N(SyntaxKind.ArrowExpressionClause); 4319N(SyntaxKind.ArrowExpressionClause); 4444N(SyntaxKind.ArrowExpressionClause); 4561N(SyntaxKind.ArrowExpressionClause); 4660N(SyntaxKind.ArrowExpressionClause); 4751N(SyntaxKind.ArrowExpressionClause); 4823N(SyntaxKind.ArrowExpressionClause); 4885N(SyntaxKind.ArrowExpressionClause); 4935N(SyntaxKind.ArrowExpressionClause); 4994N(SyntaxKind.ArrowExpressionClause); 5064N(SyntaxKind.ArrowExpressionClause); 5161N(SyntaxKind.ArrowExpressionClause); 5290N(SyntaxKind.ArrowExpressionClause); 5411N(SyntaxKind.ArrowExpressionClause); 5514N(SyntaxKind.ArrowExpressionClause); 5609N(SyntaxKind.ArrowExpressionClause); 5685N(SyntaxKind.ArrowExpressionClause); 5751N(SyntaxKind.ArrowExpressionClause); 5805N(SyntaxKind.ArrowExpressionClause); 5868N(SyntaxKind.ArrowExpressionClause); 5942N(SyntaxKind.ArrowExpressionClause); 6005N(SyntaxKind.ArrowExpressionClause); 6067N(SyntaxKind.ArrowExpressionClause); 6136N(SyntaxKind.ArrowExpressionClause); 6202N(SyntaxKind.ArrowExpressionClause); 6335N(SyntaxKind.ArrowExpressionClause); 6435N(SyntaxKind.ArrowExpressionClause); 6486N(SyntaxKind.ArrowExpressionClause); 6586N(SyntaxKind.ArrowExpressionClause); 6678N(SyntaxKind.ArrowExpressionClause); 6741N(SyntaxKind.ArrowExpressionClause); 6795N(SyntaxKind.ArrowExpressionClause); 6845N(SyntaxKind.ArrowExpressionClause); 6904N(SyntaxKind.ArrowExpressionClause); 6974N(SyntaxKind.ArrowExpressionClause); 7062N(SyntaxKind.ArrowExpressionClause); 7175N(SyntaxKind.ArrowExpressionClause); 7279N(SyntaxKind.ArrowExpressionClause); 7383N(SyntaxKind.ArrowExpressionClause); 7479N(SyntaxKind.ArrowExpressionClause); 7546N(SyntaxKind.ArrowExpressionClause); 7604N(SyntaxKind.ArrowExpressionClause); 7658N(SyntaxKind.ArrowExpressionClause); 7721N(SyntaxKind.ArrowExpressionClause); 7795N(SyntaxKind.ArrowExpressionClause); 7858N(SyntaxKind.ArrowExpressionClause); 7920N(SyntaxKind.ArrowExpressionClause); 7977N(SyntaxKind.ArrowExpressionClause); 8031N(SyntaxKind.ArrowExpressionClause); 8085N(SyntaxKind.ArrowExpressionClause); 8255N(SyntaxKind.ArrowExpressionClause); 8597N(SyntaxKind.ArrowExpressionClause); 8749N(SyntaxKind.ArrowExpressionClause); 8807N(SyntaxKind.ArrowExpressionClause); 8873N(SyntaxKind.ArrowExpressionClause); 8926N(SyntaxKind.ArrowExpressionClause); 8988N(SyntaxKind.ArrowExpressionClause); 9050N(SyntaxKind.ArrowExpressionClause); 9096N(SyntaxKind.ArrowExpressionClause); 9146N(SyntaxKind.ArrowExpressionClause); 9693N(SyntaxKind.ArrowExpressionClause); 9749N(SyntaxKind.ArrowExpressionClause); 9815N(SyntaxKind.ArrowExpressionClause); 9889N(SyntaxKind.ArrowExpressionClause); 9931N(SyntaxKind.ArrowExpressionClause); 9981N(SyntaxKind.ArrowExpressionClause); 10031N(SyntaxKind.ArrowExpressionClause); 10107N(SyntaxKind.ArrowExpressionClause); 10151N(SyntaxKind.ArrowExpressionClause); 10453N(SyntaxKind.ArrowExpressionClause); 10637N(SyntaxKind.ArrowExpressionClause); 10745N(SyntaxKind.ArrowExpressionClause); 10870N(SyntaxKind.ArrowExpressionClause); 11045N(SyntaxKind.ArrowExpressionClause); 11219N(SyntaxKind.ArrowExpressionClause); 11538N(SyntaxKind.ArrowExpressionClause); 11578N(SyntaxKind.ArrowExpressionClause); 11696N(SyntaxKind.ArrowExpressionClause); 11801N(SyntaxKind.ArrowExpressionClause); 11862N(SyntaxKind.ArrowExpressionClause); 11880N(SyntaxKind.ArrowExpressionClause); 17206N(SyntaxKind.ArrowExpressionClause); 17403N(SyntaxKind.ArrowExpressionClause); 18960N(SyntaxKind.ArrowExpressionClause);
Parsing\PatternParsingTests.cs (2)
9839N(SyntaxKind.ArrowExpressionClause); 11478N(SyntaxKind.ArrowExpressionClause);
Parsing\StatementParsingTests.cs (1)
4658N(SyntaxKind.ArrowExpressionClause);
Parsing\SwitchExpressionParsingTests.cs (20)
513N(SyntaxKind.ArrowExpressionClause); 598N(SyntaxKind.ArrowExpressionClause); 687N(SyntaxKind.ArrowExpressionClause); 770N(SyntaxKind.ArrowExpressionClause); 849N(SyntaxKind.ArrowExpressionClause); 937N(SyntaxKind.ArrowExpressionClause); 1032N(SyntaxKind.ArrowExpressionClause); 1114N(SyntaxKind.ArrowExpressionClause); 1193N(SyntaxKind.ArrowExpressionClause); 1287N(SyntaxKind.ArrowExpressionClause); 1394N(SyntaxKind.ArrowExpressionClause); 1489N(SyntaxKind.ArrowExpressionClause); 1568N(SyntaxKind.ArrowExpressionClause); 1651N(SyntaxKind.ArrowExpressionClause); 1728N(SyntaxKind.ArrowExpressionClause); 1802N(SyntaxKind.ArrowExpressionClause); 1878N(SyntaxKind.ArrowExpressionClause); 1954N(SyntaxKind.ArrowExpressionClause); 2034N(SyntaxKind.ArrowExpressionClause); 2120N(SyntaxKind.ArrowExpressionClause);
Parsing\TypeArgumentListParsingTests.cs (2)
921N(SyntaxKind.ArrowExpressionClause); 981N(SyntaxKind.ArrowExpressionClause);
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
569case SyntaxKind.ArrowExpressionClause:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (1)
103if (nodeParent.IsKind(SyntaxKind.ArrowExpressionClause))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\SpeculationAnalyzer.cs (2)
101SyntaxKind.ArrowExpressionClause or 171case SyntaxKind.ArrowExpressionClause:
Microsoft.VisualStudio.LanguageServices.CSharp (2)
CodeModel\CSharpCodeModelService.NodeLocator.cs (2)
37case SyntaxKind.ArrowExpressionClause: 88case SyntaxKind.ArrowExpressionClause: