FlowAnalysis\DefiniteAssignment.cs (15)
794NoteRead(fieldAccess.FieldSymbol);
796if (MayRequireTracking(fieldAccess.ReceiverOpt, fieldAccess.FieldSymbol))
968var field = fieldAccess.FieldSymbol.OriginalDefinition;
970read: value == null || WriteConsideredUse(fieldAccess.FieldSymbol.Type, value),
974if (MayRequireTracking(fieldAccess.ReceiverOpt, fieldAccess.FieldSymbol))
1075var fieldSymbol = fieldAccess.FieldSymbol;
1406if (!MayRequireTracking(fieldAccess.ReceiverOpt, fieldAccess.FieldSymbol) || IsAssigned(fieldAccess.ReceiverOpt, out unassignedSlot))
1411unassignedSlot = GetOrCreateSlot(fieldAccess.FieldSymbol, unassignedSlot);
1490var fieldSymbol = fieldAccess.FieldSymbol;
1518if (!isRef && node is BoundFieldAccess { FieldSymbol.RefKind: not RefKind.None } fieldAccess)
2604var symbol = field.FieldSymbol;
2698NoteRead(node.FieldSymbol);
2700if (node.FieldSymbol.IsFixedSizeBuffer && node.Syntax != null && !SyntaxFacts.IsFixedStatementExpression(node.Syntax))
2712else if (MayRequireTracking(node.ReceiverOpt, node.FieldSymbol))
2715CheckAssigned(node, node.FieldSymbol, node.Syntax);
Generated\BoundNodes.xml.Generated.cs (4)
7286if (receiverOpt != this.ReceiverOpt || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(fieldSymbol, this.FieldSymbol) || constantValueOpt != this.ConstantValueOpt || resultKind != this.ResultKind || isByValue != this.IsByValue || isDeclaration != this.IsDeclaration || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
11933return node.Update(receiverOpt, node.FieldSymbol, node.ConstantValueOpt, node.ResultKind, node.IsByValue, node.IsDeclaration, type);
14415FieldSymbol fieldSymbol = GetUpdatedSymbol(node, node.FieldSymbol);
16705new TreeDumperNode("fieldSymbol", node.FieldSymbol, null),