10 overrides of AssociatedSymbol
Microsoft.CodeAnalysis.CSharp (10)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.FieldSymbol.cs (1)
72public override Symbol AssociatedSymbol
Symbols\Metadata\PE\PEFieldSymbol.cs (1)
449public override Symbol AssociatedSymbol
Symbols\Retargeting\RetargetingFieldSymbol.cs (1)
112public override Symbol AssociatedSymbol
Symbols\Source\SourceEnumConstantSymbol.cs (1)
65public override Symbol AssociatedSymbol
Symbols\Source\SourceMemberFieldSymbol.cs (1)
147public override Symbol AssociatedSymbol
Symbols\SubstitutedFieldSymbol.cs (1)
82public override Symbol AssociatedSymbol
Symbols\Synthesized\Records\SynthesizedPrimaryConstructorParameterBackingFieldSymbol.cs (1)
39public override Symbol? AssociatedSymbol
Symbols\Synthesized\SynthesizedBackingFieldSymbol.cs (1)
112public override Symbol AssociatedSymbol
Symbols\Synthesized\SynthesizedFieldSymbolBase.cs (1)
97public override Symbol AssociatedSymbol
Symbols\Tuples\TupleFieldSymbol.cs (1)
96public sealed override Symbol? AssociatedSymbol
22 references to AssociatedSymbol
Microsoft.CodeAnalysis.CSharp (22)
Binder\Binder_Initializers.cs (1)
134((SynthesizedRecordPropertySymbol)fieldSymbol.AssociatedSymbol).BackingParameter).MakeCompilerGenerated()));
Binder\Binder_Invocation.cs (1)
1527FieldSymbol { AssociatedSymbol: { } symbol } => symbol,
FlowAnalysis\DefiniteAssignment.cs (2)
485Symbol associatedPropertyOrEvent = field.AssociatedSymbol; 1308var associatedSymbol = fieldSymbol.AssociatedSymbol;
FlowAnalysis\NullableWalker.cs (3)
728symbol = (Symbol?)(f.AssociatedSymbol as PropertySymbol) ?? f; 820case FieldSymbol { AssociatedSymbol: SourcePropertySymbolBase { UsesFieldKeyword: false } prop }: 10048return field.AssociatedSymbol is SourcePropertySymbolBase { UsesFieldKeyword: false } property ?
Symbols\BaseTypeAnalysis.cs (1)
168Debug.Assert((object)(field.AssociatedSymbol as EventSymbol) == null,
Symbols\FieldSymbol.cs (1)
504ISymbolInternal IFieldSymbolInternal.AssociatedSymbol => AssociatedSymbol;
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
1002Debug.Assert((object)associatedField.AssociatedSymbol != null);
Symbols\ObsoleteAttributeHelpers.cs (1)
66var associatedSymbol = ((FieldSymbol)symbol).AssociatedSymbol;
Symbols\PublicModel\FieldSymbol.cs (1)
30return _underlying.AssociatedSymbol.GetPublicSymbol();
Symbols\Retargeting\RetargetingFieldSymbol.cs (1)
116var associated = _underlyingField.AssociatedSymbol;
Symbols\Source\SourceAssemblySymbol.cs (1)
2731Symbol associatedPropertyOrEvent = field.AssociatedSymbol;
Symbols\Source\SourceMemberContainerSymbol.cs (5)
1692else if (member is FieldSymbol field && field.AssociatedSymbol is EventSymbol e) 2390Debug.Assert(field.AssociatedSymbol is not EventSymbol, "Didn't expect to find a field-like event backing field in the member list."); 2416var symbol = field.AssociatedSymbol ?? field; 2690Debug.Assert(f.AssociatedSymbol is not EventSymbol, "Didn't expect to find a field-like event backing field in the member list."); 4139var symbol = initializer.FieldOpt.AssociatedSymbol ?? initializer.FieldOpt;
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (2)
657Debug.Assert((object)sourceField == null || (object)sourceField.AssociatedSymbol == null || 658sourceField.AssociatedSymbol.Kind != SymbolKind.Event);
Symbols\SubstitutedFieldSymbol.cs (1)
86Symbol underlying = OriginalDefinition.AssociatedSymbol;