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