2 instantiations of BoundNewT
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Expressions.cs (1)
7290
return new
BoundNewT
(node, boundInitializerOpt, wasTargetTyped, typeParameter);
Generated\BoundNodes.xml.Generated.cs (1)
7193
var result = new
BoundNewT
(this.Syntax, initializerExpressionOpt, wasTargetTyped, type, this.HasErrors);
25 references to BoundNewT
Microsoft.CodeAnalysis.CSharp (25)
Binder\Binder.ValueChecks.cs (4)
4547
var
newT = (
BoundNewT
)expr;
5308
var
newT = (
BoundNewT
)expr;
Binder\RefSafetyAnalysis.cs (1)
1020
public 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>
59
or
BoundNewT
FlowAnalysis\AbstractFlowPass.cs (1)
2119
public override BoundNode VisitNewT(
BoundNewT
node)
FlowAnalysis\NullableWalker.cs (1)
13527
public override BoundNode? VisitNewT(
BoundNewT
node)
Generated\BoundNodes.xml.Generated.cs (10)
7189
public
BoundNewT
Update(BoundObjectInitializerExpressionBase? initializerExpressionOpt, bool wasTargetTyped, TypeSymbol type)
7193
var
result = new BoundNewT(this.Syntax, initializerExpressionOpt, wasTargetTyped, type, this.HasErrors);
9454
return VisitNewT((
BoundNewT
)node, arg);
9748
public virtual R VisitNewT(
BoundNewT
node, A arg) => this.DefaultVisit(node, arg);
9989
public virtual BoundNode? VisitNewT(
BoundNewT
node) => this.DefaultVisit(node);
10855
public override BoundNode? VisitNewT(
BoundNewT
node)
12335
public override BoundNode? VisitNewT(
BoundNewT
node)
14801
public override BoundNode? VisitNewT(
BoundNewT
node)
14804
BoundNewT
updatedNode;
17191
public override TreeDumperNode VisitNewT(
BoundNewT
node, object? arg) => new TreeDumperNode("newT", null, new TreeDumperNode[]
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (2)
226
return VisitNewT((
BoundNewT
)node);
888
private BoundExpression VisitNewT(
BoundNewT
node)
Lowering\LocalRewriter\LocalRewriter_ObjectCreationExpression.cs (1)
312
public override BoundNode VisitNewT(
BoundNewT
node)
Operations\CSharpOperationFactory.cs (3)
121
return CreateBoundNewTOperation((
BoundNewT
)boundNode);
1338
if (collectionCreation is
BoundNewT
boundNewT)
1507
private ITypeParameterObjectCreationOperation CreateBoundNewTOperation(
BoundNewT
boundNewT)