4 overrides of AssociatedField
Microsoft.CodeAnalysis.CSharp (4)
Symbols\Metadata\PE\PEEventSymbol.cs (1)
209
internal override FieldSymbol?
AssociatedField
Symbols\Retargeting\RetargetingEventSymbol.cs (1)
77
internal override FieldSymbol?
AssociatedField
Symbols\Source\SourceFieldLikeEventSymbol.cs (1)
133
internal override FieldSymbol?
AssociatedField
=> AssociatedEventField;
Symbols\SubstitutedEventSymbol.cs (1)
77
internal override FieldSymbol?
AssociatedField
38 references to AssociatedField
Microsoft.CodeAnalysis.CSharp (38)
Binder\Binder.ValueChecks.cs (1)
1594
else if (RequiresVariableReceiver(receiver, eventSymbol.
AssociatedField
) && // NOTE: using field, not event
Binder\Binder_Expressions.cs (1)
8760
bool isUsableAsField = eventSymbol.HasAssociatedField && this.IsAccessible(eventSymbol.
AssociatedField
, ref useSiteInfo, (receiver != null) ? receiver.Type : null);
Binder\Binder_Operators.cs (1)
2595
fieldSymbol = eventSymbol.
AssociatedField
;
Compilation\CSharpSemanticModel.cs (1)
1838
return symbol is object && symbol.HasAssociatedField && this.IsAccessible(position, symbol.
AssociatedField
); //calls CheckAndAdjustPosition
Compilation\SyntaxTreeSemanticModel.cs (1)
1269
return (declaredSymbol.GetSymbol<EventSymbol>()).
AssociatedField
;
Compiler\MethodBodySynthesizer.cs (2)
239
FieldSymbol field = eventSymbol.
AssociatedField
;
382
fieldSymbol: eventSymbol.
AssociatedField
,
Emitter\Model\PEModuleBuilder.cs (1)
418
FieldSymbol field = ((EventSymbol)member).
AssociatedField
;
FlowAnalysis\AbstractFlowPass.cs (2)
595
VisitFieldAccessInternal(node1.ReceiverOpt, node1.EventSymbol.
AssociatedField
);
2293
VisitFieldAccessInternal(node.ReceiverOpt, node.EventSymbol.
AssociatedField
);
FlowAnalysis\DataFlowsOutWalker.cs (1)
173
FieldSymbol associatedField = eventAccess.EventSymbol.
AssociatedField
;
FlowAnalysis\DefiniteAssignment.cs (7)
810
FieldSymbol associatedField = eventAccess.EventSymbol.
AssociatedField
;
993
FieldSymbol associatedField = eventAccess.EventSymbol.
AssociatedField
;
1092
member = eventSymbol.
AssociatedField
;
1418
if (!MayRequireTracking(eventAccess.ReceiverOpt, eventAccess.EventSymbol.
AssociatedField
) || IsAssigned(eventAccess.ReceiverOpt, out unassignedSlot))
1423
unassignedSlot = GetOrCreateSlot(eventAccess.EventSymbol.
AssociatedField
, unassignedSlot);
2612
FieldSymbol associatedField = @event.EventSymbol.
AssociatedField
;
2749
FieldSymbol associatedField = node.EventSymbol.
AssociatedField
;
FlowAnalysis\EmptyStructTypeCache.cs (1)
209
return (!eventSymbol.HasAssociatedField || ShouldIgnoreStructField(eventSymbol, eventSymbol.Type)) ? null : eventSymbol.
AssociatedField
.AsMember(type);
FlowAnalysis\NullableWalker.cs (1)
733
field = e.
AssociatedField
;
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (2)
918
return _bound.Convert(MemberInfoType, _bound.FieldInfo(((EventSymbol)symbol).
AssociatedField
));
933
return _bound.Convert(MemberInfoType, _bound.FieldInfo(((EventSymbol)symbol).
AssociatedField
));
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
278
Binder.ReportDiagnosticsIfObsolete(_diagnostics, node.EventSymbol.
AssociatedField
, node.Syntax, hasBaseReceiver, _containingSymbol, _containingSymbol.ContainingType, BinderFlags.None);
Lowering\LocalRewriter\LocalRewriter_Event.cs (1)
229
FieldSymbol? fieldSymbol = eventSymbol.
AssociatedField
;
Symbols\BaseTypeAnalysis.cs (1)
192
field = ((EventSymbol)member).
AssociatedField
;
Symbols\EventSymbol.cs (3)
74
return (object?)this.
AssociatedField
!= null;
117
return (object?)this.
AssociatedField
== null ?
119
this.
AssociatedField
.GetAttributes();
Symbols\MemberSymbolExtensions.cs (1)
651
field = ((EventSymbol)member).
AssociatedField
;
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
1000
FieldSymbol associatedField = eventSymbol.
AssociatedField
;
Symbols\Retargeting\RetargetingEventSymbol.cs (2)
81
return (object?)_underlyingEvent.
AssociatedField
== null
83
: this.RetargetingTranslator.Retarget(_underlyingEvent.
AssociatedField
);
Symbols\Source\SourceMemberContainerSymbol.cs (4)
1531
FieldSymbol? associatedField = ((EventSymbol)m).
AssociatedField
;
2393
field = ((EventSymbol)member).
AssociatedField
;
2707
f = ((EventSymbol)m).
AssociatedField
;
5148
Debug.Assert(@event.
AssociatedField
is null);
Symbols\SubstitutedEventSymbol.cs (1)
81
FieldSymbol? originalAssociatedField = OriginalDefinition.
AssociatedField
;
Symbols\Tuples\TupleTypeSymbol.cs (1)
1079
var underlyingAssociatedField = underlyingEvent.
AssociatedField
;