2 instantiations of BoundDup
Microsoft.CodeAnalysis.CSharp (2)
CodeGen\Optimizer.cs (1)
2134return new BoundDup(node.Syntax, node.LocalSymbol.RefKind, node.Type);
Generated\BoundNodes.xml.Generated.cs (1)
942var result = new BoundDup(this.Syntax, refKind, type, this.HasErrors);
20 references to BoundDup
Microsoft.CodeAnalysis.CSharp (20)
CodeGen\CodeGenerator_HasHome.cs (1)
104var dupRefKind = ((BoundDup)expression).RefKind;
CodeGen\EmitAddress.cs (3)
36Debug.Assert(((BoundDup)expression).RefKind != RefKind.None, "taking address of a stack value?"); 37return EmitDupAddress((BoundDup)expression, addressKind); 296private LocalDefinition EmitDupAddress(BoundDup dup, AddressKind addressKind)
CodeGen\EmitExpression.cs (6)
135EmitDupExpression((BoundDup)expression, used); 777private void EmitDupExpression(BoundDup expression, bool used) 2226return ((BoundDup)receiver).RefKind != RefKind.None; 2883var left = (BoundDup)assignmentTarget; 3110Debug.Assert(((BoundDup)expression).RefKind != RefKind.None);
Generated\BoundNodes.xml.Generated.cs (10)
938public BoundDup Update(RefKind refKind, TypeSymbol? type) 942var result = new BoundDup(this.Syntax, refKind, type, this.HasErrors); 8904return VisitDup((BoundDup)node, arg); 9358public virtual R VisitDup(BoundDup node, A arg) => this.DefaultVisit(node, arg); 9594public virtual BoundNode? VisitDup(BoundDup node) => this.DefaultVisit(node); 9850public override BoundNode? VisitDup(BoundDup node) => null; 10922public override BoundNode? VisitDup(BoundDup node) 12455public override BoundNode? VisitDup(BoundDup node) 12462BoundDup updatedNode = node.Update(node.RefKind, infoAndType.Type); 15128public override TreeDumperNode VisitDup(BoundDup node, object? arg) => new TreeDumperNode("dup", null, new TreeDumperNode[]