1 instantiation of BoundFieldEqualsValue
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
329
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)
3640
public override BoundNode VisitFieldEqualsValue(
BoundFieldEqualsValue
node)
Generated\BoundNodes.xml.Generated.cs (9)
325
public
BoundFieldEqualsValue
Update(FieldSymbol field, ImmutableArray<LocalSymbol> locals, BoundExpression value)
329
var
result = new BoundFieldEqualsValue(this.Syntax, field, locals, value, this.HasErrors);
8870
return VisitFieldEqualsValue((
BoundFieldEqualsValue
)node, arg);
9341
public virtual R VisitFieldEqualsValue(
BoundFieldEqualsValue
node, A arg) => this.DefaultVisit(node, arg);
9577
public virtual BoundNode? VisitFieldEqualsValue(
BoundFieldEqualsValue
node) => this.DefaultVisit(node);
9813
public override BoundNode? VisitFieldEqualsValue(
BoundFieldEqualsValue
node)
10836
public override BoundNode? VisitFieldEqualsValue(
BoundFieldEqualsValue
node)
12265
public override BoundNode? VisitFieldEqualsValue(
BoundFieldEqualsValue
node)
15001
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 }))