2 instantiations of DeconstructionVariable
Microsoft.CodeAnalysis.CSharp (2)
Binder\RefSafetyAnalysis.cs (2)
1234
? new
DeconstructionVariable
(expr, valEscape: SafeContext.Empty, GetDeconstructionAssignmentVariables(tuple))
1235
: new
DeconstructionVariable
(expr, GetValEscape(expr), null);
8 references to DeconstructionVariable
Microsoft.CodeAnalysis.CSharp (8)
Binder\RefSafetyAnalysis.cs (8)
1130
private void VisitDeconstructionArguments(ArrayBuilder<
DeconstructionVariable
> variables, SyntaxNode syntax, Conversion conversion, BoundExpression right)
1166
var
variable = variables[i];
1196
var
variable = variables[i];
1211
internal readonly ArrayBuilder<
DeconstructionVariable
>? NestedVariables;
1213
internal DeconstructionVariable(BoundExpression expression, SafeContext valEscape, ArrayBuilder<
DeconstructionVariable
>? nestedVariables)
1221
private ArrayBuilder<
DeconstructionVariable
> GetDeconstructionAssignmentVariables(BoundTupleExpression tuple)
1224
var builder = ArrayBuilder<
DeconstructionVariable
>.GetInstance(arguments.Length);
1231
DeconstructionVariable
getDeconstructionAssignmentVariable(BoundExpression expr)