2 types derived from BoundObjectInitializerExpressionBase
Microsoft.CodeAnalysis.CSharp (2)
Generated\BoundNodes.xml.Generated.cs (2)
6714
internal sealed partial class BoundObjectInitializerExpression :
BoundObjectInitializerExpressionBase
6836
internal sealed partial class BoundCollectionInitializerExpression :
BoundObjectInitializerExpressionBase
63 references to BoundObjectInitializerExpressionBase
Microsoft.CodeAnalysis.CSharp (63)
Binder\Binder.ValueChecks.cs (5)
4272
var
initializerOpt = objectCreation.InitializerExpressionOpt;
4287
var
initializerOpt = newT.InitializerExpressionOpt;
5017
var
initializerExpr = objectCreation.InitializerExpressionOpt;
5038
var
initializerExpr = newT.InitializerExpressionOpt;
5059
var
initializerExpr = withExpr.InitializerExpression;
Binder\Binder_Expressions.cs (7)
5545
var
boundInitializer = BindInitializerExpression(syntax: initializerOpt,
5556
private
BoundObjectInitializerExpressionBase
BindInitializerExpression(
6149
if (assignmentOperator.Right is
BoundObjectInitializerExpressionBase
initializerExpression)
6667
BoundObjectInitializerExpressionBase
boundInitializerOpt;
6772
BoundObjectInitializerExpressionBase
boundInitializerOpt;
6855
private
BoundObjectInitializerExpressionBase
MakeBoundInitializerOpt(SyntaxNode typeNode, NamedTypeSymbol type, InitializerExpressionSyntax initializerSyntaxOpt, TypeSymbol initializerTypeOpt, BindingDiagnosticBag diagnostics)
7002
var
boundInitializerOpt = initializerOpt == null ? null :
Binder\Binder_WithExpression.cs (1)
56
var
initializer = BindInitializerExpression(
BoundTree\BoundExpression.cs (1)
540
BoundObjectInitializerExpressionBase
? newInitializerExpression,
BoundTree\BoundObjectCreationExpression.cs (3)
14
BoundObjectInitializerExpressionBase
? initializerExpressionOpt, TypeSymbol type, bool hasErrors = false)
19
ImmutableArray<int> argsToParamsOpt, BitVector defaultArguments, ConstantValue? constantValueOpt,
BoundObjectInitializerExpressionBase
? initializerExpressionOpt, TypeSymbol type)
26
BitVector defaultArguments, ConstantValue? constantValueOpt,
BoundObjectInitializerExpressionBase
? initializerExpressionOpt, TypeSymbol type)
BoundTree\BoundObjectCreationExpressionBase.cs (1)
19
public abstract
BoundObjectInitializerExpressionBase
? InitializerExpressionOpt { get; }
FlowAnalysis\NullableWalker.cs (6)
3871
var
initializerOpt = node.InitializerExpressionOpt;
4040
private Action<int, TypeSymbol>? VisitObjectCreationInitializer(int containingSlot, TypeSymbol containingType,
BoundObjectInitializerExpressionBase
node, bool delayCompletionForType)
4132
if (node.Right is
BoundObjectInitializerExpressionBase
initializer)
4208
Action<int, Symbol>? visitNestedInitializer(int containingSlot, TypeSymbol containingType, Symbol symbol,
BoundObjectInitializerExpressionBase
initializer, bool delayCompletionForType)
4219
Symbol symbol,
BoundObjectInitializerExpressionBase
initializer, int slot, Action<int, TypeSymbol>? nestedCompletion,
4240
Action<int, Symbol>? completeNestedInitializerAnalysisAsContinuation(
BoundObjectInitializerExpressionBase
initializer, Action<int, TypeSymbol>? nestedCompletion)
Generated\BoundNodes.xml.Generated.cs (35)
6342
public BoundObjectCreationExpression(SyntaxNode syntax, MethodSymbol constructor, ImmutableArray<MethodSymbol> constructorsGroup, ImmutableArray<BoundExpression> arguments, ImmutableArray<string?> argumentNamesOpt, ImmutableArray<RefKind> argumentRefKindsOpt, bool expanded, ImmutableArray<int> argsToParamsOpt, BitVector defaultArguments, ConstantValue? constantValueOpt,
BoundObjectInitializerExpressionBase
? initializerExpressionOpt, bool wasTargetTyped, TypeSymbol type, bool hasErrors = false)
6373
public override
BoundObjectInitializerExpressionBase
? InitializerExpressionOpt { get; }
6379
public BoundObjectCreationExpression Update(MethodSymbol constructor, ImmutableArray<MethodSymbol> constructorsGroup, ImmutableArray<BoundExpression> arguments, ImmutableArray<string?> argumentNamesOpt, ImmutableArray<RefKind> argumentRefKindsOpt, bool expanded, ImmutableArray<int> argsToParamsOpt, BitVector defaultArguments, ConstantValue? constantValueOpt,
BoundObjectInitializerExpressionBase
? initializerExpressionOpt, bool wasTargetTyped, TypeSymbol type)
6622
public BoundDynamicObjectCreationExpression(SyntaxNode syntax, string name, ImmutableArray<BoundExpression> arguments, ImmutableArray<string?> argumentNamesOpt, ImmutableArray<RefKind> argumentRefKindsOpt,
BoundObjectInitializerExpressionBase
? initializerExpressionOpt, ImmutableArray<MethodSymbol> applicableMethods, bool wasTargetTyped, TypeSymbol type, bool hasErrors = false)
6644
public override
BoundObjectInitializerExpressionBase
? InitializerExpressionOpt { get; }
6651
public BoundDynamicObjectCreationExpression Update(string name, ImmutableArray<BoundExpression> arguments, ImmutableArray<string?> argumentNamesOpt, ImmutableArray<RefKind> argumentRefKindsOpt,
BoundObjectInitializerExpressionBase
? initializerExpressionOpt, ImmutableArray<MethodSymbol> applicableMethods, bool wasTargetTyped, TypeSymbol type)
6665
public BoundNoPiaObjectCreationExpression(SyntaxNode syntax, string? guidString,
BoundObjectInitializerExpressionBase
? initializerExpressionOpt, bool wasTargetTyped, TypeSymbol type, bool hasErrors = false)
6677
public override
BoundObjectInitializerExpressionBase
? InitializerExpressionOpt { get; }
6683
public BoundNoPiaObjectCreationExpression Update(string? guidString,
BoundObjectInitializerExpressionBase
? initializerExpressionOpt, bool wasTargetTyped, TypeSymbol type)
7054
public BoundNewT(SyntaxNode syntax,
BoundObjectInitializerExpressionBase
? initializerExpressionOpt, bool wasTargetTyped, TypeSymbol type, bool hasErrors = false)
7064
public override
BoundObjectInitializerExpressionBase
? InitializerExpressionOpt { get; }
7070
public BoundNewT Update(
BoundObjectInitializerExpressionBase
? initializerExpressionOpt, bool wasTargetTyped, TypeSymbol type)
8792
public BoundWithExpression(SyntaxNode syntax, BoundExpression receiver, MethodSymbol? cloneMethod,
BoundObjectInitializerExpressionBase
initializerExpression, TypeSymbol type, bool hasErrors = false)
8808
public
BoundObjectInitializerExpressionBase
InitializerExpression { get; }
8813
public BoundWithExpression Update(BoundExpression receiver, MethodSymbol? cloneMethod,
BoundObjectInitializerExpressionBase
initializerExpression, TypeSymbol type)
11768
BoundObjectInitializerExpressionBase
? initializerExpressionOpt = (
BoundObjectInitializerExpressionBase
?)this.Visit(node.InitializerExpressionOpt);
11820
BoundObjectInitializerExpressionBase
? initializerExpressionOpt = (
BoundObjectInitializerExpressionBase
?)this.Visit(node.InitializerExpressionOpt);
11826
BoundObjectInitializerExpressionBase
? initializerExpressionOpt = (
BoundObjectInitializerExpressionBase
?)this.Visit(node.InitializerExpressionOpt);
11890
BoundObjectInitializerExpressionBase
? initializerExpressionOpt = (
BoundObjectInitializerExpressionBase
?)this.Visit(node.InitializerExpressionOpt);
12210
BoundObjectInitializerExpressionBase
initializerExpression = (
BoundObjectInitializerExpressionBase
)this.Visit(node.InitializerExpression);
14009
BoundObjectInitializerExpressionBase
? initializerExpressionOpt = (
BoundObjectInitializerExpressionBase
?)this.Visit(node.InitializerExpressionOpt);
14115
BoundObjectInitializerExpressionBase
? initializerExpressionOpt = (
BoundObjectInitializerExpressionBase
?)this.Visit(node.InitializerExpressionOpt);
14132
BoundObjectInitializerExpressionBase
? initializerExpressionOpt = (
BoundObjectInitializerExpressionBase
?)this.Visit(node.InitializerExpressionOpt);
14307
BoundObjectInitializerExpressionBase
? initializerExpressionOpt = (
BoundObjectInitializerExpressionBase
?)this.Visit(node.InitializerExpressionOpt);
14943
BoundObjectInitializerExpressionBase
initializerExpression = (
BoundObjectInitializerExpressionBase
)this.Visit(node.InitializerExpression);
Lowering\LocalRewriter\LocalRewriter_ObjectCreationExpression.cs (2)
242
private
BoundObjectInitializerExpressionBase
? MakeObjectCreationInitializerForExpressionTree(
BoundObjectInitializerExpressionBase
? initializerExpressionOpt)
Lowering\LocalRewriter\LocalRewriter_ObjectOrCollectionInitializerExpression.cs (2)
18
private static
BoundObjectInitializerExpressionBase
UpdateInitializers(
BoundObjectInitializerExpressionBase
initializerExpression, ImmutableArray<BoundExpression> newInitializers)