2 instantiations of DeconstructionVariable
Microsoft.CodeAnalysis.CSharp (2)
Binder\RefSafetyAnalysis.cs (2)
1083
? new
DeconstructionVariable
(expr, valEscape: SafeContext.Empty, GetDeconstructionAssignmentVariables(tuple))
1084
: new
DeconstructionVariable
(expr, GetValEscape(expr, _localScopeDepth), null);
8 references to DeconstructionVariable
Microsoft.CodeAnalysis.CSharp (8)
Binder\RefSafetyAnalysis.cs (8)
986
private void VisitDeconstructionArguments(ArrayBuilder<
DeconstructionVariable
> variables, SyntaxNode syntax, Conversion conversion, BoundExpression right)
1020
var
variable = variables[i];
1045
var
variable = variables[i];
1060
internal readonly ArrayBuilder<
DeconstructionVariable
>? NestedVariables;
1062
internal DeconstructionVariable(BoundExpression expression, SafeContext valEscape, ArrayBuilder<
DeconstructionVariable
>? nestedVariables)
1070
private ArrayBuilder<
DeconstructionVariable
> GetDeconstructionAssignmentVariables(BoundTupleExpression tuple)
1073
var builder = ArrayBuilder<
DeconstructionVariable
>.GetInstance(arguments.Length);
1080
DeconstructionVariable
getDeconstructionAssignmentVariable(BoundExpression expr)