2 writes to Single
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Deconstruct.cs (2)
438
Single
= variable;
445
Single
= null;
19 references to Single
Microsoft.CodeAnalysis.CSharp (19)
Binder\Binder_Deconstruct.cs (15)
319
var single = variable.
Single
;
355
if (variable.
Single
is { } pending)
403
Debug.Assert(variable.
Single
is object);
404
switch (variable.
Single
.Kind)
407
BoundExpression errorLocal = ((DeconstructionVariablePendingInference)variable.
Single
).FailInference(this, diagnostics);
411
var pending = (BoundDiscardExpression)variable.
Single
;
421
Debug.Assert((object?)variables[i].
Single
!.Type != null);
457
if (
Single
!= null)
459
return
Single
.GetDebuggerDisplay();
501
Debug.Assert(variable.
Single
is object);
502
if ((object?)variable.
Single
.Type != null)
505
mergedType = variable.
Single
.Type;
564
Debug.Assert(variable.
Single
is object);
565
value = variable.
Single
;
638
var variableOpt = variablesOpt?[i].
Single
;
Lowering\LocalRewriter\LocalRewriter_DeconstructionAssignmentOperator.cs (4)
162
Debug.Assert(target is {
Single
: not null, NestedVariables: null } or {
Single
: null, NestedVariables: not null });
163
if (target.
Single
is { } single)
246
BoundExpression? leftTarget = leftTargets[i].
Single
;