2 instantiations of DeconstructionVariable
Microsoft.CodeAnalysis.CSharp (2)
Binder\RefSafetyAnalysis.cs (2)
1211
? new
DeconstructionVariable
(expr, valEscape: SafeContext.Empty, GetDeconstructionAssignmentVariables(tuple))
1212
: new
DeconstructionVariable
(expr, GetValEscape(expr, _localScopeDepth), null);
8 references to DeconstructionVariable
Microsoft.CodeAnalysis.CSharp (8)
Binder\RefSafetyAnalysis.cs (8)
1106
private void VisitDeconstructionArguments(ArrayBuilder<
DeconstructionVariable
> variables, SyntaxNode syntax, Conversion conversion, BoundExpression right)
1142
var
variable = variables[i];
1173
var
variable = variables[i];
1188
internal readonly ArrayBuilder<
DeconstructionVariable
>? NestedVariables;
1190
internal DeconstructionVariable(BoundExpression expression, SafeContext valEscape, ArrayBuilder<
DeconstructionVariable
>? nestedVariables)
1198
private ArrayBuilder<
DeconstructionVariable
> GetDeconstructionAssignmentVariables(BoundTupleExpression tuple)
1201
var builder = ArrayBuilder<
DeconstructionVariable
>.GetInstance(arguments.Length);
1208
DeconstructionVariable
getDeconstructionAssignmentVariable(BoundExpression expr)