1 instantiation of BoundFieldEqualsValue
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
328
var result = new
BoundFieldEqualsValue
(this.Syntax, field, locals, value, this.HasErrors);
27 references to BoundFieldEqualsValue
Microsoft.CodeAnalysis.CSharp (27)
Binder\Binder_Expressions.cs (2)
436
internal
BoundFieldEqualsValue
BindFieldInitializer(
516
internal
BoundFieldEqualsValue
BindEnumConstantInitializer(
Binder\Binder_Initializers.cs (3)
116
BoundFieldEqualsValue
boundInitializer = BindFieldInitializer(parentBinder, fieldSymbol, initializerNode, diagnostics);
286
private static
BoundFieldEqualsValue
BindFieldInitializer(Binder binder, FieldSymbol fieldSymbol, EqualsValueClauseSyntax equalsValueClauseNode,
309
BoundFieldEqualsValue
boundInitValue = binder.BindWithLambdaBindingCountDiagnostics(
Binder\RefSafetyAnalysis.cs (1)
304
public override BoundNode? VisitFieldEqualsValue(
BoundFieldEqualsValue
node)
BoundTree\BoundNode.cs (1)
530
public override BoundNode? VisitFieldEqualsValue(
BoundFieldEqualsValue
node)
Compilation\InitializerSemanticModel.cs (1)
167
BoundFieldEqualsValue
result = binder.BindFieldInitializer(property.BackingField, equalsValue, diagnostics);
Compiler\MethodCompiler.cs (1)
598
(init.Kind == BoundKind.FieldEqualsValue) && !((
BoundFieldEqualsValue
)init).Field.IsMetadataConstant));
FlowAnalysis\AbstractFlowPass.cs (1)
3636
public override BoundNode VisitFieldEqualsValue(
BoundFieldEqualsValue
node)
Generated\BoundNodes.xml.Generated.cs (9)
324
public
BoundFieldEqualsValue
Update(FieldSymbol field, ImmutableArray<LocalSymbol> locals, BoundExpression value)
328
var
result = new BoundFieldEqualsValue(this.Syntax, field, locals, value, this.HasErrors);
8833
return VisitFieldEqualsValue((
BoundFieldEqualsValue
)node, arg);
9304
public virtual R VisitFieldEqualsValue(
BoundFieldEqualsValue
node, A arg) => this.DefaultVisit(node, arg);
9540
public virtual BoundNode? VisitFieldEqualsValue(
BoundFieldEqualsValue
node) => this.DefaultVisit(node);
9776
public override BoundNode? VisitFieldEqualsValue(
BoundFieldEqualsValue
node)
10799
public override BoundNode? VisitFieldEqualsValue(
BoundFieldEqualsValue
node)
12228
public override BoundNode? VisitFieldEqualsValue(
BoundFieldEqualsValue
node)
14964
public override TreeDumperNode VisitFieldEqualsValue(
BoundFieldEqualsValue
node, object? arg) => new TreeDumperNode("fieldEqualsValue", null, new TreeDumperNode[]
Lowering\InitializerRewriter.cs (2)
89
private static BoundStatement RewriteFieldInitializer(
BoundFieldEqualsValue
fieldInit)
124
return RewriteFieldInitializer((
BoundFieldEqualsValue
)initializer);
Operations\CSharpOperationFactory.cs (2)
157
return CreateBoundFieldEqualsValueOperation((
BoundFieldEqualsValue
)boundNode);
1724
private IFieldInitializerOperation CreateBoundFieldEqualsValueOperation(
BoundFieldEqualsValue
boundFieldEqualsValue)
Symbols\ConstantValueUtils.cs (3)
47
BoundFieldEqualsValue
boundValue = BindFieldOrEnumInitializer(inProgressBinder, symbol, equalsValueNode, diagnostics);
55
private static
BoundFieldEqualsValue
BindFieldOrEnumInitializer(
64
BoundFieldEqualsValue
result;
Symbols\Synthesized\SynthesizedStaticConstructor.cs (1)
416
if (!(initializer is
BoundFieldEqualsValue
{ Value: { } value }))