2 instantiations of DeconstructionVariable
Microsoft.CodeAnalysis.CSharp (2)
Binder\RefSafetyAnalysis.cs (2)
830
? new
DeconstructionVariable
(expr, valEscape: uint.MaxValue, GetDeconstructionAssignmentVariables(tuple))
831
: new
DeconstructionVariable
(expr, GetValEscape(expr, _localScopeDepth), null);
8 references to DeconstructionVariable
Microsoft.CodeAnalysis.CSharp (8)
Binder\RefSafetyAnalysis.cs (8)
734
private void VisitDeconstructionArguments(ArrayBuilder<
DeconstructionVariable
> variables, SyntaxNode syntax, Conversion conversion, BoundExpression right)
768
var
variable = variables[i];
792
var
variable = variables[i];
807
internal readonly ArrayBuilder<
DeconstructionVariable
>? NestedVariables;
809
internal DeconstructionVariable(BoundExpression expression, uint valEscape, ArrayBuilder<
DeconstructionVariable
>? nestedVariables)
817
private ArrayBuilder<
DeconstructionVariable
> GetDeconstructionAssignmentVariables(BoundTupleExpression tuple)
820
var builder = ArrayBuilder<
DeconstructionVariable
>.GetInstance(arguments.Length);
827
DeconstructionVariable
getDeconstructionAssignmentVariable(BoundExpression expr)