1 write to HasSlice
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8389
this.
HasSlice
= hasSlice;
11 references to HasSlice
Microsoft.CodeAnalysis.CSharp (11)
Binder\DecisionDagBuilder_CheckOrReachability.cs (1)
1304
bool hasSlice = listPattern.
HasSlice
;
Binder\DecisionDagBuilder_ListPatterns.cs (3)
21
list.Subpatterns.Count(p => p.Kind == BoundKind.SlicePattern) == (list.
HasSlice
? 1 : 0) &&
34
else if (list.
HasSlice
&&
49
tests.Add(new Tests.One(list.
HasSlice
Binder\UnionMatchingRewriter.cs (2)
137
node.Update(subpatterns, node.
HasSlice
, lengthAccess, indexerAccess, receiverPlaceholder, argumentPlaceholder, variable, variableAccess,
141
return node.Update(subpatterns, node.
HasSlice
, lengthAccess, indexerAccess, receiverPlaceholder, argumentPlaceholder, variable, variableAccess, isUnionMatching: false, inputType, narrowedType);
BoundTree\BoundListPattern.cs (1)
16
return Update(subpatterns, this.
HasSlice
, this.LengthAccess, this.IndexerAccess, this.ReceiverPlaceholder, this.ArgumentPlaceholder, this.Variable, this.VariableAccess, this.IsUnionMatching, this.InputType, this.NarrowedType);
Generated\BoundNodes.xml.Generated.cs (4)
8412
if (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 || isUnionMatching != this.IsUnionMatching || !TypeSymbol.Equals(inputType, this.InputType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything))
12572
return node.Update(subpatterns, node.
HasSlice
, lengthAccess, indexerAccess, receiverPlaceholder, argumentPlaceholder, variable, variableAccess, node.IsUnionMatching, inputType, narrowedType);
15265
return node.Update(subpatterns, node.
HasSlice
, lengthAccess, indexerAccess, receiverPlaceholder, argumentPlaceholder, variable, variableAccess, node.IsUnionMatching, inputType, narrowedType);
17508
new TreeDumperNode("hasSlice", node.
HasSlice
, null),