10 implementations of IAttributeTargetSymbol
Microsoft.CodeAnalysis.CSharp (10)
Symbols\Source\FieldSymbolWithAttributesAndModifiers.cs (1)
20internal abstract class FieldSymbolWithAttributesAndModifiers : FieldSymbol, IAttributeTargetSymbol
Symbols\Source\SourceAssemblySymbol.cs (1)
29internal sealed partial class SourceAssemblySymbol : MetadataOrSourceAssemblySymbol, ISourceAssemblySymbolInternal, IAttributeTargetSymbol
Symbols\Source\SourceComplexParameterSymbol.cs (1)
22internal abstract class SourceComplexParameterSymbolBase : SourceParameterSymbol, IAttributeTargetSymbol
Symbols\Source\SourceEventSymbol.cs (1)
24internal abstract class SourceEventSymbol : EventSymbol, IAttributeTargetSymbol
Symbols\Source\SourceMemberMethodSymbol.cs (1)
20internal abstract class SourceMemberMethodSymbol : LocalFunctionOrSourceMemberMethodSymbol, IAttributeTargetSymbol
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
26internal abstract partial class SourceMethodSymbol : IAttributeTargetSymbol
Symbols\Source\SourceModuleSymbol.cs (1)
27internal sealed class SourceModuleSymbol : NonMissingModuleSymbol, IAttributeTargetSymbol
Symbols\Source\SourceNamedTypeSymbol.cs (1)
28internal sealed partial class SourceNamedTypeSymbol : SourceMemberContainerTypeSymbol, IAttributeTargetSymbol
Symbols\Source\SourcePropertySymbolBase.cs (1)
22internal abstract class SourcePropertySymbolBase : PropertySymbol, IAttributeTargetSymbol
Symbols\Source\SourceTypeParameterSymbol.cs (1)
24internal abstract class SourceTypeParameterSymbol : TypeParameterSymbol, IAttributeTargetSymbol
62 references to IAttributeTargetSymbol
Microsoft.CodeAnalysis.CSharp (62)
Symbols\MethodSymbol.cs (1)
397Debug.Assert(!(this is IAttributeTargetSymbol)); //such types must override
Symbols\Source\FieldSymbolWithAttributesAndModifiers.cs (5)
32protected abstract IAttributeTargetSymbol AttributeOwner { get; } 34IAttributeTargetSymbol IAttributeTargetSymbol.AttributesOwner 37AttributeLocation IAttributeTargetSymbol.DefaultAttributeLocation 40AttributeLocation IAttributeTargetSymbol.AllowedAttributeLocations
Symbols\Source\IAttributeTargetSymbol.cs (1)
21IAttributeTargetSymbol AttributesOwner { get; }
Symbols\Source\SourceAssemblySymbol.cs (4)
2342IAttributeTargetSymbol IAttributeTargetSymbol.AttributesOwner 2347AttributeLocation IAttributeTargetSymbol.DefaultAttributeLocation 2352AttributeLocation IAttributeTargetSymbol.AllowedAttributeLocations
Symbols\Source\SourceComplexParameterSymbol.cs (5)
446protected virtual IAttributeTargetSymbol AttributeOwner => this; 448IAttributeTargetSymbol IAttributeTargetSymbol.AttributesOwner => AttributeOwner; 450AttributeLocation IAttributeTargetSymbol.DefaultAttributeLocation => AttributeLocation.Parameter; 452AttributeLocation IAttributeTargetSymbol.AllowedAttributeLocations
Symbols\Source\SourceDelegateMethodSymbol.cs (1)
180protected sealed override IAttributeTargetSymbol AttributeOwner
Symbols\Source\SourceEventFieldSymbol.cs (1)
43protected override IAttributeTargetSymbol AttributeOwner
Symbols\Source\SourceEventSymbol.cs (4)
176IAttributeTargetSymbol IAttributeTargetSymbol.AttributesOwner 181AttributeLocation IAttributeTargetSymbol.DefaultAttributeLocation 186AttributeLocation IAttributeTargetSymbol.AllowedAttributeLocations
Symbols\Source\SourceFieldLikeEventSymbol.cs (1)
268protected override IAttributeTargetSymbol AttributeOwner
Symbols\Source\SourceFieldSymbol.cs (1)
31protected override IAttributeTargetSymbol AttributeOwner
Symbols\Source\SourceMethodSymbolWithAttributes.cs (5)
129protected virtual IAttributeTargetSymbol AttributeOwner 139IAttributeTargetSymbol IAttributeTargetSymbol.AttributesOwner 144AttributeLocation IAttributeTargetSymbol.DefaultAttributeLocation 149AttributeLocation IAttributeTargetSymbol.AllowedAttributeLocations
Symbols\Source\SourceModuleSymbol.cs (4)
511IAttributeTargetSymbol IAttributeTargetSymbol.AttributesOwner 516AttributeLocation IAttributeTargetSymbol.DefaultAttributeLocation 521AttributeLocation IAttributeTargetSymbol.AllowedAttributeLocations
Symbols\Source\SourceNamedTypeSymbol.cs (4)
802IAttributeTargetSymbol IAttributeTargetSymbol.AttributesOwner 807AttributeLocation IAttributeTargetSymbol.DefaultAttributeLocation 812AttributeLocation IAttributeTargetSymbol.AllowedAttributeLocations
Symbols\Source\SourcePropertySymbol.cs (1)
226public override IAttributeTargetSymbol AttributesOwner => this;
Symbols\Source\SourcePropertySymbolBase.cs (5)
1297public abstract IAttributeTargetSymbol AttributesOwner { get; } 1299IAttributeTargetSymbol IAttributeTargetSymbol.AttributesOwner => AttributesOwner; 1301AttributeLocation IAttributeTargetSymbol.DefaultAttributeLocation => AttributeLocation.Property; 1303AttributeLocation IAttributeTargetSymbol.AllowedAttributeLocations
Symbols\Source\SourceTypeParameterSymbol.cs (4)
144IAttributeTargetSymbol IAttributeTargetSymbol.AttributesOwner 149AttributeLocation IAttributeTargetSymbol.DefaultAttributeLocation 154AttributeLocation IAttributeTargetSymbol.AllowedAttributeLocations
Symbols\Symbol_Attributes.cs (5)
30Debug.Assert(!(this is IAttributeTargetSymbol)); //such types must override 598var attributeTarget = (IAttributeTargetSymbol)this; 683private static bool MatchAttributeTarget(IAttributeTargetSymbol attributeTarget, AttributeLocation symbolPart, AttributeListSyntax attributeList, BindingDiagnosticBag diagnostics) 692IAttributeTargetSymbol attributesOwner = attributeTarget.AttributesOwner;
Symbols\Synthesized\Records\SynthesizedPrimaryConstructor.cs (3)
29Debug.Assert(containingType is IAttributeTargetSymbol); 64protected override IAttributeTargetSymbol AttributeOwner 66get { return (IAttributeTargetSymbol)ContainingType; }
Symbols\Synthesized\Records\SynthesizedPrimaryConstructorParameterBackingFieldSymbol.cs (1)
33protected override IAttributeTargetSymbol AttributeOwner
Symbols\Synthesized\Records\SynthesizedRecordEqualityContractProperty.cs (1)
61public override IAttributeTargetSymbol AttributesOwner => this;
Symbols\Synthesized\Records\SynthesizedRecordPropertySymbol.cs (2)
51public override IAttributeTargetSymbol AttributesOwner => BackingParameter as IAttributeTargetSymbol ?? this;
Symbols\Synthesized\SynthesizedAccessorValueParameterSymbol.cs (1)
69protected override IAttributeTargetSymbol AttributeOwner
Symbols\Synthesized\SynthesizedBackingFieldSymbol.cs (1)
101protected override IAttributeTargetSymbol AttributeOwner
Symbols\Synthesized\SynthesizedEventAccessorSymbol.cs (1)
67protected override IAttributeTargetSymbol AttributeOwner