1 write to Initializer
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8737
this.
Initializer
= initializer;
14 references to Initializer
Microsoft.CodeAnalysis.CSharp (14)
Compilation\MemberSemanticModel.NodeMapBuilder.cs (2)
300
if (node.Syntax != node.
Initializer
?.Syntax)
302
this.Visit(node.
Initializer
);
Compiler\MethodCompiler.cs (4)
1854
if (constructor.
Initializer
is BoundExpressionStatement expressionStatement)
1860
body = new BoundBlock(constructor.Syntax, constructor.Locals, ImmutableArray.Create<BoundStatement>(constructor.
Initializer
));
1864
body = new BoundBlock(constructor.Syntax, constructor.Locals, ImmutableArray.Create<BoundStatement>(constructor.
Initializer
, body));
1873
Debug.Assert(constructor.
Initializer
is null);
FlowAnalysis\AbstractFlowPass.cs (1)
3692
Visit(node.
Initializer
);
FlowAnalysis\NullableWalker.cs (1)
1461
return constructorBody is BoundConstructorMethodBody {
Initializer
: BoundExpressionStatement { Expression: BoundCall { Method: { MethodKind: MethodKind.Constructor } initializerMethod } } }
Generated\BoundNodes.xml.Generated.cs (5)
8748
if (locals != this.Locals || initializer != this.
Initializer
|| blockBody != this.BlockBody || expressionBody != this.ExpressionBody)
10779
this.Visit(node.
Initializer
);
12195
BoundStatement? initializer = (BoundStatement?)this.Visit(node.
Initializer
);
14915
BoundStatement? initializer = (BoundStatement?)this.Visit(node.
Initializer
);
17098
new TreeDumperNode("initializer", null, new TreeDumperNode[] { Visit(node.
Initializer
, null) }),
Operations\CSharpOperationFactory.cs (1)
365
Create(boundNode.
Initializer
),