163 references to Subpattern
Microsoft.CodeAnalysis.CSharp (3)
Compilation\MemberSemanticModel.cs (1)
2177
case SyntaxKind.
Subpattern
:
Syntax\SyntaxFactory.cs (1)
2229
if (parent.Parent.IsKind(SyntaxKind.
Subpattern
))
Syntax\SyntaxFacts.cs (1)
290
if (parent2.IsKind(SyntaxKind.
Subpattern
))
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Analyzers\CSharp\Analyzers\SimplifyPropertyPattern\CSharpSimplifyPropertyPatternDiagnosticAnalyzer.cs (1)
48
context.RegisterSyntaxNodeAction(AnalyzeSubpattern, SyntaxKind.
Subpattern
);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
637
node.Parent.IsParentKind(SyntaxKind.
Subpattern
);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\Analyzers\CSharp\CodeFixes\RemoveUnusedParametersAndValues\CSharpRemoveUnusedValuesCodeFixProvider.cs (1)
82
return node.IsParentKind(SyntaxKind.
Subpattern
)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
1421
leftToken.Parent.IsParentKind(SyntaxKind.
Subpattern
))
Microsoft.CodeAnalysis.CSharp.Features (3)
GenerateMember\GenerateVariable\CSharpGenerateVariableService.cs (1)
185
expression.Parent.IsParentKind(SyntaxKind.
Subpattern
))
src\Analyzers\CSharp\Analyzers\SimplifyPropertyPattern\CSharpSimplifyPropertyPatternDiagnosticAnalyzer.cs (1)
48
context.RegisterSyntaxNodeAction(AnalyzeSubpattern, SyntaxKind.
Subpattern
);
src\Analyzers\CSharp\CodeFixes\RemoveUnusedParametersAndValues\CSharpRemoveUnusedValuesCodeFixProvider.cs (1)
82
return node.IsParentKind(SyntaxKind.
Subpattern
)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (151)
Parsing\AwaitParsingTests.cs (2)
1807
N(SyntaxKind.
Subpattern
);
1826
N(SyntaxKind.
Subpattern
);
Parsing\FunctionPointerTests.cs (4)
2623
N(SyntaxKind.
Subpattern
);
2635
N(SyntaxKind.
Subpattern
);
2737
N(SyntaxKind.
Subpattern
);
2749
N(SyntaxKind.
Subpattern
);
Parsing\LambdaReturnTypeParsingTests.cs (8)
4491
N(SyntaxKind.
Subpattern
);
4502
N(SyntaxKind.
Subpattern
);
4529
N(SyntaxKind.
Subpattern
);
4540
N(SyntaxKind.
Subpattern
);
4589
N(SyntaxKind.
Subpattern
);
4604
N(SyntaxKind.
Subpattern
);
4635
N(SyntaxKind.
Subpattern
);
4650
N(SyntaxKind.
Subpattern
);
Parsing\NullableParsingTests.cs (2)
2186
N(SyntaxKind.
Subpattern
);
2197
N(SyntaxKind.
Subpattern
);
Parsing\PatternParsingTests.cs (77)
1892
N(SyntaxKind.
Subpattern
);
1986
N(SyntaxKind.
Subpattern
);
2069
N(SyntaxKind.
Subpattern
);
2088
N(SyntaxKind.
Subpattern
);
2111
N(SyntaxKind.
Subpattern
);
2411
N(SyntaxKind.
Subpattern
);
2670
N(SyntaxKind.
Subpattern
);
2681
N(SyntaxKind.
Subpattern
);
2692
N(SyntaxKind.
Subpattern
);
4368
N(SyntaxKind.
Subpattern
);
4387
N(SyntaxKind.
Subpattern
);
4410
N(SyntaxKind.
Subpattern
);
4474
N(SyntaxKind.
Subpattern
);
4493
N(SyntaxKind.
Subpattern
);
4516
N(SyntaxKind.
Subpattern
);
4584
N(SyntaxKind.
Subpattern
);
4648
N(SyntaxKind.
Subpattern
);
4716
N(SyntaxKind.
Subpattern
);
4735
N(SyntaxKind.
Subpattern
);
4799
N(SyntaxKind.
Subpattern
);
4818
N(SyntaxKind.
Subpattern
);
4931
N(SyntaxKind.
Subpattern
);
4950
N(SyntaxKind.
Subpattern
);
4973
N(SyntaxKind.
Subpattern
);
5033
N(SyntaxKind.
Subpattern
);
5052
N(SyntaxKind.
Subpattern
);
5075
N(SyntaxKind.
Subpattern
);
5139
N(SyntaxKind.
Subpattern
);
5199
N(SyntaxKind.
Subpattern
);
5263
N(SyntaxKind.
Subpattern
);
5282
N(SyntaxKind.
Subpattern
);
5342
N(SyntaxKind.
Subpattern
);
5361
N(SyntaxKind.
Subpattern
);
5620
N(SyntaxKind.
Subpattern
);
5628
N(SyntaxKind.
Subpattern
);
5658
N(SyntaxKind.
Subpattern
);
5786
N(SyntaxKind.
Subpattern
);
5817
N(SyntaxKind.
Subpattern
);
5848
N(SyntaxKind.
Subpattern
);
5880
N(SyntaxKind.
Subpattern
);
5919
N(SyntaxKind.
Subpattern
);
5973
N(SyntaxKind.
Subpattern
);
6010
N(SyntaxKind.
Subpattern
);
6046
N(SyntaxKind.
Subpattern
);
6087
N(SyntaxKind.
Subpattern
);
6102
N(SyntaxKind.
Subpattern
);
6137
N(SyntaxKind.
Subpattern
);
6152
N(SyntaxKind.
Subpattern
);
6187
N(SyntaxKind.
Subpattern
);
6202
N(SyntaxKind.
Subpattern
);
6238
N(SyntaxKind.
Subpattern
);
6253
N(SyntaxKind.
Subpattern
);
6292
N(SyntaxKind.
Subpattern
);
6311
N(SyntaxKind.
Subpattern
);
6789
N(SyntaxKind.
Subpattern
);
6835
M(SyntaxKind.
Subpattern
);
6873
N(SyntaxKind.
Subpattern
);
6892
M(SyntaxKind.
Subpattern
);
6932
M(SyntaxKind.
Subpattern
);
6943
M(SyntaxKind.
Subpattern
);
7039
N(SyntaxKind.
Subpattern
);
7058
M(SyntaxKind.
Subpattern
);
9324
N(SyntaxKind.
Subpattern
);
9616
N(SyntaxKind.
Subpattern
);
10484
N(SyntaxKind.
Subpattern
);
10584
N(SyntaxKind.
Subpattern
);
10591
N(SyntaxKind.
Subpattern
);
10602
N(SyntaxKind.
Subpattern
);
11577
N(SyntaxKind.
Subpattern
);
11589
N(SyntaxKind.
Subpattern
);
11903
N(SyntaxKind.
Subpattern
);
11918
N(SyntaxKind.
Subpattern
);
11929
M(SyntaxKind.
Subpattern
);
12007
N(SyntaxKind.
Subpattern
);
12018
M(SyntaxKind.
Subpattern
);
12724
N(SyntaxKind.
Subpattern
);
12736
N(SyntaxKind.
Subpattern
);
Parsing\PatternParsingTests2.cs (31)
70
N(SyntaxKind.
Subpattern
);
135
N(SyntaxKind.
Subpattern
);
147
N(SyntaxKind.
Subpattern
);
181
N(SyntaxKind.
Subpattern
);
238
N(SyntaxKind.
Subpattern
);
261
N(SyntaxKind.
Subpattern
);
295
N(SyntaxKind.
Subpattern
);
349
N(SyntaxKind.
Subpattern
);
405
N(SyntaxKind.
Subpattern
);
421
N(SyntaxKind.
Subpattern
);
461
N(SyntaxKind.
Subpattern
);
476
N(SyntaxKind.
Subpattern
);
516
N(SyntaxKind.
Subpattern
);
538
N(SyntaxKind.
Subpattern
);
572
N(SyntaxKind.
Subpattern
);
620
N(SyntaxKind.
Subpattern
);
632
N(SyntaxKind.
Subpattern
);
666
N(SyntaxKind.
Subpattern
);
720
N(SyntaxKind.
Subpattern
);
791
N(SyntaxKind.
Subpattern
);
807
N(SyntaxKind.
Subpattern
);
849
N(SyntaxKind.
Subpattern
);
909
N(SyntaxKind.
Subpattern
);
1383
N(SyntaxKind.
Subpattern
);
1429
N(SyntaxKind.
Subpattern
);
1479
N(SyntaxKind.
Subpattern
);
1506
N(SyntaxKind.
Subpattern
);
1559
N(SyntaxKind.
Subpattern
);
1586
N(SyntaxKind.
Subpattern
);
1636
N(SyntaxKind.
Subpattern
);
1697
N(SyntaxKind.
Subpattern
);
Parsing\StatementParsingTests.cs (8)
4810
N(SyntaxKind.
Subpattern
);
4850
N(SyntaxKind.
Subpattern
);
4937
N(SyntaxKind.
Subpattern
);
4977
N(SyntaxKind.
Subpattern
);
5066
N(SyntaxKind.
Subpattern
);
5081
N(SyntaxKind.
Subpattern
);
5117
N(SyntaxKind.
Subpattern
);
5132
N(SyntaxKind.
Subpattern
);
Parsing\SwitchExpressionParsingTests.cs (19)
2897
N(SyntaxKind.
Subpattern
);
2941
N(SyntaxKind.
Subpattern
);
3020
N(SyntaxKind.
Subpattern
);
3064
N(SyntaxKind.
Subpattern
);
3143
N(SyntaxKind.
Subpattern
);
3187
N(SyntaxKind.
Subpattern
);
3272
N(SyntaxKind.
Subpattern
);
3316
N(SyntaxKind.
Subpattern
);
3401
N(SyntaxKind.
Subpattern
);
3416
N(SyntaxKind.
Subpattern
);
3460
N(SyntaxKind.
Subpattern
);
3475
N(SyntaxKind.
Subpattern
);
3566
N(SyntaxKind.
Subpattern
);
3581
N(SyntaxKind.
Subpattern
);
3625
N(SyntaxKind.
Subpattern
);
3640
N(SyntaxKind.
Subpattern
);
4172
N(SyntaxKind.
Subpattern
);
4191
N(SyntaxKind.
Subpattern
);
4198
N(SyntaxKind.
Subpattern
);
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
637
node.Parent.IsParentKind(SyntaxKind.
Subpattern
);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
1421
leftToken.Parent.IsParentKind(SyntaxKind.
Subpattern
))