56 references to RelationalPattern
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SpacingFormattingRule.cs (2)
331currentToken.Parent.Kind() is SyntaxKind.AndPattern or SyntaxKind.OrPattern or SyntaxKind.RelationalPattern || 332previousToken.Parent.Kind() is SyntaxKind.AndPattern or SyntaxKind.OrPattern or SyntaxKind.RelationalPattern)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
128public int? RelationalPattern => (int)SyntaxKind.RelationalPattern;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
1448leftToken.Parent.IsKind(SyntaxKind.RelationalPattern))
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (12)
Semantics\PatternMatchingTests3.cs (12)
4219Assert.Equal(SyntaxKind.RelationalPattern, pattern.Kind()); 4226Assert.Equal(SyntaxKind.RelationalPattern, pattern.Kind()); 4245Assert.Equal(SyntaxKind.RelationalPattern, pattern.Kind()); 4252Assert.Equal(SyntaxKind.RelationalPattern, pattern.Kind()); 4277Assert.Equal(SyntaxKind.RelationalPattern, pattern.Kind()); 4284Assert.Equal(SyntaxKind.RelationalPattern, pattern.Kind()); 4453Assert.Equal(SyntaxKind.RelationalPattern, pattern.Kind()); 4460Assert.Equal(SyntaxKind.RelationalPattern, pattern.Kind()); 4479Assert.Equal(SyntaxKind.RelationalPattern, pattern.Kind()); 4486Assert.Equal(SyntaxKind.RelationalPattern, pattern.Kind()); 4511Assert.Equal(SyntaxKind.RelationalPattern, pattern.Kind()); 4518Assert.Equal(SyntaxKind.RelationalPattern, pattern.Kind());
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (36)
Parsing\LambdaParameterParsingTests.cs (2)
3677N(SyntaxKind.RelationalPattern); 3714N(SyntaxKind.RelationalPattern);
Parsing\PatternParsingTests.cs (31)
8706N(SyntaxKind.RelationalPattern); 8723N(SyntaxKind.RelationalPattern); 8740N(SyntaxKind.RelationalPattern); 8757N(SyntaxKind.RelationalPattern); 8774N(SyntaxKind.RelationalPattern); 8791N(SyntaxKind.RelationalPattern); 8880N(SyntaxKind.RelationalPattern); 8921N(SyntaxKind.RelationalPattern); 8962N(SyntaxKind.RelationalPattern); 9039N(SyntaxKind.RelationalPattern); 9064N(SyntaxKind.RelationalPattern); 9089N(SyntaxKind.RelationalPattern); 9143N(SyntaxKind.RelationalPattern); 9183N(SyntaxKind.RelationalPattern); 9227N(SyntaxKind.RelationalPattern); 9853N(SyntaxKind.RelationalPattern); 9862N(SyntaxKind.RelationalPattern); 9874N(SyntaxKind.RelationalPattern); 9883N(SyntaxKind.RelationalPattern); 9972N(SyntaxKind.RelationalPattern); 11110N(SyntaxKind.RelationalPattern); 11167N(SyntaxKind.RelationalPattern); 11231N(SyntaxKind.RelationalPattern); 11381N(SyntaxKind.RelationalPattern); 11427N(SyntaxKind.RelationalPattern); 11495N(SyntaxKind.RelationalPattern); 11504N(SyntaxKind.RelationalPattern); 11521N(SyntaxKind.RelationalPattern); 11530N(SyntaxKind.RelationalPattern); 11579N(SyntaxKind.RelationalPattern); 11591N(SyntaxKind.RelationalPattern);
Parsing\PatternParsingTests_ListPatterns.cs (2)
364N(SyntaxKind.RelationalPattern); 1087N(SyntaxKind.RelationalPattern);
Parsing\PatternParsingTests2.cs (1)
622N(SyntaxKind.RelationalPattern);
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SpacingFormattingRule.cs (2)
331currentToken.Parent.Kind() is SyntaxKind.AndPattern or SyntaxKind.OrPattern or SyntaxKind.RelationalPattern || 332previousToken.Parent.Kind() is SyntaxKind.AndPattern or SyntaxKind.OrPattern or SyntaxKind.RelationalPattern)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
128public int? RelationalPattern => (int)SyntaxKind.RelationalPattern;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
1448leftToken.Parent.IsKind(SyntaxKind.RelationalPattern))