1 write to Deconstruction
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8144this.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)
2021if (!pat.Deconstruction.IsDefaultOrEmpty) 2023foreach (var subpat in pat.Deconstruction)
FlowAnalysis\NullableWalker_Patterns.cs (4)
57VisitAndUnsplitAll(node.Deconstruction); 196if (rp.DeconstructMethod is null && !rp.Deconstruction.IsDefault) 199for (int i = 0, n = Math.Min(rp.Deconstruction.Length, elements.IsDefault ? 0 : elements.Length); i < n; i++) 201BoundSubpattern item = rp.Deconstruction[i];
Generated\BoundNodes.xml.Generated.cs (6)
8160if (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)) 10696this.VisitList(node.Deconstruction); 12077ImmutableArray<BoundPositionalSubpattern> deconstruction = this.VisitList(node.Deconstruction); 14742ImmutableArray<BoundPositionalSubpattern> deconstruction = this.VisitList(node.Deconstruction); 16938new TreeDumperNode("deconstruction", null, node.Deconstruction.IsDefault ? Array.Empty<TreeDumperNode>() : from x in node.Deconstruction select Visit(x, null)),
Operations\CSharpOperationFactory.cs (1)
2556ImmutableArray<IPatternOperation> deconstructionSubpatterns = boundRecursivePattern.Deconstruction is { IsDefault: false } deconstructions