1 instantiation of BoundObjectInitializerExpression
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
6734
var result = new
BoundObjectInitializerExpression
(this.Syntax, placeholder, initializers, type, this.HasErrors);
31 references to BoundObjectInitializerExpression
Microsoft.CodeAnalysis.CSharp (31)
Binder\Binder.ValueChecks.cs (6)
4453
var
initExpr = (
BoundObjectInitializerExpression
)expr;
4580
private SafeContext GetValEscapeOfObjectInitializer(
BoundObjectInitializerExpression
initExpr, SafeContext localScopeDepth)
5263
var
initExpr = (
BoundObjectInitializerExpression
)expr;
5556
private bool CheckValEscapeOfObjectInitializer(
BoundObjectInitializerExpression
initExpr, SafeContext escapeFrom, SafeContext escapeTo, BindingDiagnosticBag diagnostics)
Binder\Binder_Expressions.cs (1)
5610
private
BoundObjectInitializerExpression
BindObjectInitializerExpression(
BoundTree\Expression.cs (2)
14
var
objectInitializerExpression = objectOrCollectionInitializer as
BoundObjectInitializerExpression
;
FlowAnalysis\AbstractFlowPass.cs (1)
3562
public override BoundNode VisitObjectInitializerExpression(
BoundObjectInitializerExpression
node)
FlowAnalysis\NullableWalker.cs (2)
4109
case
BoundObjectInitializerExpression
objectInitializer:
11772
public override BoundNode? VisitObjectInitializerExpression(
BoundObjectInitializerExpression
node)
Generated\BoundNodes.xml.Generated.cs (10)
6730
public
BoundObjectInitializerExpression
Update(BoundObjectOrCollectionValuePlaceholder placeholder, ImmutableArray<BoundExpression> initializers, TypeSymbol type)
6734
var
result = new BoundObjectInitializerExpression(this.Syntax, placeholder, initializers, type, this.HasErrors);
9220
return VisitObjectInitializerExpression((
BoundObjectInitializerExpression
)node, arg);
9516
public virtual R VisitObjectInitializerExpression(
BoundObjectInitializerExpression
node, A arg) => this.DefaultVisit(node, arg);
9752
public virtual BoundNode? VisitObjectInitializerExpression(
BoundObjectInitializerExpression
node) => this.DefaultVisit(node);
10561
public override BoundNode? VisitObjectInitializerExpression(
BoundObjectInitializerExpression
node)
11866
public override BoundNode? VisitObjectInitializerExpression(
BoundObjectInitializerExpression
node)
14183
public override BoundNode? VisitObjectInitializerExpression(
BoundObjectInitializerExpression
node)
14187
BoundObjectInitializerExpression
updatedNode;
16586
public override TreeDumperNode VisitObjectInitializerExpression(
BoundObjectInitializerExpression
node, object? arg) => new TreeDumperNode("objectInitializerExpression", null, new TreeDumperNode[]
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (2)
947
var
oi = (
BoundObjectInitializerExpression
)node;
Lowering\LocalRewriter\LocalRewriter_ObjectOrCollectionInitializerExpression.cs (5)
22
case
BoundObjectInitializerExpression
objectInitializer:
43
case
BoundObjectInitializerExpression
objectInitializer:
73
return VisitList(((
BoundObjectInitializerExpression
)initializerExpression).Initializers);
528
return assignment.Right is
BoundObjectInitializerExpression
initializer
580
foreach (var initializer in ((
BoundObjectInitializerExpression
)assignment.Right).Initializers)
Operations\CSharpOperationFactory.cs (2)
72
return CreateBoundObjectInitializerExpressionOperation((
BoundObjectInitializerExpression
)boundNode);
831
private IObjectOrCollectionInitializerOperation CreateBoundObjectInitializerExpressionOperation(
BoundObjectInitializerExpression
boundObjectInitializerExpression)