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