1 write to Deconstruction
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8142this.Deconstruction = deconstruction;
18 references to Deconstruction
Microsoft.CodeAnalysis.CSharp (18)
Binder\DecisionDagBuilder.cs (5)
527if (!recursive.Deconstruction.IsDefault) 536int count = Math.Min(method.ParameterCount - extensionExtra, recursive.Deconstruction.Length); 539BoundPattern pattern = recursive.Deconstruction[i].Pattern; 557int count = Math.Min(elementTypes.Length, recursive.Deconstruction.Length); 560BoundPattern pattern = recursive.Deconstruction[i].Pattern;
FlowAnalysis\DefiniteAssignment.cs (2)
2001if (!pat.Deconstruction.IsDefaultOrEmpty) 2003foreach (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)
8158if (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)) 10694this.VisitList(node.Deconstruction); 12075ImmutableArray<BoundPositionalSubpattern> deconstruction = this.VisitList(node.Deconstruction); 14740ImmutableArray<BoundPositionalSubpattern> deconstruction = this.VisitList(node.Deconstruction); 16935new TreeDumperNode("deconstruction", null, node.Deconstruction.IsDefault ? Array.Empty<TreeDumperNode>() : from x in node.Deconstruction select Visit(x, null)),
Operations\CSharpOperationFactory.cs (1)
2521ImmutableArray<IPatternOperation> deconstructionSubpatterns = boundRecursivePattern.Deconstruction is { IsDefault: false } deconstructions