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