2 writes to NestedVariables
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Deconstruct.cs (2)
441NestedVariables = null; 448NestedVariables = variables;
19 references to NestedVariables
Microsoft.CodeAnalysis.CSharp (19)
Binder\Binder_Deconstruct.cs (15)
96Debug.Assert(locals.NestedVariables is object); 101boundRight = FixTupleLiteral(locals.NestedVariables, boundRight, deconstruction, deconstructionDiagnostics); 105var assignment = BindDeconstructionAssignment(deconstruction, left, boundRight, locals.NestedVariables, resultIsUsed, deconstructionDiagnostics); 106DeconstructionVariable.FreeDeconstructionVariables(locals.NestedVariables); 302if (variable.NestedVariables is object) 307variable.NestedVariables, out nestedConversion); 399if (variable.NestedVariables is object) 401FailRemainingInferences(variable.NestedVariables, diagnostics); 454variables.FreeAll(v => v.NestedVariables); 463Debug.Assert(NestedVariables is object); 464return $"Nested variables ({NestedVariables.Count})"; 488if (variable.NestedVariables is object) 493mergedType = MakeMergedTupleType(variable.NestedVariables, (BoundTupleLiteral)element, syntax, diagnostics); 559if (variable.NestedVariables is object) 561value = DeconstructionVariablesAsTuple(variable.Syntax, variable.NestedVariables, diagnostics, ignoreDiagnosticsFromTuple);
Lowering\LocalRewriter\LocalRewriter_DeconstructionAssignmentOperator.cs (4)
162Debug.Assert(target is { Single: not null, NestedVariables: null } or { Single: null, NestedVariables: not null }); 192else if (!canReorderTargetAssignments(target.NestedVariables!, ref visitedSymbols)) 234if (leftTargets[i].NestedVariables is { } nested)