9 references to HasAssociatedField
Microsoft.CodeAnalysis.CSharp (9)
Binder\Binder_Expressions.cs (1)
8760bool isUsableAsField = eventSymbol.HasAssociatedField && this.IsAccessible(eventSymbol.AssociatedField, ref useSiteInfo, (receiver != null) ? receiver.Type : null);
Binder\Binder_Statements.cs (1)
1751return leastOverridden.HasAssociatedField ?
Compilation\CSharpSemanticModel.cs (1)
1838return symbol is object && symbol.HasAssociatedField && this.IsAccessible(position, symbol.AssociatedField); //calls CheckAndAdjustPosition
Compiler\MethodBodySynthesizer.cs (1)
217Debug.Assert(eventSymbol.HasAssociatedField);
FlowAnalysis\EmptyStructTypeCache.cs (1)
209return (!eventSymbol.HasAssociatedField || ShouldIgnoreStructField(eventSymbol, eventSymbol.Type)) ? null : eventSymbol.AssociatedField.AsMember(type);
Lowering\LocalRewriter\LocalRewriter_Event.cs (2)
196Debug.Assert(eventSymbol.HasAssociatedField); 227Debug.Assert(eventSymbol.HasAssociatedField);
Symbols\Source\SourceEventSymbol.cs (1)
542else if (IsReadOnly && HasAssociatedField)
Symbols\Synthesized\SynthesizedEventAccessorSymbol.cs (1)
36return AssociatedEvent.HasAssociatedField;