30 references to SlicePattern
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SpacingFormattingRule.cs (1)
465if (previousKind == SyntaxKind.DotDotToken && previousParentKind == SyntaxKind.SlicePattern)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
1412if (leftToken.IsKind(SyntaxKind.DotDotToken) && leftToken.Parent.IsKind(SyntaxKind.SlicePattern))
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (26)
Parsing\PatternParsingTests_ListPatterns.cs (26)
463N(SyntaxKind.SlicePattern); 489N(SyntaxKind.SlicePattern); 519N(SyntaxKind.SlicePattern); 542N(SyntaxKind.SlicePattern); 545N(SyntaxKind.SlicePattern); 569N(SyntaxKind.SlicePattern); 599N(SyntaxKind.SlicePattern); 635N(SyntaxKind.SlicePattern); 678N(SyntaxKind.SlicePattern); 691N(SyntaxKind.SlicePattern); 722N(SyntaxKind.SlicePattern); 750N(SyntaxKind.SlicePattern); 792N(SyntaxKind.SlicePattern); 857N(SyntaxKind.SlicePattern); 931N(SyntaxKind.SlicePattern); 960N(SyntaxKind.SlicePattern); 1084N(SyntaxKind.SlicePattern); 1117N(SyntaxKind.SlicePattern); 1153N(SyntaxKind.SlicePattern); 1193N(SyntaxKind.SlicePattern); 1244N(SyntaxKind.SlicePattern); 1295N(SyntaxKind.SlicePattern); 1358N(SyntaxKind.SlicePattern); 1421N(SyntaxKind.SlicePattern); 1488N(SyntaxKind.SlicePattern); 1555N(SyntaxKind.SlicePattern);
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SpacingFormattingRule.cs (1)
465if (previousKind == SyntaxKind.DotDotToken && previousParentKind == SyntaxKind.SlicePattern)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
1412if (leftToken.IsKind(SyntaxKind.DotDotToken) && leftToken.Parent.IsKind(SyntaxKind.SlicePattern))