2 instantiations of DeconstructionVariable
Microsoft.CodeAnalysis.CSharp (2)
Binder\RefSafetyAnalysis.cs (2)
1262
? new
DeconstructionVariable
(expr, valEscape: SafeContext.Empty, GetDeconstructionAssignmentVariables(tuple))
1263
: new
DeconstructionVariable
(expr, GetValEscape(expr), null);
8 references to DeconstructionVariable
Microsoft.CodeAnalysis.CSharp (8)
Binder\RefSafetyAnalysis.cs (8)
1158
private void VisitDeconstructionArguments(ArrayBuilder<
DeconstructionVariable
> variables, SyntaxNode syntax, Conversion conversion, BoundExpression right)
1194
var
variable = variables[i];
1224
var
variable = variables[i];
1239
internal readonly ArrayBuilder<
DeconstructionVariable
>? NestedVariables;
1241
internal DeconstructionVariable(BoundExpression expression, SafeContext valEscape, ArrayBuilder<
DeconstructionVariable
>? nestedVariables)
1249
private ArrayBuilder<
DeconstructionVariable
> GetDeconstructionAssignmentVariables(BoundTupleExpression tuple)
1252
var builder = ArrayBuilder<
DeconstructionVariable
>.GetInstance(arguments.Length);
1259
DeconstructionVariable
getDeconstructionAssignmentVariable(BoundExpression expr)