10 implementations of IAttributeTargetSymbol
Microsoft.CodeAnalysis.CSharp (10)
Symbols\Source\FieldSymbolWithAttributesAndModifiers.cs (1)
20
internal abstract class FieldSymbolWithAttributesAndModifiers : FieldSymbol,
IAttributeTargetSymbol
Symbols\Source\SourceAssemblySymbol.cs (1)
29
internal sealed partial class SourceAssemblySymbol : MetadataOrSourceAssemblySymbol, ISourceAssemblySymbolInternal,
IAttributeTargetSymbol
Symbols\Source\SourceComplexParameterSymbol.cs (1)
22
internal abstract class SourceComplexParameterSymbolBase : SourceParameterSymbol,
IAttributeTargetSymbol
Symbols\Source\SourceEventSymbol.cs (1)
24
internal abstract class SourceEventSymbol : EventSymbol,
IAttributeTargetSymbol
Symbols\Source\SourceMemberMethodSymbol.cs (1)
20
internal abstract class SourceMemberMethodSymbol : LocalFunctionOrSourceMemberMethodSymbol,
IAttributeTargetSymbol
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
26
internal abstract partial class SourceMethodSymbol :
IAttributeTargetSymbol
Symbols\Source\SourceModuleSymbol.cs (1)
27
internal sealed class SourceModuleSymbol : NonMissingModuleSymbol,
IAttributeTargetSymbol
Symbols\Source\SourceNamedTypeSymbol.cs (1)
27
internal sealed partial class SourceNamedTypeSymbol : SourceMemberContainerTypeSymbol,
IAttributeTargetSymbol
Symbols\Source\SourcePropertySymbolBase.cs (1)
22
internal abstract class SourcePropertySymbolBase : PropertySymbol,
IAttributeTargetSymbol
Symbols\Source\SourceTypeParameterSymbol.cs (1)
24
internal abstract class SourceTypeParameterSymbol : TypeParameterSymbol,
IAttributeTargetSymbol
62 references to IAttributeTargetSymbol
Microsoft.CodeAnalysis.CSharp (62)
Symbols\MethodSymbol.cs (1)
393
Debug.Assert(!(this is
IAttributeTargetSymbol
)); //such types must override
Symbols\Source\FieldSymbolWithAttributesAndModifiers.cs (5)
32
protected abstract
IAttributeTargetSymbol
AttributeOwner { get; }
34
IAttributeTargetSymbol
IAttributeTargetSymbol
.AttributesOwner
37
AttributeLocation
IAttributeTargetSymbol
.DefaultAttributeLocation
40
AttributeLocation
IAttributeTargetSymbol
.AllowedAttributeLocations
Symbols\Source\IAttributeTargetSymbol.cs (1)
21
IAttributeTargetSymbol
AttributesOwner { get; }
Symbols\Source\SourceAssemblySymbol.cs (4)
2340
IAttributeTargetSymbol
IAttributeTargetSymbol
.AttributesOwner
2345
AttributeLocation
IAttributeTargetSymbol
.DefaultAttributeLocation
2350
AttributeLocation
IAttributeTargetSymbol
.AllowedAttributeLocations
Symbols\Source\SourceComplexParameterSymbol.cs (5)
440
protected virtual
IAttributeTargetSymbol
AttributeOwner => this;
442
IAttributeTargetSymbol
IAttributeTargetSymbol
.AttributesOwner => AttributeOwner;
444
AttributeLocation
IAttributeTargetSymbol
.DefaultAttributeLocation => AttributeLocation.Parameter;
446
AttributeLocation
IAttributeTargetSymbol
.AllowedAttributeLocations
Symbols\Source\SourceDelegateMethodSymbol.cs (1)
180
protected sealed override
IAttributeTargetSymbol
AttributeOwner
Symbols\Source\SourceEventFieldSymbol.cs (1)
43
protected override
IAttributeTargetSymbol
AttributeOwner
Symbols\Source\SourceEventSymbol.cs (4)
176
IAttributeTargetSymbol
IAttributeTargetSymbol
.AttributesOwner
181
AttributeLocation
IAttributeTargetSymbol
.DefaultAttributeLocation
186
AttributeLocation
IAttributeTargetSymbol
.AllowedAttributeLocations
Symbols\Source\SourceFieldLikeEventSymbol.cs (1)
268
protected override
IAttributeTargetSymbol
AttributeOwner
Symbols\Source\SourceFieldSymbol.cs (1)
31
protected override
IAttributeTargetSymbol
AttributeOwner
Symbols\Source\SourceMethodSymbolWithAttributes.cs (5)
129
protected virtual
IAttributeTargetSymbol
AttributeOwner
139
IAttributeTargetSymbol
IAttributeTargetSymbol
.AttributesOwner
144
AttributeLocation
IAttributeTargetSymbol
.DefaultAttributeLocation
149
AttributeLocation
IAttributeTargetSymbol
.AllowedAttributeLocations
Symbols\Source\SourceModuleSymbol.cs (4)
491
IAttributeTargetSymbol
IAttributeTargetSymbol
.AttributesOwner
496
AttributeLocation
IAttributeTargetSymbol
.DefaultAttributeLocation
501
AttributeLocation
IAttributeTargetSymbol
.AllowedAttributeLocations
Symbols\Source\SourceNamedTypeSymbol.cs (4)
801
IAttributeTargetSymbol
IAttributeTargetSymbol
.AttributesOwner
806
AttributeLocation
IAttributeTargetSymbol
.DefaultAttributeLocation
811
AttributeLocation
IAttributeTargetSymbol
.AllowedAttributeLocations
Symbols\Source\SourcePropertySymbol.cs (1)
227
public override
IAttributeTargetSymbol
AttributesOwner => this;
Symbols\Source\SourcePropertySymbolBase.cs (5)
1287
public abstract
IAttributeTargetSymbol
AttributesOwner { get; }
1289
IAttributeTargetSymbol
IAttributeTargetSymbol
.AttributesOwner => AttributesOwner;
1291
AttributeLocation
IAttributeTargetSymbol
.DefaultAttributeLocation => AttributeLocation.Property;
1293
AttributeLocation
IAttributeTargetSymbol
.AllowedAttributeLocations
Symbols\Source\SourceTypeParameterSymbol.cs (4)
144
IAttributeTargetSymbol
IAttributeTargetSymbol
.AttributesOwner
149
AttributeLocation
IAttributeTargetSymbol
.DefaultAttributeLocation
154
AttributeLocation
IAttributeTargetSymbol
.AllowedAttributeLocations
Symbols\Symbol_Attributes.cs (5)
30
Debug.Assert(!(this is
IAttributeTargetSymbol
)); //such types must override
593
var
attributeTarget = (
IAttributeTargetSymbol
)this;
678
private static bool MatchAttributeTarget(
IAttributeTargetSymbol
attributeTarget, AttributeLocation symbolPart, AttributeTargetSpecifierSyntax targetOpt, BindingDiagnosticBag diagnostics)
680
IAttributeTargetSymbol
attributesOwner = attributeTarget.AttributesOwner;
Symbols\Synthesized\Records\SynthesizedPrimaryConstructor.cs (3)
29
Debug.Assert(containingType is
IAttributeTargetSymbol
);
64
protected override
IAttributeTargetSymbol
AttributeOwner
66
get { return (
IAttributeTargetSymbol
)ContainingType; }
Symbols\Synthesized\Records\SynthesizedPrimaryConstructorParameterBackingFieldSymbol.cs (1)
33
protected override
IAttributeTargetSymbol
AttributeOwner
Symbols\Synthesized\Records\SynthesizedRecordEqualityContractProperty.cs (1)
60
public override
IAttributeTargetSymbol
AttributesOwner => this;
Symbols\Synthesized\Records\SynthesizedRecordPropertySymbol.cs (2)
51
public override
IAttributeTargetSymbol
AttributesOwner => BackingParameter as
IAttributeTargetSymbol
?? this;
Symbols\Synthesized\SynthesizedAccessorValueParameterSymbol.cs (1)
69
protected override
IAttributeTargetSymbol
AttributeOwner
Symbols\Synthesized\SynthesizedBackingFieldSymbol.cs (1)
101
protected override
IAttributeTargetSymbol
AttributeOwner
Symbols\Synthesized\SynthesizedEventAccessorSymbol.cs (1)
67
protected override
IAttributeTargetSymbol
AttributeOwner