41 overrides of GetAttributes
Microsoft.CodeAnalysis.CSharp (41)
Lowering\StateMachineRewriter\StateMachineTypeSymbol.cs (1)
53
public sealed override ImmutableArray<CSharpAttributeData>
GetAttributes
()
Lowering\StateMachineRewriter\SynthesizedStateMachineMethod.cs (1)
70
public override ImmutableArray<CSharpAttributeData>
GetAttributes
()
Symbols\Extensions\RewrittenMethodSymbol.cs (1)
90
public sealed override ImmutableArray<CSharpAttributeData>
GetAttributes
()
Symbols\Metadata\PE\PEAssemblySymbol.cs (1)
140
public override ImmutableArray<CSharpAttributeData>
GetAttributes
()
Symbols\Metadata\PE\PEEventSymbol.cs (1)
363
public override ImmutableArray<CSharpAttributeData>
GetAttributes
()
Symbols\Metadata\PE\PEFieldSymbol.cs (1)
602
public override ImmutableArray<CSharpAttributeData>
GetAttributes
()
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
1020
public override ImmutableArray<CSharpAttributeData>
GetAttributes
()
Symbols\Metadata\PE\PEModuleSymbol.cs (1)
252
public override ImmutableArray<CSharpAttributeData>
GetAttributes
()
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
951
public override ImmutableArray<CSharpAttributeData>
GetAttributes
()
Symbols\Metadata\PE\PEParameterSymbol.cs (1)
1091
public override ImmutableArray<CSharpAttributeData>
GetAttributes
()
Symbols\Metadata\PE\PEPropertySymbol.cs (1)
792
public override ImmutableArray<CSharpAttributeData>
GetAttributes
()
Symbols\Metadata\PE\PETypeParameterSymbol.cs (1)
640
public override ImmutableArray<CSharpAttributeData>
GetAttributes
()
Symbols\ReducedExtensionMethodSymbol.cs (1)
460
public override ImmutableArray<CSharpAttributeData>
GetAttributes
()
Symbols\Retargeting\RetargetingAssemblySymbol.cs (1)
225
public override ImmutableArray<CSharpAttributeData>
GetAttributes
()
Symbols\Retargeting\RetargetingEventSymbol.cs (1)
156
public override ImmutableArray<CSharpAttributeData>
GetAttributes
()
Symbols\Retargeting\RetargetingFieldSymbol.cs (1)
78
public override ImmutableArray<CSharpAttributeData>
GetAttributes
()
Symbols\Retargeting\RetargetingMethodSymbol.cs (1)
215
public override ImmutableArray<CSharpAttributeData>
GetAttributes
()
Symbols\Retargeting\RetargetingModuleSymbol.cs (1)
276
public override ImmutableArray<CSharpAttributeData>
GetAttributes
()
Symbols\Retargeting\RetargetingNamedTypeSymbol.cs (1)
265
public override ImmutableArray<CSharpAttributeData>
GetAttributes
()
Symbols\Retargeting\RetargetingPropertySymbol.cs (1)
216
public override ImmutableArray<CSharpAttributeData>
GetAttributes
()
Symbols\Source\FieldSymbolWithAttributesAndModifiers.cs (1)
72
public sealed override ImmutableArray<CSharpAttributeData>
GetAttributes
()
Symbols\Source\ImplicitNamedTypeSymbol.cs (1)
34
public override ImmutableArray<CSharpAttributeData>
GetAttributes
()
Symbols\Source\SourceAssemblySymbol.cs (1)
1596
public sealed override ImmutableArray<CSharpAttributeData>
GetAttributes
()
Symbols\Source\SourceClonedParameterSymbol.cs (1)
117
public override ImmutableArray<CSharpAttributeData>
GetAttributes
()
Symbols\Source\SourceEventSymbol.cs (1)
259
public sealed override ImmutableArray<CSharpAttributeData>
GetAttributes
()
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
316
public override ImmutableArray<CSharpAttributeData>
GetAttributes
()
Symbols\Source\SourceModuleSymbol.cs (1)
558
public sealed override ImmutableArray<CSharpAttributeData>
GetAttributes
()
Symbols\Source\SourceNamedTypeSymbol.cs (1)
867
public sealed override ImmutableArray<CSharpAttributeData>
GetAttributes
()
Symbols\Source\SourceParameterSymbol.cs (1)
197
public sealed override ImmutableArray<CSharpAttributeData>
GetAttributes
()
Symbols\Source\SourcePropertySymbolBase.cs (1)
1360
public sealed override ImmutableArray<CSharpAttributeData>
GetAttributes
()
Symbols\Source\SourceTypeParameterSymbol.cs (1)
167
public sealed override ImmutableArray<CSharpAttributeData>
GetAttributes
()
Symbols\SubstitutedEventSymbol.cs (1)
54
public override ImmutableArray<CSharpAttributeData>
GetAttributes
()
Symbols\SubstitutedFieldSymbol.cs (1)
77
public override ImmutableArray<CSharpAttributeData>
GetAttributes
()
Symbols\SubstitutedMethodSymbol.cs (1)
211
public sealed override ImmutableArray<CSharpAttributeData>
GetAttributes
()
Symbols\SubstitutedNamedTypeSymbol.cs (1)
209
public sealed override ImmutableArray<CSharpAttributeData>
GetAttributes
()
Symbols\SubstitutedPropertySymbol.cs (1)
63
public override ImmutableArray<CSharpAttributeData>
GetAttributes
()
Symbols\Synthesized\SynthesizedCollectionBuilderProjectedMethodSymbol.cs (1)
42
public override ImmutableArray<CSharpAttributeData>
GetAttributes
()
Symbols\Synthesized\SynthesizedParameterSymbol.cs (1)
381
public override ImmutableArray<CSharpAttributeData>
GetAttributes
()
Symbols\Tuples\TupleFieldSymbol.cs (1)
136
public override ImmutableArray<CSharpAttributeData>
GetAttributes
()
Symbols\Wrapped\WrappedParameterSymbol.cs (1)
69
public override ImmutableArray<CSharpAttributeData>
GetAttributes
()
Symbols\Wrapped\WrappedTypeParameterSymbol.cs (1)
180
public override ImmutableArray<CSharpAttributeData>
GetAttributes
()
57 references to GetAttributes
Microsoft.CodeAnalysis.CSharp (57)
Binder\Binder.cs (1)
705
leastOverriddenSymbol.
GetAttributes
();
Compiler\ClsComplianceChecker.cs (4)
342
foreach (CSharpAttributeData attribute in symbol.
GetAttributes
())
588
CheckForAttributeWithArrayArgumentInternal(symbol.
GetAttributes
());
695
if (TryGetClsComplianceAttributeLocation(parameters[i].
GetAttributes
(), out attributeLocation))
1187
foreach (CSharpAttributeData data in symbol.
GetAttributes
())
Emitter\Model\SymbolAdapter.cs (1)
100
userDefined = this.
GetAttributes
();
Emitter\NoPia\EmbeddedEvent.cs (1)
73
foreach (var attrData in underlyingContainingType.
GetAttributes
())
Lowering\ClosureConversion\LambdaCapturedVariable.cs (1)
193
foreach (CSharpAttributeData attr in definition.
GetAttributes
())
Lowering\DiagnosticsPass_ExpressionTrees.cs (2)
613
if (!lambda.
GetAttributes
().IsEmpty || !lambda.GetReturnTypeAttributes().IsEmpty)
630
if (!reportedAttributes && !p.
GetAttributes
().IsEmpty)
Lowering\LocalRewriter\LocalRewriter_Event.cs (1)
28
foreach (var attrData in @interface.
GetAttributes
())
Lowering\StateMachineRewriter\StateMachineFieldSymbol.cs (1)
108
foreach (CSharpAttributeData attr in definition.
GetAttributes
())
Lowering\StateMachineRewriter\StateMachineTypeSymbol.cs (2)
57
Debug.Assert(base.
GetAttributes
().Length == 0);
63
foreach (var attribute in kickoffType.
GetAttributes
())
Lowering\StateMachineRewriter\SynthesizedStateMachineMethod.cs (2)
74
Debug.Assert(base.
GetAttributes
().Length == 0);
80
foreach (var attribute in kickoffMethod.
GetAttributes
())
Lowering\SynthesizedMethodBaseSymbol.cs (1)
157
? BaseMethod.
GetAttributes
()
Symbols\EventSymbol.cs (1)
120
this.AssociatedField.
GetAttributes
();
Symbols\Extensions\RewrittenMethodSymbol.cs (1)
92
return _originalMethod.
GetAttributes
();
Symbols\PublicModel\Symbol.cs (1)
122
return StaticCast<AttributeData>.From(UnderlyingSymbol.
GetAttributes
());
Symbols\ReducedExtensionMethodSymbol.cs (1)
462
return _reducedFrom.
GetAttributes
();
Symbols\Retargeting\RetargetingEventSymbol.cs (1)
158
return _underlyingEvent.
GetAttributes
();
Symbols\Retargeting\RetargetingFieldSymbol.cs (1)
80
return this.RetargetingTranslator.GetRetargetedAttributes(_underlyingField.
GetAttributes
(), ref _lazyCustomAttributes);
Symbols\Retargeting\RetargetingMethodSymbol.cs (1)
217
return this.RetargetingTranslator.GetRetargetedAttributes(_underlyingMethod.
GetAttributes
(), ref _lazyCustomAttributes);
Symbols\Retargeting\RetargetingNamedTypeSymbol.cs (1)
267
return this.RetargetingTranslator.GetRetargetedAttributes(_underlyingType.
GetAttributes
(), ref _lazyCustomAttributes);
Symbols\Retargeting\RetargetingParameterSymbol.cs (1)
68
return this.RetargetingModule.RetargetingTranslator.GetRetargetedAttributes(_underlyingParameter.
GetAttributes
(), ref _lazyCustomAttributes);
Symbols\Retargeting\RetargetingPropertySymbol.cs (1)
218
return this.RetargetingTranslator.GetRetargetedAttributes(_underlyingProperty.
GetAttributes
(), ref _lazyCustomAttributes);
Symbols\Retargeting\RetargetingSymbolTranslator.cs (1)
344
foreach (var attrData in type.
GetAttributes
())
Symbols\Retargeting\RetargetingTypeParameterSymbol.cs (1)
67
return this.RetargetingTranslator.GetRetargetedAttributes(_underlyingTypeParameter.
GetAttributes
(), ref _lazyCustomAttributes);
Symbols\Source\ExtensionGroupingInfo.cs (4)
272
if (!typeParams1.SequenceEqual(typeParams2, (p1, p2) => hasSameAttributes(p1.
GetAttributes
(), p2.
GetAttributes
())))
314
if (!hasSameAttributes(parameter1.
GetAttributes
(), parameter2.
GetAttributes
()))
Symbols\Source\SourceMemberContainerSymbol.cs (3)
589
GetAttributes
();
1572
foreach (var attr in symbol.
GetAttributes
())
6282
member.
GetAttributes
();
Symbols\Source\SourceMemberMethodSymbol.cs (1)
914
field.
GetAttributes
();
Symbols\Source\SourceNamedTypeSymbol_Extension.cs (2)
386
appendAttributes(typeParameter.
GetAttributes
(), builder);
403
appendAttributes(extensionParameter.
GetAttributes
(), builder);
Symbols\SubstitutedEventSymbol.cs (1)
56
return OriginalDefinition.
GetAttributes
();
Symbols\SubstitutedFieldSymbol.cs (1)
79
return OriginalDefinition.
GetAttributes
();
Symbols\SubstitutedMethodSymbol.cs (1)
213
return this.OriginalDefinition.
GetAttributes
();
Symbols\SubstitutedNamedTypeSymbol.cs (1)
211
return OriginalDefinition.
GetAttributes
();
Symbols\SubstitutedPropertySymbol.cs (1)
65
return OriginalDefinition.
GetAttributes
();
Symbols\Symbol_Attributes.cs (1)
970
this.
GetAttributes
();
Symbols\SymbolCompletionState.cs (2)
43
/// of <see cref="Symbol.
GetAttributes
"/> will set the part <see cref="CompletionPart.Attributes"/> on
53
_ = symbol.
GetAttributes
();
Symbols\Synthesized\Records\SynthesizedPrimaryConstructorParameterBackingFieldSymbol.cs (1)
75
foreach (CSharpAttributeData attr in ParameterSymbol.
GetAttributes
())
Symbols\Synthesized\SynthesizedCollectionBuilderProjectedMethodSymbol.cs (1)
43
=> this.UnderlyingMethod.
GetAttributes
();
Symbols\Synthesized\SynthesizedParameterSymbol.cs (1)
383
return _baseParameterForAttributes?.
GetAttributes
() ?? ImmutableArray<CSharpAttributeData>.Empty;
Symbols\Synthesized\SynthesizedTypeParameterSymbol.cs (2)
54
foreach (CSharpAttributeData attr in definition.
GetAttributes
())
76
return _underlyingTypeParameter.
GetAttributes
();
Symbols\Tuples\TupleFieldSymbol.cs (2)
138
return _underlyingField.
GetAttributes
();
329
return _underlyingField.
GetAttributes
();
Symbols\TypeSymbol.cs (1)
1991
foreach (var attributeData in implementingSymbol.
GetAttributes
())
Symbols\Wrapped\WrappedParameterSymbol.cs (1)
71
return _underlyingParameter.
GetAttributes
();
Symbols\Wrapped\WrappedTypeParameterSymbol.cs (1)
182
return _underlyingTypeParameter.
GetAttributes
();