1 instantiation of BoundSlicePattern
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8245
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)
8241
public
BoundSlicePattern
Update(BoundPattern? pattern, BoundExpression? indexerAccess, BoundSlicePatternReceiverPlaceholder? receiverPlaceholder, BoundSlicePatternRangePlaceholder? argumentPlaceholder, TypeSymbol inputType, TypeSymbol narrowedType)
8245
var
result = new BoundSlicePattern(this.Syntax, pattern, indexerAccess, receiverPlaceholder, argumentPlaceholder, inputType, narrowedType, this.HasErrors);
9261
return VisitSlicePattern((
BoundSlicePattern
)node, arg);
9518
public virtual R VisitSlicePattern(
BoundSlicePattern
node, A arg) => this.DefaultVisit(node, arg);
9754
public virtual BoundNode? VisitSlicePattern(
BoundSlicePattern
node) => this.DefaultVisit(node);
10707
public override BoundNode? VisitSlicePattern(
BoundSlicePattern
node)
12096
public override BoundNode? VisitSlicePattern(
BoundSlicePattern
node)
14762
public override BoundNode? VisitSlicePattern(
BoundSlicePattern
node)
16963
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)