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