404 references to ParenthesizedLambdaExpression
Microsoft.CodeAnalysis.CSharp (24)
Binder\Binder_Expressions.cs (4)
594case SyntaxKind.ParenthesizedLambdaExpression: 909case SyntaxKind.ParenthesizedLambdaExpression: 3021case SyntaxKind.ParenthesizedLambdaExpression: 10996case SyntaxKind.ParenthesizedLambdaExpression:
Binder\Binder_Lambda.cs (3)
74case SyntaxKind.ParenthesizedLambdaExpression: 199attributesBuilder.Add(syntax.Kind() == SyntaxKind.ParenthesizedLambdaExpression ? p.AttributeLists : default); 267if (syntax.Kind() == SyntaxKind.ParenthesizedLambdaExpression)
BoundTree\UnboundLambda.cs (1)
1508case SyntaxKind.ParenthesizedLambdaExpression:
Lowering\ClosureConversion\ClosureConversion.cs (1)
1778case SyntaxKind.ParenthesizedLambdaExpression:
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
593case SyntaxKind.ParenthesizedLambdaExpression:
Lowering\Instrumentation\CodeCoverageInstrumenter.cs (1)
422case SyntaxKind.ParenthesizedLambdaExpression:
Lowering\LocalRewriter\LocalRewriter_FixedStatement.cs (1)
128case SyntaxKind.ParenthesizedLambdaExpression:
Parser\LanguageParser.cs (2)
4648if (grandparent != null && grandparent.Kind() == SyntaxKind.ParenthesizedLambdaExpression) 10690case SyntaxKind.ParenthesizedLambdaExpression:
Syntax\LambdaUtilities.cs (4)
22case SyntaxKind.ParenthesizedLambdaExpression: 77case SyntaxKind.ParenthesizedLambdaExpression: 149case SyntaxKind.ParenthesizedLambdaExpression: 290case SyntaxKind.ParenthesizedLambdaExpression:
Syntax\LookupPosition.cs (1)
488case SyntaxKind.ParenthesizedLambdaExpression:
Syntax\SyntaxFacts.cs (2)
190case ParenthesizedLambdaExpression: 569or SyntaxKind.ParenthesizedLambdaExpression;
Syntax\SyntaxNodeExtensions.cs (3)
23case SyntaxKind.ParenthesizedLambdaExpression: 86case SyntaxKind.ParenthesizedLambdaExpression: 120case SyntaxKind.ParenthesizedLambdaExpression:
Microsoft.CodeAnalysis.CSharp.CodeStyle (14)
src\Analyzers\CSharp\Analyzers\MakeAnonymousFunctionStatic\MakeAnonymousFunctionStaticDiagnosticAnalyzer.cs (1)
35context.RegisterSyntaxNodeAction(AnalyzeSyntax, SyntaxKind.SimpleLambdaExpression, SyntaxKind.ParenthesizedLambdaExpression, SyntaxKind.AnonymousMethodExpression);
src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryLambdaExpression\CSharpRemoveUnnecessaryLambdaExpressionDiagnosticAnalyzer.cs (1)
55SyntaxKind.SimpleLambdaExpression, SyntaxKind.ParenthesizedLambdaExpression, SyntaxKind.AnonymousMethodExpression);
src\Analyzers\CSharp\Analyzers\UseExpressionBodyForLambda\UseExpressionBodyForLambdaDiagnosticAnalyzer.cs (1)
35SyntaxKind.SimpleLambdaExpression, SyntaxKind.ParenthesizedLambdaExpression);
src\Analyzers\CSharp\Analyzers\UseLocalFunction\CSharpUseLocalFunctionDiagnosticAnalyzer.cs (1)
73SyntaxKind.SimpleLambdaExpression, SyntaxKind.ParenthesizedLambdaExpression, SyntaxKind.AnonymousMethodExpression));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (2)
573case SyntaxKind.ParenthesizedLambdaExpression: 837case SyntaxKind.ParenthesizedLambdaExpression:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
430case SyntaxKind.ParenthesizedLambdaExpression:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\FormattingHelpers.cs (2)
125=> token.Kind() == SyntaxKind.OpenParenToken && token.Parent.IsKind(SyntaxKind.ParameterList) && token.Parent.Parent.IsKind(SyntaxKind.ParenthesizedLambdaExpression); 134return node.Parent?.Kind() is SyntaxKind.SimpleLambdaExpression or SyntaxKind.ParenthesizedLambdaExpression;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\AnchorIndentationFormattingRule.cs (1)
19if (node.Kind() is SyntaxKind.SimpleLambdaExpression or SyntaxKind.ParenthesizedLambdaExpression)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\NewLineUserSettingFormattingRule.cs (2)
208currentTokenParentParent is (kind: SyntaxKind.SimpleLambdaExpression or SyntaxKind.ParenthesizedLambdaExpression)) 426currentTokenParentParent is (kind: SyntaxKind.SimpleLambdaExpression or SyntaxKind.ParenthesizedLambdaExpression))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (1)
199case SyntaxKind.ParenthesizedLambdaExpression:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\SpeculationAnalyzer.cs (1)
201case SyntaxKind.ParenthesizedLambdaExpression:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
src\Analyzers\CSharp\CodeFixes\Nullable\CSharpDeclareAsNullableCodeFixProvider.cs (1)
123SyntaxKind.ParenthesizedLambdaExpression or
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Editing\CSharpImportAdder.cs (1)
177case SyntaxKind.ParenthesizedLambdaExpression:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
1231token.Parent.IsParentKind(SyntaxKind.ParenthesizedLambdaExpression))
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
SymbolKey\SymbolKeyTestBase.cs (1)
392not SyntaxKind.ParenthesizedLambdaExpression and
Microsoft.CodeAnalysis.CSharp.Features (22)
BraceCompletion\CurlyBraceCompletionService.cs (1)
177if (currentTokenParentParent is (kind: SyntaxKind.SimpleLambdaExpression or SyntaxKind.ParenthesizedLambdaExpression))
ChangeSignature\CSharpChangeSignatureService.cs (3)
48SyntaxKind.ParenthesizedLambdaExpression, 81SyntaxKind.ParenthesizedLambdaExpression, 101SyntaxKind.ParenthesizedLambdaExpression,
ConvertLinq\CSharpConvertLinqQueryToForEachProvider.cs (1)
933case SyntaxKind.ParenthesizedLambdaExpression:
EditAndContinue\SyntaxComparer.cs (4)
539case SyntaxKind.ParenthesizedLambdaExpression: 889case SyntaxKind.ParenthesizedLambdaExpression: 987case SyntaxKind.ParenthesizedLambdaExpression: 1065case SyntaxKind.ParenthesizedLambdaExpression:
ExtractMethod\CSharpMethodExtractor.FormattingProvider.cs (1)
60if (node.Kind() is SyntaxKind.SimpleLambdaExpression or SyntaxKind.ParenthesizedLambdaExpression or SyntaxKind.AnonymousMethodExpression)
ExtractMethod\CSharpSelectionValidator.cs (1)
502case SyntaxKind.ParenthesizedLambdaExpression:
InlineHints\CSharpInlineTypeHintsService.cs (1)
85return parameterNode.Parent?.Parent?.Kind() is SyntaxKind.ParenthesizedLambdaExpression
QuickInfo\CSharpSemanticQuickInfoProvider.cs (1)
40&& token.Parent is (kind: SyntaxKind.ParenthesizedLambdaExpression or SyntaxKind.SimpleLambdaExpression))
src\Analyzers\CSharp\Analyzers\MakeAnonymousFunctionStatic\MakeAnonymousFunctionStaticDiagnosticAnalyzer.cs (1)
35context.RegisterSyntaxNodeAction(AnalyzeSyntax, SyntaxKind.SimpleLambdaExpression, SyntaxKind.ParenthesizedLambdaExpression, SyntaxKind.AnonymousMethodExpression);
src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryLambdaExpression\CSharpRemoveUnnecessaryLambdaExpressionDiagnosticAnalyzer.cs (1)
55SyntaxKind.SimpleLambdaExpression, SyntaxKind.ParenthesizedLambdaExpression, SyntaxKind.AnonymousMethodExpression);
src\Analyzers\CSharp\Analyzers\UseExpressionBodyForLambda\UseExpressionBodyForLambdaDiagnosticAnalyzer.cs (1)
35SyntaxKind.SimpleLambdaExpression, SyntaxKind.ParenthesizedLambdaExpression);
src\Analyzers\CSharp\Analyzers\UseLocalFunction\CSharpUseLocalFunctionDiagnosticAnalyzer.cs (1)
73SyntaxKind.SimpleLambdaExpression, SyntaxKind.ParenthesizedLambdaExpression, SyntaxKind.AnonymousMethodExpression));
src\Analyzers\CSharp\CodeFixes\Nullable\CSharpDeclareAsNullableCodeFixProvider.cs (1)
123SyntaxKind.ParenthesizedLambdaExpression or
src\Compilers\CSharp\Portable\Syntax\LambdaUtilities.cs (4)
22case SyntaxKind.ParenthesizedLambdaExpression: 77case SyntaxKind.ParenthesizedLambdaExpression: 149case SyntaxKind.ParenthesizedLambdaExpression: 290case SyntaxKind.ParenthesizedLambdaExpression:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\LambdaTests.cs (1)
8011.Where(n => n.IsKind(SyntaxKind.ParenthesizedLambdaExpression))
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (320)
Parsing\AnonymousFunctionParsingTests.cs (12)
2963N(SyntaxKind.ParenthesizedLambdaExpression); 3108N(SyntaxKind.ParenthesizedLambdaExpression); 3222N(SyntaxKind.ParenthesizedLambdaExpression); 3371N(SyntaxKind.ParenthesizedLambdaExpression); 3524N(SyntaxKind.ParenthesizedLambdaExpression); 3677N(SyntaxKind.ParenthesizedLambdaExpression); 3812N(SyntaxKind.ParenthesizedLambdaExpression); 3966N(SyntaxKind.ParenthesizedLambdaExpression); 4089N(SyntaxKind.ParenthesizedLambdaExpression); 4247N(SyntaxKind.ParenthesizedLambdaExpression); 4409N(SyntaxKind.ParenthesizedLambdaExpression); 4571N(SyntaxKind.ParenthesizedLambdaExpression);
Parsing\AsyncParsingTests.cs (4)
1313N(SyntaxKind.ParenthesizedLambdaExpression); 1340N(SyntaxKind.ParenthesizedLambdaExpression); 2762N(SyntaxKind.ParenthesizedLambdaExpression); 2816N(SyntaxKind.ParenthesizedLambdaExpression);
Parsing\AwaitParsingTests.cs (44)
258N(SyntaxKind.ParenthesizedLambdaExpression); 284N(SyntaxKind.ParenthesizedLambdaExpression); 436N(SyntaxKind.ParenthesizedLambdaExpression); 480N(SyntaxKind.ParenthesizedLambdaExpression); 524N(SyntaxKind.ParenthesizedLambdaExpression); 558N(SyntaxKind.ParenthesizedLambdaExpression); 586N(SyntaxKind.ParenthesizedLambdaExpression); 620N(SyntaxKind.ParenthesizedLambdaExpression); 654N(SyntaxKind.ParenthesizedLambdaExpression); 695N(SyntaxKind.ParenthesizedLambdaExpression); 732N(SyntaxKind.ParenthesizedLambdaExpression); 763N(SyntaxKind.ParenthesizedLambdaExpression); 794N(SyntaxKind.ParenthesizedLambdaExpression); 825N(SyntaxKind.ParenthesizedLambdaExpression); 860N(SyntaxKind.ParenthesizedLambdaExpression); 889N(SyntaxKind.ParenthesizedLambdaExpression); 934N(SyntaxKind.ParenthesizedLambdaExpression); 960N(SyntaxKind.ParenthesizedLambdaExpression); 1020N(SyntaxKind.ParenthesizedLambdaExpression); 1048N(SyntaxKind.ParenthesizedLambdaExpression); 1107N(SyntaxKind.ParenthesizedLambdaExpression); 1852N(SyntaxKind.ParenthesizedLambdaExpression); 1878N(SyntaxKind.ParenthesizedLambdaExpression); 1908N(SyntaxKind.ParenthesizedLambdaExpression); 1950N(SyntaxKind.ParenthesizedLambdaExpression); 1992N(SyntaxKind.ParenthesizedLambdaExpression); 2034N(SyntaxKind.ParenthesizedLambdaExpression); 2065N(SyntaxKind.ParenthesizedLambdaExpression); 2097N(SyntaxKind.ParenthesizedLambdaExpression); 2129N(SyntaxKind.ParenthesizedLambdaExpression); 2161N(SyntaxKind.ParenthesizedLambdaExpression); 2187N(SyntaxKind.ParenthesizedLambdaExpression); 2213N(SyntaxKind.ParenthesizedLambdaExpression); 2239N(SyntaxKind.ParenthesizedLambdaExpression); 2265N(SyntaxKind.ParenthesizedLambdaExpression); 2291N(SyntaxKind.ParenthesizedLambdaExpression); 2317N(SyntaxKind.ParenthesizedLambdaExpression); 2346N(SyntaxKind.ParenthesizedLambdaExpression); 2402N(SyntaxKind.ParenthesizedLambdaExpression); 2442N(SyntaxKind.ParenthesizedLambdaExpression); 2487N(SyntaxKind.ParenthesizedLambdaExpression); 2534N(SyntaxKind.ParenthesizedLambdaExpression); 2580N(SyntaxKind.ParenthesizedLambdaExpression); 2626N(SyntaxKind.ParenthesizedLambdaExpression);
Parsing\CollectionExpressionParsingTests.cs (35)
3049N(SyntaxKind.ParenthesizedLambdaExpression); 3240N(SyntaxKind.ParenthesizedLambdaExpression); 7821N(SyntaxKind.ParenthesizedLambdaExpression); 7859N(SyntaxKind.ParenthesizedLambdaExpression); 7877N(SyntaxKind.ParenthesizedLambdaExpression); 7915N(SyntaxKind.ParenthesizedLambdaExpression); 8056N(SyntaxKind.ParenthesizedLambdaExpression); 8209N(SyntaxKind.ParenthesizedLambdaExpression); 8362N(SyntaxKind.ParenthesizedLambdaExpression); 8502N(SyntaxKind.ParenthesizedLambdaExpression); 8654N(SyntaxKind.ParenthesizedLambdaExpression); 8809N(SyntaxKind.ParenthesizedLambdaExpression); 12875N(SyntaxKind.ParenthesizedLambdaExpression); 13072N(SyntaxKind.ParenthesizedLambdaExpression); 13221N(SyntaxKind.ParenthesizedLambdaExpression); 13386N(SyntaxKind.ParenthesizedLambdaExpression); 13564N(SyntaxKind.ParenthesizedLambdaExpression); 13758N(SyntaxKind.ParenthesizedLambdaExpression); 14023N(SyntaxKind.ParenthesizedLambdaExpression); 14109N(SyntaxKind.ParenthesizedLambdaExpression); 14215N(SyntaxKind.ParenthesizedLambdaExpression); 14308N(SyntaxKind.ParenthesizedLambdaExpression); 14423N(SyntaxKind.ParenthesizedLambdaExpression); 14531N(SyntaxKind.ParenthesizedLambdaExpression); 14659N(SyntaxKind.ParenthesizedLambdaExpression); 14767N(SyntaxKind.ParenthesizedLambdaExpression); 14897N(SyntaxKind.ParenthesizedLambdaExpression); 15006N(SyntaxKind.ParenthesizedLambdaExpression); 15133N(SyntaxKind.ParenthesizedLambdaExpression); 15230N(SyntaxKind.ParenthesizedLambdaExpression); 15349N(SyntaxKind.ParenthesizedLambdaExpression); 15465N(SyntaxKind.ParenthesizedLambdaExpression); 16992N(SyntaxKind.ParenthesizedLambdaExpression); 18540N(SyntaxKind.ParenthesizedLambdaExpression); 18566N(SyntaxKind.ParenthesizedLambdaExpression);
Parsing\DeclarationScopeParsingTests.cs (5)
897N(SyntaxKind.ParenthesizedLambdaExpression); 939N(SyntaxKind.ParenthesizedLambdaExpression); 1099N(SyntaxKind.ParenthesizedLambdaExpression); 1200N(SyntaxKind.ParenthesizedLambdaExpression); 1268N(SyntaxKind.ParenthesizedLambdaExpression);
Parsing\DeconstructionTests.cs (2)
2009Assert.Equal(SyntaxKind.ParenthesizedLambdaExpression, expression.Kind()); 2020Assert.Equal(SyntaxKind.ParenthesizedLambdaExpression, expression.Kind());
Parsing\ExpressionParsingTests.cs (7)
2090Assert.Equal(SyntaxKind.ParenthesizedLambdaExpression, expr.Kind()); 2110Assert.Equal(SyntaxKind.ParenthesizedLambdaExpression, expr.Kind()); 2130Assert.Equal(SyntaxKind.ParenthesizedLambdaExpression, expr.Kind()); 2152Assert.Equal(SyntaxKind.ParenthesizedLambdaExpression, expr.Kind()); 2176Assert.Equal(SyntaxKind.ParenthesizedLambdaExpression, expr.Kind()); 2203Assert.Equal(SyntaxKind.ParenthesizedLambdaExpression, expr.Kind()); 2228Assert.Equal(SyntaxKind.ParenthesizedLambdaExpression, expr.Kind());
Parsing\FileModifierParsingTests.cs (1)
3388N(SyntaxKind.ParenthesizedLambdaExpression);
Parsing\FunctionPointerTests.cs (1)
2301N(SyntaxKind.ParenthesizedLambdaExpression);
Parsing\LambdaAttributeParsingTests.cs (48)
84N(SyntaxKind.ParenthesizedLambdaExpression); 134N(SyntaxKind.ParenthesizedLambdaExpression); 195N(SyntaxKind.ParenthesizedLambdaExpression); 241N(SyntaxKind.ParenthesizedLambdaExpression); 362N(SyntaxKind.ParenthesizedLambdaExpression); 397N(SyntaxKind.ParenthesizedLambdaExpression); 436N(SyntaxKind.ParenthesizedLambdaExpression); 479N(SyntaxKind.ParenthesizedLambdaExpression); 522N(SyntaxKind.ParenthesizedLambdaExpression); 561N(SyntaxKind.ParenthesizedLambdaExpression); 604N(SyntaxKind.ParenthesizedLambdaExpression); 682N(SyntaxKind.ParenthesizedLambdaExpression); 720N(SyntaxKind.ParenthesizedLambdaExpression); 760N(SyntaxKind.ParenthesizedLambdaExpression); 803N(SyntaxKind.ParenthesizedLambdaExpression); 837N(SyntaxKind.ParenthesizedLambdaExpression); 1158N(SyntaxKind.ParenthesizedLambdaExpression); 1312N(SyntaxKind.ParenthesizedLambdaExpression); 1396N(SyntaxKind.ParenthesizedLambdaExpression); 1436N(SyntaxKind.ParenthesizedLambdaExpression); 1484N(SyntaxKind.ParenthesizedLambdaExpression); 1531N(SyntaxKind.ParenthesizedLambdaExpression); 1571N(SyntaxKind.ParenthesizedLambdaExpression); 1617N(SyntaxKind.ParenthesizedLambdaExpression); 1664N(SyntaxKind.ParenthesizedLambdaExpression); 1720N(SyntaxKind.ParenthesizedLambdaExpression); 1755N(SyntaxKind.ParenthesizedLambdaExpression); 1796N(SyntaxKind.ParenthesizedLambdaExpression); 1854N(SyntaxKind.ParenthesizedLambdaExpression); 2767N(SyntaxKind.ParenthesizedLambdaExpression); 2851N(SyntaxKind.ParenthesizedLambdaExpression); 2925N(SyntaxKind.ParenthesizedLambdaExpression); 3052N(SyntaxKind.ParenthesizedLambdaExpression); 3123N(SyntaxKind.ParenthesizedLambdaExpression); 3196N(SyntaxKind.ParenthesizedLambdaExpression); 3236N(SyntaxKind.ParenthesizedLambdaExpression); 3282N(SyntaxKind.ParenthesizedLambdaExpression); 3373N(SyntaxKind.ParenthesizedLambdaExpression); 3412N(SyntaxKind.ParenthesizedLambdaExpression); 3490N(SyntaxKind.ParenthesizedLambdaExpression); 3739N(SyntaxKind.ParenthesizedLambdaExpression); 3845N(SyntaxKind.ParenthesizedLambdaExpression); 3974N(SyntaxKind.ParenthesizedLambdaExpression); 4071N(SyntaxKind.ParenthesizedLambdaExpression); 4087N(SyntaxKind.ParenthesizedLambdaExpression); 4188N(SyntaxKind.ParenthesizedLambdaExpression); 4225N(SyntaxKind.ParenthesizedLambdaExpression); 4360N(SyntaxKind.ParenthesizedLambdaExpression);
Parsing\LambdaParameterParsingTests.cs (35)
757N(SyntaxKind.ParenthesizedLambdaExpression); 2098N(SyntaxKind.ParenthesizedLambdaExpression); 2334N(SyntaxKind.ParenthesizedLambdaExpression); 2449N(SyntaxKind.ParenthesizedLambdaExpression); 2520N(SyntaxKind.ParenthesizedLambdaExpression); 2590N(SyntaxKind.ParenthesizedLambdaExpression); 2642N(SyntaxKind.ParenthesizedLambdaExpression); 2699N(SyntaxKind.ParenthesizedLambdaExpression); 2837N(SyntaxKind.ParenthesizedLambdaExpression); 3187N(SyntaxKind.ParenthesizedLambdaExpression); 3276N(SyntaxKind.ParenthesizedLambdaExpression); 3397N(SyntaxKind.ParenthesizedLambdaExpression); 3569N(SyntaxKind.ParenthesizedLambdaExpression); 3652N(SyntaxKind.ParenthesizedLambdaExpression); 3749N(SyntaxKind.ParenthesizedLambdaExpression); 3787N(SyntaxKind.ParenthesizedLambdaExpression); 3849N(SyntaxKind.ParenthesizedLambdaExpression); 3887N(SyntaxKind.ParenthesizedLambdaExpression); 4045N(SyntaxKind.ParenthesizedLambdaExpression); 4056N(SyntaxKind.ParenthesizedLambdaExpression); 4067N(SyntaxKind.ParenthesizedLambdaExpression); 4078N(SyntaxKind.ParenthesizedLambdaExpression); 4180N(SyntaxKind.ParenthesizedLambdaExpression); 4209N(SyntaxKind.ParenthesizedLambdaExpression); 4257N(SyntaxKind.ParenthesizedLambdaExpression); 4687N(SyntaxKind.ParenthesizedLambdaExpression); 5096N(SyntaxKind.ParenthesizedLambdaExpression); 5395N(SyntaxKind.ParenthesizedLambdaExpression); 5432N(SyntaxKind.ParenthesizedLambdaExpression); 5573N(SyntaxKind.ParenthesizedLambdaExpression); 5600N(SyntaxKind.ParenthesizedLambdaExpression); 5632N(SyntaxKind.ParenthesizedLambdaExpression); 5663N(SyntaxKind.ParenthesizedLambdaExpression); 5695N(SyntaxKind.ParenthesizedLambdaExpression); 5814N(SyntaxKind.ParenthesizedLambdaExpression);
Parsing\LambdaReturnTypeParsingTests.cs (114)
50N(SyntaxKind.ParenthesizedLambdaExpression); 87N(SyntaxKind.ParenthesizedLambdaExpression); 134N(SyntaxKind.ParenthesizedLambdaExpression); 174N(SyntaxKind.ParenthesizedLambdaExpression); 348N(SyntaxKind.ParenthesizedLambdaExpression); 383N(SyntaxKind.ParenthesizedLambdaExpression); 415N(SyntaxKind.ParenthesizedLambdaExpression); 458N(SyntaxKind.ParenthesizedLambdaExpression); 492N(SyntaxKind.ParenthesizedLambdaExpression); 522N(SyntaxKind.ParenthesizedLambdaExpression); 553N(SyntaxKind.ParenthesizedLambdaExpression); 596N(SyntaxKind.ParenthesizedLambdaExpression); 670N(SyntaxKind.ParenthesizedLambdaExpression); 703N(SyntaxKind.ParenthesizedLambdaExpression); 733N(SyntaxKind.ParenthesizedLambdaExpression); 778N(SyntaxKind.ParenthesizedLambdaExpression); 841N(SyntaxKind.ParenthesizedLambdaExpression); 884N(SyntaxKind.ParenthesizedLambdaExpression); 912N(SyntaxKind.ParenthesizedLambdaExpression); 949N(SyntaxKind.ParenthesizedLambdaExpression); 977N(SyntaxKind.ParenthesizedLambdaExpression); 1046N(SyntaxKind.ParenthesizedLambdaExpression); 1074N(SyntaxKind.ParenthesizedLambdaExpression); 1141N(SyntaxKind.ParenthesizedLambdaExpression); 1197N(SyntaxKind.ParenthesizedLambdaExpression); 1247N(SyntaxKind.ParenthesizedLambdaExpression); 1275N(SyntaxKind.ParenthesizedLambdaExpression); 1330N(SyntaxKind.ParenthesizedLambdaExpression); 1385N(SyntaxKind.ParenthesizedLambdaExpression); 1411N(SyntaxKind.ParenthesizedLambdaExpression); 1443N(SyntaxKind.ParenthesizedLambdaExpression); 1507N(SyntaxKind.ParenthesizedLambdaExpression); 1535N(SyntaxKind.ParenthesizedLambdaExpression); 1582N(SyntaxKind.ParenthesizedLambdaExpression); 1625N(SyntaxKind.ParenthesizedLambdaExpression); 1659N(SyntaxKind.ParenthesizedLambdaExpression); 1690N(SyntaxKind.ParenthesizedLambdaExpression); 1727N(SyntaxKind.ParenthesizedLambdaExpression); 1755N(SyntaxKind.ParenthesizedLambdaExpression); 1802N(SyntaxKind.ParenthesizedLambdaExpression); 1847N(SyntaxKind.ParenthesizedLambdaExpression); 1909N(SyntaxKind.ParenthesizedLambdaExpression); 1957N(SyntaxKind.ParenthesizedLambdaExpression); 2001N(SyntaxKind.ParenthesizedLambdaExpression); 2039N(SyntaxKind.ParenthesizedLambdaExpression); 2074N(SyntaxKind.ParenthesizedLambdaExpression); 2112N(SyntaxKind.ParenthesizedLambdaExpression); 2146N(SyntaxKind.ParenthesizedLambdaExpression); 2182N(SyntaxKind.ParenthesizedLambdaExpression); 2230N(SyntaxKind.ParenthesizedLambdaExpression); 2301N(SyntaxKind.ParenthesizedLambdaExpression); 2345N(SyntaxKind.ParenthesizedLambdaExpression); 2357N(SyntaxKind.ParenthesizedLambdaExpression); 2381N(SyntaxKind.ParenthesizedLambdaExpression); 2393N(SyntaxKind.ParenthesizedLambdaExpression); 2420N(SyntaxKind.ParenthesizedLambdaExpression); 2432N(SyntaxKind.ParenthesizedLambdaExpression); 2461N(SyntaxKind.ParenthesizedLambdaExpression); 2509N(SyntaxKind.ParenthesizedLambdaExpression); 2548N(SyntaxKind.ParenthesizedLambdaExpression); 2564N(SyntaxKind.ParenthesizedLambdaExpression); 2602N(SyntaxKind.ParenthesizedLambdaExpression); 2634N(SyntaxKind.ParenthesizedLambdaExpression); 2681N(SyntaxKind.ParenthesizedLambdaExpression); 2732N(SyntaxKind.ParenthesizedLambdaExpression); 2788N(SyntaxKind.ParenthesizedLambdaExpression); 2846N(SyntaxKind.ParenthesizedLambdaExpression); 2894N(SyntaxKind.ParenthesizedLambdaExpression); 2934N(SyntaxKind.ParenthesizedLambdaExpression); 2979N(SyntaxKind.ParenthesizedLambdaExpression); 3026N(SyntaxKind.ParenthesizedLambdaExpression); 3066N(SyntaxKind.ParenthesizedLambdaExpression); 3103N(SyntaxKind.ParenthesizedLambdaExpression); 3145N(SyntaxKind.ParenthesizedLambdaExpression); 3190N(SyntaxKind.ParenthesizedLambdaExpression); 3241N(SyntaxKind.ParenthesizedLambdaExpression); 3286N(SyntaxKind.ParenthesizedLambdaExpression); 3327N(SyntaxKind.ParenthesizedLambdaExpression); 3354N(SyntaxKind.ParenthesizedLambdaExpression); 3394N(SyntaxKind.ParenthesizedLambdaExpression); 3416N(SyntaxKind.ParenthesizedLambdaExpression); 3468N(SyntaxKind.ParenthesizedLambdaExpression); 3521N(SyntaxKind.ParenthesizedLambdaExpression); 3566N(SyntaxKind.ParenthesizedLambdaExpression); 3608N(SyntaxKind.ParenthesizedLambdaExpression); 3997N(SyntaxKind.ParenthesizedLambdaExpression); 4035N(SyntaxKind.ParenthesizedLambdaExpression); 4071N(SyntaxKind.ParenthesizedLambdaExpression); 4116N(SyntaxKind.ParenthesizedLambdaExpression); 4172N(SyntaxKind.ParenthesizedLambdaExpression); 4216N(SyntaxKind.ParenthesizedLambdaExpression); 4425N(SyntaxKind.ParenthesizedLambdaExpression); 4774N(SyntaxKind.ParenthesizedLambdaExpression); 4812N(SyntaxKind.ParenthesizedLambdaExpression); 4851N(SyntaxKind.ParenthesizedLambdaExpression); 4882N(SyntaxKind.ParenthesizedLambdaExpression); 4917N(SyntaxKind.ParenthesizedLambdaExpression); 4953N(SyntaxKind.ParenthesizedLambdaExpression); 4979N(SyntaxKind.ParenthesizedLambdaExpression); 5056N(SyntaxKind.ParenthesizedLambdaExpression); 5096N(SyntaxKind.ParenthesizedLambdaExpression); 5132N(SyntaxKind.ParenthesizedLambdaExpression); 5197N(SyntaxKind.ParenthesizedLambdaExpression); 5309N(SyntaxKind.ParenthesizedLambdaExpression); 5346N(SyntaxKind.ParenthesizedLambdaExpression); 5391N(SyntaxKind.ParenthesizedLambdaExpression); 5439N(SyntaxKind.ParenthesizedLambdaExpression); 5475N(SyntaxKind.ParenthesizedLambdaExpression); 5518N(SyntaxKind.ParenthesizedLambdaExpression); 5569N(SyntaxKind.ParenthesizedLambdaExpression); 5640N(SyntaxKind.ParenthesizedLambdaExpression); 5698N(SyntaxKind.ParenthesizedLambdaExpression); 5751N(SyntaxKind.ParenthesizedLambdaExpression); 5817N(SyntaxKind.ParenthesizedLambdaExpression);
Parsing\LocalFunctionParsingTests.cs (1)
1478N(SyntaxKind.ParenthesizedLambdaExpression);
Parsing\MemberDeclarationParsingTests.cs (4)
8676N(SyntaxKind.ParenthesizedLambdaExpression); 10276N(SyntaxKind.ParenthesizedLambdaExpression); 10308N(SyntaxKind.ParenthesizedLambdaExpression); 10341N(SyntaxKind.ParenthesizedLambdaExpression);
Parsing\NullableParsingTests.cs (1)
1277N(SyntaxKind.ParenthesizedLambdaExpression);
Parsing\PatternParsingTests.cs (1)
10283N(SyntaxKind.ParenthesizedLambdaExpression);
Parsing\RefFieldParsingTests.cs (1)
426N(SyntaxKind.ParenthesizedLambdaExpression);
Parsing\StatementAttributeParsingTests.cs (2)
3549N(SyntaxKind.ParenthesizedLambdaExpression); 3631N(SyntaxKind.ParenthesizedLambdaExpression);
Parsing\ValueTupleTests.cs (2)
252N(SyntaxKind.ParenthesizedLambdaExpression); 356N(SyntaxKind.ParenthesizedLambdaExpression);
Microsoft.CodeAnalysis.CSharp.Workspaces (19)
CodeGeneration\CSharpSyntaxGenerator.cs (6)
1593case SyntaxKind.ParenthesizedLambdaExpression: 2246case SyntaxKind.ParenthesizedLambdaExpression: 2276case SyntaxKind.ParenthesizedLambdaExpression: 2331case SyntaxKind.ParenthesizedLambdaExpression: 2489SyntaxKind.ParenthesizedLambdaExpression => (((ParenthesizedLambdaExpressionSyntax)declaration).Body as BlockSyntax)?.Statements, 2522case SyntaxKind.ParenthesizedLambdaExpression:
Simplification\Reducers\CSharpMiscellaneousReducer.cs (1)
41parameterSyntax.Parent.IsParentKind(SyntaxKind.ParenthesizedLambdaExpression))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (2)
573case SyntaxKind.ParenthesizedLambdaExpression: 837case SyntaxKind.ParenthesizedLambdaExpression:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
430case SyntaxKind.ParenthesizedLambdaExpression:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\FormattingHelpers.cs (2)
125=> token.Kind() == SyntaxKind.OpenParenToken && token.Parent.IsKind(SyntaxKind.ParameterList) && token.Parent.Parent.IsKind(SyntaxKind.ParenthesizedLambdaExpression); 134return node.Parent?.Kind() is SyntaxKind.SimpleLambdaExpression or SyntaxKind.ParenthesizedLambdaExpression;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\AnchorIndentationFormattingRule.cs (1)
19if (node.Kind() is SyntaxKind.SimpleLambdaExpression or SyntaxKind.ParenthesizedLambdaExpression)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\NewLineUserSettingFormattingRule.cs (2)
208currentTokenParentParent is (kind: SyntaxKind.SimpleLambdaExpression or SyntaxKind.ParenthesizedLambdaExpression)) 426currentTokenParentParent is (kind: SyntaxKind.SimpleLambdaExpression or SyntaxKind.ParenthesizedLambdaExpression))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (1)
199case SyntaxKind.ParenthesizedLambdaExpression:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\SpeculationAnalyzer.cs (1)
201case SyntaxKind.ParenthesizedLambdaExpression:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Editing\CSharpImportAdder.cs (1)
177case SyntaxKind.ParenthesizedLambdaExpression:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
1231token.Parent.IsParentKind(SyntaxKind.ParenthesizedLambdaExpression))