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