1 instantiation of BoundSlicePattern
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8245var 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)
295case BoundSlicePattern:
Binder\DecisionDagBuilder_ListPatterns.cs (2)
32subpatterns[0] is BoundSlicePattern { Pattern: null }) 51if (subpattern is BoundSlicePattern slice)
FlowAnalysis\AbstractFlowPass.cs (3)
929BoundDeclarationPattern or BoundDiscardPattern or BoundListPattern or BoundSlicePattern); 991case BoundSlicePattern: // Only occurs in error cases 1073case BoundSlicePattern: // Only occurs in error cases
FlowAnalysis\DefiniteAssignment.cs (2)
2005var pat = (BoundSlicePattern)pattern;
FlowAnalysis\NullableWalker.DebugVerifier.cs (1)
359public override BoundNode? VisitSlicePattern(BoundSlicePattern node)
FlowAnalysis\NullableWalker_Patterns.cs (2)
81public override BoundNode VisitSlicePattern(BoundSlicePattern node) 179case BoundSlicePattern _:
Generated\BoundNodes.xml.Generated.cs (9)
8241public BoundSlicePattern Update(BoundPattern? pattern, BoundExpression? indexerAccess, BoundSlicePatternReceiverPlaceholder? receiverPlaceholder, BoundSlicePatternRangePlaceholder? argumentPlaceholder, TypeSymbol inputType, TypeSymbol narrowedType) 8245var result = new BoundSlicePattern(this.Syntax, pattern, indexerAccess, receiverPlaceholder, argumentPlaceholder, inputType, narrowedType, this.HasErrors); 9261return VisitSlicePattern((BoundSlicePattern)node, arg); 9518public virtual R VisitSlicePattern(BoundSlicePattern node, A arg) => this.DefaultVisit(node, arg); 9754public virtual BoundNode? VisitSlicePattern(BoundSlicePattern node) => this.DefaultVisit(node); 10707public override BoundNode? VisitSlicePattern(BoundSlicePattern node) 12096public override BoundNode? VisitSlicePattern(BoundSlicePattern node) 14762public override BoundNode? VisitSlicePattern(BoundSlicePattern node) 16963public override TreeDumperNode VisitSlicePattern(BoundSlicePattern node, object? arg) => new TreeDumperNode("slicePattern", null, new TreeDumperNode[]
Operations\CSharpOperationFactory.cs (2)
243return CreateBoundSlicePatternOperation((BoundSlicePattern)boundNode); 2605private IOperation CreateBoundSlicePatternOperation(BoundSlicePattern boundNode)