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