2 instantiations of DeconstructionVariable
Microsoft.CodeAnalysis.CSharp (2)
Binder\RefSafetyAnalysis.cs (2)
1082
? new
DeconstructionVariable
(expr, valEscape: SafeContext.Empty, GetDeconstructionAssignmentVariables(tuple))
1083
: new
DeconstructionVariable
(expr, GetValEscape(expr, _localScopeDepth), null);
8 references to DeconstructionVariable
Microsoft.CodeAnalysis.CSharp (8)
Binder\RefSafetyAnalysis.cs (8)
985
private void VisitDeconstructionArguments(ArrayBuilder<
DeconstructionVariable
> variables, SyntaxNode syntax, Conversion conversion, BoundExpression right)
1019
var
variable = variables[i];
1044
var
variable = variables[i];
1059
internal readonly ArrayBuilder<
DeconstructionVariable
>? NestedVariables;
1061
internal DeconstructionVariable(BoundExpression expression, SafeContext valEscape, ArrayBuilder<
DeconstructionVariable
>? nestedVariables)
1069
private ArrayBuilder<
DeconstructionVariable
> GetDeconstructionAssignmentVariables(BoundTupleExpression tuple)
1072
var builder = ArrayBuilder<
DeconstructionVariable
>.GetInstance(arguments.Length);
1079
DeconstructionVariable
getDeconstructionAssignmentVariable(BoundExpression expr)