1 instantiation of BoundSlicePattern
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8246var 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)
8242public BoundSlicePattern Update(BoundPattern? pattern, BoundExpression? indexerAccess, BoundSlicePatternReceiverPlaceholder? receiverPlaceholder, BoundSlicePatternRangePlaceholder? argumentPlaceholder, TypeSymbol inputType, TypeSymbol narrowedType) 8246var result = new BoundSlicePattern(this.Syntax, pattern, indexerAccess, receiverPlaceholder, argumentPlaceholder, inputType, narrowedType, this.HasErrors); 9262return VisitSlicePattern((BoundSlicePattern)node, arg); 9519public virtual R VisitSlicePattern(BoundSlicePattern node, A arg) => this.DefaultVisit(node, arg); 9755public virtual BoundNode? VisitSlicePattern(BoundSlicePattern node) => this.DefaultVisit(node); 10708public override BoundNode? VisitSlicePattern(BoundSlicePattern node) 12097public override BoundNode? VisitSlicePattern(BoundSlicePattern node) 14763public override BoundNode? VisitSlicePattern(BoundSlicePattern node) 16964public 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)