70 references to PropertyPatternClause
Microsoft.CodeAnalysis.CSharp (3)
Compilation\CSharpSemanticModel.cs (1)
4479
if (parent3.IsKind(SyntaxKind.
PropertyPatternClause
) || parent3.IsKind(SyntaxKind.PositionalPatternClause))
Syntax\SyntaxNormalizer.cs (2)
470
if (token.Parent.IsKind(SyntaxKind.
PropertyPatternClause
))
474
else if (next.Parent.IsKind(SyntaxKind.
PropertyPatternClause
))
Microsoft.CodeAnalysis.CSharp.CodeStyle (7)
BaseFormattingRule.cs (1)
183
else if (node.IsKind(SyntaxKind.
PropertyPatternClause
))
CSharpSyntaxFacts.cs (1)
638
=> node.Kind() == SyntaxKind.
PropertyPatternClause
;
FormattingHelpers.cs (2)
178
return token.Parent is ExpressionSyntax || token.Parent.IsKind(SyntaxKind.
PropertyPatternClause
);
343
=> token.Kind() == SyntaxKind.CommaToken && token.Parent.IsKind(SyntaxKind.
PropertyPatternClause
);
IndentBlockFormattingRule.cs (1)
221
if (node.IsLambdaBodyBlock() || node.IsAnonymousMethodBlock() || node.IsKind(SyntaxKind.
PropertyPatternClause
) || node.IsKind(SyntaxKind.SwitchExpression))
NewLineUserSettingFormattingRule.cs (2)
137
SyntaxKind.
PropertyPatternClause
)
324
currentToken.Parent.Kind() is SyntaxKind.ObjectInitializerExpression or SyntaxKind.CollectionInitializerExpression or SyntaxKind.WithInitializerExpression or SyntaxKind.
PropertyPatternClause
)
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
Semantics\PatternMatchingTests_ListPatterns.cs (1)
3679
.Where(p => p.IsKind(SyntaxKind.
PropertyPatternClause
));
Microsoft.CodeAnalysis.CSharp.Features (1)
BraceCompletion\CurlyBraceCompletionService.cs (1)
151
SyntaxKind.
PropertyPatternClause
))
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (51)
Parsing\FunctionPointerTests.cs (1)
2586
N(SyntaxKind.
PropertyPatternClause
);
Parsing\LambdaReturnTypeParsingTests.cs (1)
4299
N(SyntaxKind.
PropertyPatternClause
);
Parsing\PatternParsingTests.cs (32)
2108
N(SyntaxKind.
PropertyPatternClause
);
4446
N(SyntaxKind.
PropertyPatternClause
);
4552
N(SyntaxKind.
PropertyPatternClause
);
4620
N(SyntaxKind.
PropertyPatternClause
);
4684
N(SyntaxKind.
PropertyPatternClause
);
5009
N(SyntaxKind.
PropertyPatternClause
);
5111
N(SyntaxKind.
PropertyPatternClause
);
5175
N(SyntaxKind.
PropertyPatternClause
);
5235
N(SyntaxKind.
PropertyPatternClause
);
5694
N(SyntaxKind.
PropertyPatternClause
);
5899
N(SyntaxKind.
PropertyPatternClause
);
6009
N(SyntaxKind.
PropertyPatternClause
);
6046
N(SyntaxKind.
PropertyPatternClause
);
6082
N(SyntaxKind.
PropertyPatternClause
);
6123
N(SyntaxKind.
PropertyPatternClause
);
6173
N(SyntaxKind.
PropertyPatternClause
);
6223
N(SyntaxKind.
PropertyPatternClause
);
6253
N(SyntaxKind.
PropertyPatternClause
);
6274
N(SyntaxKind.
PropertyPatternClause
);
6328
N(SyntaxKind.
PropertyPatternClause
);
6825
N(SyntaxKind.
PropertyPatternClause
);
6871
N(SyntaxKind.
PropertyPatternClause
);
7075
N(SyntaxKind.
PropertyPatternClause
);
8204
N(SyntaxKind.
PropertyPatternClause
);
8271
N(SyntaxKind.
PropertyPatternClause
);
10776
N(SyntaxKind.
PropertyPatternClause
);
11311
N(SyntaxKind.
PropertyPatternClause
);
11320
N(SyntaxKind.
PropertyPatternClause
);
11365
N(SyntaxKind.
PropertyPatternClause
);
11939
N(SyntaxKind.
PropertyPatternClause
);
12760
N(SyntaxKind.
PropertyPatternClause
);
12767
N(SyntaxKind.
PropertyPatternClause
);
Parsing\PatternParsingTests_ListPatterns.cs (1)
222
N(SyntaxKind.
PropertyPatternClause
);
Parsing\PatternParsingTests2.cs (16)
66
N(SyntaxKind.
PropertyPatternClause
);
131
N(SyntaxKind.
PropertyPatternClause
);
138
N(SyntaxKind.
PropertyPatternClause
);
177
N(SyntaxKind.
PropertyPatternClause
);
234
N(SyntaxKind.
PropertyPatternClause
);
291
N(SyntaxKind.
PropertyPatternClause
);
345
N(SyntaxKind.
PropertyPatternClause
);
401
N(SyntaxKind.
PropertyPatternClause
);
457
N(SyntaxKind.
PropertyPatternClause
);
512
N(SyntaxKind.
PropertyPatternClause
);
568
N(SyntaxKind.
PropertyPatternClause
);
616
N(SyntaxKind.
PropertyPatternClause
);
662
N(SyntaxKind.
PropertyPatternClause
);
716
N(SyntaxKind.
PropertyPatternClause
);
787
N(SyntaxKind.
PropertyPatternClause
);
845
N(SyntaxKind.
PropertyPatternClause
);
Microsoft.CodeAnalysis.CSharp.Workspaces (7)
BaseFormattingRule.cs (1)
183
else if (node.IsKind(SyntaxKind.
PropertyPatternClause
))
CSharpSyntaxFacts.cs (1)
638
=> node.Kind() == SyntaxKind.
PropertyPatternClause
;
FormattingHelpers.cs (2)
178
return token.Parent is ExpressionSyntax || token.Parent.IsKind(SyntaxKind.
PropertyPatternClause
);
343
=> token.Kind() == SyntaxKind.CommaToken && token.Parent.IsKind(SyntaxKind.
PropertyPatternClause
);
IndentBlockFormattingRule.cs (1)
221
if (node.IsLambdaBodyBlock() || node.IsAnonymousMethodBlock() || node.IsKind(SyntaxKind.
PropertyPatternClause
) || node.IsKind(SyntaxKind.SwitchExpression))
NewLineUserSettingFormattingRule.cs (2)
137
SyntaxKind.
PropertyPatternClause
)
324
currentToken.Parent.Kind() is SyntaxKind.ObjectInitializerExpression or SyntaxKind.CollectionInitializerExpression or SyntaxKind.WithInitializerExpression or SyntaxKind.
PropertyPatternClause
)