1 instantiation of BoundSlicePattern
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8246
var result = new
BoundSlicePattern
(this.Syntax, pattern, indexerAccess, receiverPlaceholder, argumentPlaceholder, inputType, narrowedType, this.HasErrors);
22 references to BoundSlicePattern
Microsoft.CodeAnalysis.CSharp (22)
Binder\DecisionDagBuilder.cs (1)
295
case
BoundSlicePattern
:
Binder\DecisionDagBuilder_ListPatterns.cs (2)
32
subpatterns[0] is
BoundSlicePattern
{ Pattern: null })
51
if (subpattern is
BoundSlicePattern
slice)
FlowAnalysis\AbstractFlowPass.cs (3)
929
BoundDeclarationPattern or BoundDiscardPattern or BoundListPattern or
BoundSlicePattern
);
991
case
BoundSlicePattern
: // Only occurs in error cases
1073
case
BoundSlicePattern
: // Only occurs in error cases
FlowAnalysis\DefiniteAssignment.cs (2)
2005
var
pat = (
BoundSlicePattern
)pattern;
FlowAnalysis\NullableWalker.DebugVerifier.cs (1)
359
public override BoundNode? VisitSlicePattern(
BoundSlicePattern
node)
FlowAnalysis\NullableWalker_Patterns.cs (2)
81
public override BoundNode VisitSlicePattern(
BoundSlicePattern
node)
179
case
BoundSlicePattern
_:
Generated\BoundNodes.xml.Generated.cs (9)
8242
public
BoundSlicePattern
Update(BoundPattern? pattern, BoundExpression? indexerAccess, BoundSlicePatternReceiverPlaceholder? receiverPlaceholder, BoundSlicePatternRangePlaceholder? argumentPlaceholder, TypeSymbol inputType, TypeSymbol narrowedType)
8246
var
result = new BoundSlicePattern(this.Syntax, pattern, indexerAccess, receiverPlaceholder, argumentPlaceholder, inputType, narrowedType, this.HasErrors);
9262
return VisitSlicePattern((
BoundSlicePattern
)node, arg);
9519
public virtual R VisitSlicePattern(
BoundSlicePattern
node, A arg) => this.DefaultVisit(node, arg);
9755
public virtual BoundNode? VisitSlicePattern(
BoundSlicePattern
node) => this.DefaultVisit(node);
10708
public override BoundNode? VisitSlicePattern(
BoundSlicePattern
node)
12097
public override BoundNode? VisitSlicePattern(
BoundSlicePattern
node)
14763
public override BoundNode? VisitSlicePattern(
BoundSlicePattern
node)
16964
public override TreeDumperNode VisitSlicePattern(
BoundSlicePattern
node, object? arg) => new TreeDumperNode("slicePattern", null, new TreeDumperNode[]
Operations\CSharpOperationFactory.cs (2)
243
return CreateBoundSlicePatternOperation((
BoundSlicePattern
)boundNode);
2605
private IOperation CreateBoundSlicePatternOperation(
BoundSlicePattern
boundNode)