64 references to FieldAccess
Microsoft.CodeAnalysis.CSharp (64)
Binder\Binder.ValueChecks.cs (6)
947case BoundKind.FieldAccess: 3419case BoundKind.FieldAccess: 3744case BoundKind.FieldAccess: 4143case BoundKind.FieldAccess: 4853case BoundKind.FieldAccess: 5782case BoundKind.FieldAccess:
Binder\Binder_Attributes.cs (1)
814case BoundKind.FieldAccess:
Binder\Binder_Expressions.cs (1)
5867case BoundKind.FieldAccess:
Binder\Binder_Invocation.cs (3)
107if (!allowFieldsAndProperties && (boundExpression.Kind == BoundKind.FieldAccess || boundExpression.Kind == BoundKind.PropertyAccess)) 112if (boundExpression.Kind == BoundKind.FieldAccess) 161if (boundExpression.Kind == BoundKind.FieldAccess)
Binder\Binder_Operators.cs (2)
2571case BoundKind.FieldAccess: 2576if (exprKind == BoundKind.FieldAccess)
Binder\Binder_Patterns.cs (1)
1571case BoundKind.FieldAccess:
Binder\Binder_Statements.cs (1)
1251case BoundKind.FieldAccess:
BoundTree\BoundExpressionExtensions.cs (1)
30case BoundKind.FieldAccess:
BoundTree\BoundTreeVisitors.cs (1)
121case BoundKind.FieldAccess:
BoundTree\Constructors.cs (1)
71case BoundKind.FieldAccess:
CodeGen\EmitAddress.cs (2)
54case BoundKind.FieldAccess: 369case BoundKind.FieldAccess:
CodeGen\EmitExpression.cs (8)
149case BoundKind.FieldAccess: 1242else if (receiver.Kind == BoundKind.FieldAccess) 1297case BoundKind.FieldAccess: 1562case BoundKind.FieldAccess: 2137case BoundKind.FieldAccess: 2659if (left.Kind == BoundKind.FieldAccess) 2779case BoundKind.FieldAccess: 3064case BoundKind.FieldAccess:
CodeGen\EmitStatement.cs (1)
1155case BoundKind.FieldAccess:
CodeGen\Optimizer.cs (4)
1031(lhs.Kind is BoundKind.Local or BoundKind.Parameter or BoundKind.FieldAccess && lhs.GetRefKind() != RefKind.None), 1085goto case BoundKind.FieldAccess; 1087case BoundKind.FieldAccess: 1100if (lhs.Kind == BoundKind.FieldAccess)
FlowAnalysis\AbstractFlowPass.cs (1)
585case BoundKind.FieldAccess:
FlowAnalysis\DataFlowsOutWalker.cs (1)
127case BoundKind.FieldAccess:
FlowAnalysis\DefiniteAssignment.cs (8)
785Debug.Assert(fieldOrEventAccess.Kind == BoundKind.FieldAccess || fieldOrEventAccess.Kind == BoundKind.EventAccess); 791case BoundKind.FieldAccess: 963case BoundKind.FieldAccess: 1072case BoundKind.FieldAccess: 1403case BoundKind.FieldAccess: 1487case BoundKind.FieldAccess: 1646case BoundKind.FieldAccess: 2602case BoundKind.FieldAccess:
FlowAnalysis\LocalDataFlowPass.cs (1)
224case BoundKind.FieldAccess:
FlowAnalysis\NullableWalker.cs (1)
1946case BoundKind.FieldAccess:
FlowAnalysis\ReadWriteWalker.cs (3)
142if (!IsInside && node.Span.Contains(RegionSpan) && (expr.Kind == BoundKind.FieldAccess)) 215case BoundKind.FieldAccess: 250case BoundKind.FieldAccess:
Generated\BoundNodes.xml.Generated.cs (2)
7258: base(BoundKind.FieldAccess, syntax, type, hasErrors || receiverOpt.HasErrors()) 9212case BoundKind.FieldAccess:
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
209case BoundKind.FieldAccess:
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
753if (operand.Kind == BoundKind.FieldAccess)
Lowering\DiagnosticsPass_Warnings.cs (3)
33case BoundKind.FieldAccess: 97if (receiverOpt != null && receiverOpt.Kind == BoundKind.FieldAccess) 207case BoundKind.FieldAccess:
Lowering\LocalRewriter\LocalRewriter.cs (2)
922Debug.Assert(assignment.Left.Kind == BoundKind.FieldAccess); 1066case BoundKind.FieldAccess:
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.cs (1)
220case BoundKind.FieldAccess:
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (1)
632case BoundKind.FieldAccess:
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (1)
495case BoundKind.FieldAccess:
Lowering\SpillSequenceSpiller.cs (2)
404case BoundKind.FieldAccess: 879case BoundKind.FieldAccess:
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (1)
582case BoundKind.FieldAccess:
Operations\CSharpOperationFactory.cs (1)
45case BoundKind.FieldAccess: