2 instantiations of BoundNewT
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Expressions.cs (1)
7291return new BoundNewT(node, boundInitializerOpt, wasTargetTyped, typeParameter);
Generated\BoundNodes.xml.Generated.cs (1)
7209var result = new BoundNewT(this.Syntax, initializerExpressionOpt, wasTargetTyped, type, this.HasErrors);
25 references to BoundNewT
Microsoft.CodeAnalysis.CSharp (25)
Binder\Binder.ValueChecks.cs (4)
4568var newT = (BoundNewT)expr; 5288var newT = (BoundNewT)expr;
Binder\RefSafetyAnalysis.cs (1)
949public override BoundNode? VisitNewT(BoundNewT node)
BoundTree\BoundCollectionExpression.cs (2)
44/// <item>a <see cref="BoundNewT"/> (when targeting a type parameter with the <c>new()</c> constraint,</item> 59or BoundNewT
FlowAnalysis\AbstractFlowPass.cs (1)
2157public override BoundNode VisitNewT(BoundNewT node)
FlowAnalysis\NullableWalker.cs (1)
13316public override BoundNode? VisitNewT(BoundNewT node)
Generated\BoundNodes.xml.Generated.cs (10)
7205public BoundNewT Update(BoundObjectInitializerExpressionBase? initializerExpressionOpt, bool wasTargetTyped, TypeSymbol type) 7209var result = new BoundNewT(this.Syntax, initializerExpressionOpt, wasTargetTyped, type, this.HasErrors); 9472return VisitNewT((BoundNewT)node, arg); 9766public virtual R VisitNewT(BoundNewT node, A arg) => this.DefaultVisit(node, arg); 10007public virtual BoundNode? VisitNewT(BoundNewT node) => this.DefaultVisit(node); 10861public override BoundNode? VisitNewT(BoundNewT node) 12338public override BoundNode? VisitNewT(BoundNewT node) 14799public override BoundNode? VisitNewT(BoundNewT node) 14802BoundNewT updatedNode; 17185public override TreeDumperNode VisitNewT(BoundNewT node, object? arg) => new TreeDumperNode("newT", null, new TreeDumperNode[]
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (2)
226return VisitNewT((BoundNewT)node); 888private BoundExpression VisitNewT(BoundNewT node)
Lowering\LocalRewriter\LocalRewriter_ObjectCreationExpression.cs (1)
312public override BoundNode VisitNewT(BoundNewT node)
Operations\CSharpOperationFactory.cs (3)
121return CreateBoundNewTOperation((BoundNewT)boundNode); 1319if (collectionCreation is BoundNewT boundNewT) 1488private ITypeParameterObjectCreationOperation CreateBoundNewTOperation(BoundNewT boundNewT)