1 write to Subpatterns
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8227this.Subpatterns = subpatterns;
18 references to Subpatterns
Microsoft.CodeAnalysis.CSharp (18)
Binder\DecisionDagBuilder_CheckOrReachability.cs (4)
1286ImmutableArray<BoundPattern> equivalentDefaultPatterns = listPattern.Subpatterns.SelectAsArray(makeEquivalentDefaultPattern); 1326var slice = (BoundSlicePattern)listPattern.Subpatterns[i]; 1352if (listPattern.Subpatterns[i] is BoundSlicePattern slicePattern) 1367VisitPatternAndCombine(listPattern.Syntax, listPattern.Subpatterns[i], startOfLeft);
Binder\DecisionDagBuilder_ListPatterns.cs (2)
19list.Subpatterns.Count(p => p.Kind == BoundKind.SlicePattern) == (list.HasSlice ? 1 : 0) && 23var subpatterns = list.Subpatterns;
BoundTree\BoundNode_Source.cs (2)
373for (int i = 0; i < listPattern.Subpatterns.Length; i++) 376appendSource(listPattern.Subpatterns[i]);
FlowAnalysis\DefiniteAssignment.cs (1)
2028foreach (BoundPattern p in pat.Subpatterns)
FlowAnalysis\NullableWalker.DebugVerifier.cs (1)
352VisitList(node.Subpatterns);
FlowAnalysis\NullableWalker_Patterns.cs (1)
89VisitAndUnsplitAll(node.Subpatterns);
FlowAnalysis\VariablesDeclaredWalker.cs (1)
94foreach (var elementPattern in listPattern.Subpatterns)
Generated\BoundNodes.xml.Generated.cs (5)
8251if (subpatterns != this.Subpatterns || hasSlice != this.HasSlice || lengthAccess != this.LengthAccess || indexerAccess != this.IndexerAccess || receiverPlaceholder != this.ReceiverPlaceholder || argumentPlaceholder != this.ArgumentPlaceholder || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(variable, this.Variable) || variableAccess != this.VariableAccess || !TypeSymbol.Equals(inputType, this.InputType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything)) 10771this.VisitList(node.Subpatterns); 12296ImmutableArray<BoundPattern> subpatterns = this.VisitList(node.Subpatterns); 14962ImmutableArray<BoundPattern> subpatterns = this.VisitList(node.Subpatterns); 17152new TreeDumperNode("subpatterns", null, from x in node.Subpatterns select Visit(x, null)),
Operations\CSharpOperationFactory.cs (1)
2614patterns: boundNode.Subpatterns.SelectAsArray((p, fac) => (IPatternOperation)fac.Create(p), this),