2 instantiations of BoundNewT
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Expressions.cs (1)
7148
return new
BoundNewT
(node, boundInitializerOpt, wasTargetTyped, typeParameter);
Generated\BoundNodes.xml.Generated.cs (1)
7083
var result = new
BoundNewT
(this.Syntax, initializerExpressionOpt, wasTargetTyped, type, this.HasErrors);
23 references to BoundNewT
Microsoft.CodeAnalysis.CSharp (23)
Binder\Binder.ValueChecks.cs (4)
4546
var
newT = (
BoundNewT
)expr;
5276
var
newT = (
BoundNewT
)expr;
Binder\Binder_Conversions.cs (1)
895
Debug.Assert((collectionCreation is
BoundNewT
&& !isExpanded && constructor is null) ||
Binder\RefSafetyAnalysis.cs (1)
951
public override BoundNode? VisitNewT(
BoundNewT
node)
FlowAnalysis\AbstractFlowPass.cs (1)
2109
public override BoundNode VisitNewT(
BoundNewT
node)
FlowAnalysis\NullableWalker.cs (1)
12711
public override BoundNode? VisitNewT(
BoundNewT
node)
Generated\BoundNodes.xml.Generated.cs (10)
7079
public
BoundNewT
Update(BoundObjectInitializerExpressionBase? initializerExpressionOpt, bool wasTargetTyped, TypeSymbol type)
7083
var
result = new BoundNewT(this.Syntax, initializerExpressionOpt, wasTargetTyped, type, this.HasErrors);
9247
return VisitNewT((
BoundNewT
)node, arg);
9534
public virtual R VisitNewT(
BoundNewT
node, A arg) => this.DefaultVisit(node, arg);
9770
public virtual BoundNode? VisitNewT(
BoundNewT
node) => this.DefaultVisit(node);
10609
public override BoundNode? VisitNewT(
BoundNewT
node)
12058
public override BoundNode? VisitNewT(
BoundNewT
node)
14486
public override BoundNode? VisitNewT(
BoundNewT
node)
14489
BoundNewT
updatedNode;
16818
public override TreeDumperNode VisitNewT(
BoundNewT
node, object? arg) => new TreeDumperNode("newT", null, new TreeDumperNode[]
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (2)
222
return VisitNewT((
BoundNewT
)node);
869
private BoundExpression VisitNewT(
BoundNewT
node)
Lowering\LocalRewriter\LocalRewriter_ObjectCreationExpression.cs (1)
307
public override BoundNode VisitNewT(
BoundNewT
node)
Operations\CSharpOperationFactory.cs (2)
122
return CreateBoundNewTOperation((
BoundNewT
)boundNode);
1413
private ITypeParameterObjectCreationOperation CreateBoundNewTOperation(
BoundNewT
boundNewT)