2 writes to NestedVariables
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Deconstruct.cs (2)
439NestedVariables = null; 446NestedVariables = 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); 301if (variable.NestedVariables is object) 306variable.NestedVariables, out nestedConversion); 397if (variable.NestedVariables is object) 399FailRemainingInferences(variable.NestedVariables, diagnostics); 452variables.FreeAll(v => v.NestedVariables); 461Debug.Assert(NestedVariables is object); 462return $"Nested variables ({NestedVariables.Count})"; 486if (variable.NestedVariables is object) 491mergedType = MakeMergedTupleType(variable.NestedVariables, (BoundTupleLiteral)element, syntax, diagnostics); 557if (variable.NestedVariables is object) 559value = 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)