1 write to Deconstruction
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7826this.Deconstruction = deconstruction;
18 references to Deconstruction
Microsoft.CodeAnalysis.CSharp (18)
Binder\DecisionDagBuilder.cs (5)
524if (!recursive.Deconstruction.IsDefault) 533int count = Math.Min(method.ParameterCount - extensionExtra, recursive.Deconstruction.Length); 536BoundPattern pattern = recursive.Deconstruction[i].Pattern; 554int count = Math.Min(elementTypes.Length, recursive.Deconstruction.Length); 557BoundPattern pattern = recursive.Deconstruction[i].Pattern;
FlowAnalysis\DefiniteAssignment.cs (2)
1895if (!pat.Deconstruction.IsDefaultOrEmpty) 1897foreach (var subpat in pat.Deconstruction)
FlowAnalysis\NullableWalker_Patterns.cs (4)
57VisitAndUnsplitAll(node.Deconstruction); 174if (rp.DeconstructMethod is null && !rp.Deconstruction.IsDefault) 177for (int i = 0, n = Math.Min(rp.Deconstruction.Length, elements.IsDefault ? 0 : elements.Length); i < n; i++) 179BoundSubpattern item = rp.Deconstruction[i];
Generated\BoundNodes.xml.Generated.cs (6)
7842if (declaredType != this.DeclaredType || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(deconstructMethod, this.DeconstructMethod) || deconstruction != this.Deconstruction || properties != this.Properties || isExplicitNotNullTest != this.IsExplicitNotNullTest || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(variable, this.Variable) || variableAccess != this.VariableAccess || !TypeSymbol.Equals(inputType, this.InputType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything)) 10317this.VisitList(node.Deconstruction); 11643ImmutableArray<BoundPositionalSubpattern> deconstruction = this.VisitList(node.Deconstruction); 14205ImmutableArray<BoundPositionalSubpattern> deconstruction = this.VisitList(node.Deconstruction); 16318new TreeDumperNode("deconstruction", null, node.Deconstruction.IsDefault ? Array.Empty<TreeDumperNode>() : from x in node.Deconstruction select Visit(x, null)),
Operations\CSharpOperationFactory.cs (1)
2439ImmutableArray<IPatternOperation> deconstructionSubpatterns = boundRecursivePattern.Deconstruction is { IsDefault: false } deconstructions