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